Visual editor for the description

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.

Comments

  • 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.
  • acrylian Administrator, Developer
    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.
  • nicx Member
    Thanks!

    So here is the solution of my problem... if anyone else needs. How to remove the automatic <p> tags:

    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 : '',`
  • acrylian Administrator, Developer
    As said that is already in the nightly.
Sign In or Register to comment.