Member
Member
nicx   2009-04-25, 07:00
#1

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.

Member
Member
sbillard   2009-04-25, 14:49
#2

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.

Administrator
Administrator
acrylian   2009-04-26, 08:48
#3

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.

Member
Member
nicx   2009-04-26, 15:25
#4

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 : '',
Administrator
Administrator
acrylian   2009-04-26, 16:29
#5

As said that is already in the nightly.

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