Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Manos Gatsios 21 posts 41 karma points
    Nov 15, 2010 @ 16:16
    Manos Gatsios
    0

    Rich text editor issue!

    Hi all,

    Any idea why the rich text editor (tinymce) will add extra line breaks (br) at the end of each line after upgrading from 4.0.3 to 4.5.2 ?

    Any suggestions will be really appreciated...

    Manos

     

  • Brendan Rice 538 posts 1100 karma points
    Nov 17, 2010 @ 15:26
    Brendan Rice
    0

    There is a config file that comes with the TinyMCE editor in Umbraco config/TinyMCE.config  you might find a setting in there that would help you.

    Here is a wiki with all the TinyMCE settings in it:

    http://wiki.moxiecode.com/index.php/TinyMCE:Configuration

  • Manos Gatsios 21 posts 41 karma points
    Nov 17, 2010 @ 15:48
    Manos Gatsios
    0

    Hi Brendan,

    Thanks for this, I was already digging into that file.

    I guess I should be looking at the "force_br_newlines" setting which is probably equivalent to setting the property convertLineBreaks in a field item.

    But I am still puzzled because the same code never produced those extra BRs when was running under the 4.0.3 version.

    The only explanation I can think of is that the default tinyMCE settings have been altered in the new version.

    Anyway thanks again for your reply.

     

  • Brendan Rice 538 posts 1100 karma points
    Nov 17, 2010 @ 16:03
    Brendan Rice
    0

    No worries hope it helps.

Please Sign in or register to post replies

Write your reply to:

Draft