possible to disable texteditor in description field under edit?

Is it possible to disable the texteditor (the javascript enabled html editing capabilities) for the description field for both images and albums?

I personally consider this a huge step in the wrong direction. The field should contain the description data only - not presentational html. It should be styled with CSS through the theme. As it stands, it creates invalid mark-up (in at least the default theme) by placing block level elements in spans.

At the very least an option should be made to allow no formatting (it seems to default to paragraph tags).

Any comment on why the change was made or how to disable (or better yet, remove) the editor?

Thanks

Comments

  • remove the file `editor_config.js.php` from the zp-core/js/ folder
  • acrylian Administrator, Developer
    Additionally it is quite possible to reconfigure the editor, TinyMCE, to your own liking. Info on that here: http://wiki.moxiecode.com/index.php/TinyMCE:Index

    I don't think that it is a step in the wrong direction. Not everyone uses ZEnphoto as a pure simple gallery, there are even "real portfolio" sites out there. It should be left to the user if he wants plain text or something else.

    We will see that we get the toggle button into that like on Zenpage, too.
  • Thank-you both for the information.

    acrylian, I still respectfully disagree with you. I believe that the styling or mark-up should not be introduced at this level. I feel it should be changed in the theme template and CSS. But at the very least (as you point out) it should be left to the user to decide if he wants plain text (which I couldn't find a way of doing). At any rate I think this goes against Zenphoto's 'simplest' mantra.

    But, thank-you again and thanks for all the work you do for what I still believe is the best photo gallery on the web.
  • acrylian Administrator, Developer
    Generally I agree with you that the general theme css should style the overall text appareance. That is why we actually stripped out most of TinyMCEs options from the description and usage ones

    Also think of users that want to add a simple link to the description or highlight a word bold. I bet you also know people who will be totally overwhelmed if you request them to do that with plain html

    Btw, it has been user request to add such an editor in the first place.But Zenphoto is not only about being "simple" to use but also being "flexible". That is why you can easily disable it (this does not affect Zenpage btw). or reconfigure the editor to your liking.
Sign In or Register to comment.