Member
Member
enes   27-10-2008, 12:30
#1

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

Administrator
Administrator
acrylian   27-10-2008, 12:46
#2

Already there in the nightly, but the tiny_mce plugin folder that is included in the Zenpage package needs to be present.

Member
Member
enes   27-10-2008, 18:02
#3

thank you very much Mr. Acrylian :-)

Member
Member
flu   24-11-2008, 17:10
#4

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]

Administrator
Administrator
acrylian   24-11-2008, 17:50
#5

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.

Member
Member
sbillard   24-11-2008, 19:13
#6

In addition, your allowed tags must include any html you want to use otherwise it will be eliminated.

Member
Member
flu   25-11-2008, 16:37
#7

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 !

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.