WYSIWYG editor for album and image description

Hi, is there a way to include WYSIWYG editor like the one on zenpage but for album and/or image description. Either on frontend or backend would be great.
Thanx

Comments

  • acrylian Administrator, Developer
    Already there in the nightly, but the tiny_mce plugin folder that is included in the Zenpage package needs to be present.
  • thank you very much Mr. Acrylian :-)
  • Just one thing about it :
    I can't get any line feed in my album descriptions using the editor even if I choose html mode and add some . This is never displayed.
    I use zenphoto version 1.2.1 [2941]
  • acrylian Administrator, Developer
    Actually you should get line breaks using the enter key. If you mean line feeds like `/n` that probably will not work and are not necessary since that editor produces (x)html and clears out things itself. You probably can configure it differently. Please refer to the editor's documentation on http://wiki.moxiecode.com/index.php/TinyMCE:Index
    There you also find a list of all supported browsers.

    Also you can disable that editor by removing the file `editor_config.js.php` from `zp-core/js`.
  • In addition, your `allowed tags` must include any html you want to use otherwise it will be eliminated.
  • Hum, sorry there was a typo in my previous message.
    I meant "even if I choose html mode and add some < br />"

    > Acrylian, sorry but I have no line breaks with the enter key. This is automatically cleaned by the editor while saving.
    Anyway :
    > Stephen, yes that did the trick ! I just added br => () in my allowed tags and now it works !

    Thank you guys !
Sign In or Register to comment.