Copied to clipboard

Flag this post as spam?

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


  • Maarten Boer 61 posts 82 karma points
    Mar 02, 2010 @ 20:07
    Maarten Boer
    0

    TinyMCE paragraphs

    Hi,

    I'm using a Richtextbox in my template. This comes with TinyMCE functionality.

    When i enter text in the content page and hit <Enter>, there's too much space between the lines.

    Looking at the content  in HTML i see:

    <p>Welcome to my page</p>

    <p>This is just a test...</p> 

    Apperently the paragraph <p> comes standard. Jou can only see this in HTML. I don't want to bother the regular users to check their content in HTML....after all they have no knowledge of HTML. Instead they want to use <br> as well.

    Is there a way arround this ????

     

    Maarten

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Mar 02, 2010 @ 20:16
    Peter Dijksterhuis
    0

    Hi Maarten,

    the behaviour of TinyMCE is similar to MS Word. If you hit enter, you start a new paragraph, if you just want a line-break, you should hit Shift-Enter.

    There's no way around this (not to my knowledge). However, you can change the spacing between paragraphs in CSS. You could make paragraphs have less spacing so that it looks like a break. I'm not sure if this is what you want though.

    Hope this helps,

    Peter

  • Maarten Boer 61 posts 82 karma points
    Mar 04, 2010 @ 19:51
    Maarten Boer
    0

    Thanks Peter... This helps a lot....

     

    Maarten

Please Sign in or register to post replies

Write your reply to:

Draft