ZenphotoCMS Forum
Visual editor for the description - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Visual editor for the description (/thread-5093.html)



Visual editor for the description - nicx - 2009-04-25

Hello,

I'm not sure if this is a "bug". However: the visual editor for Gallery description (admin panel -> gallery configuration -> Gallery description field) is really bad so far. It always add `and
` tags around the text. Using the HTML-button doesn't help so I can't transform it in simple text.




Visual editor for the description - sbillard - 2009-04-25

That is something you can configure in the tinyMCE editor. There was another discussion on this somewhere in the forum. I don't have time to search for it at the moment.




Visual editor for the description - acrylian - 2009-04-26

It is not a bug but default configuration of TinyMCE (what this editor is called). Please try the nightly, that has been corrected for Zenphoto.

Also you can always configure theTinyMCE to your own liking by changing the zp-core/js/editor_config.js.php. Info about that on the TinyMCE site.




Visual editor for the description - nicx - 2009-04-26

Thanks!

So here is the solution of my problem... if anyone else needs. [b]How to remove the automatic tags[/b]:

  1. Open zp-core/js/editor_config.js.php file;
  2. Edit the existing line force_br_newlines : true, (you need it "true", it's "false" by default);
  3. Add a new line - forced_root_block : '',



Visual editor for the description - acrylian - 2009-04-26

As said that is already in the nightly.