• I’m trying to spacing objects in a page using new lines, but the editor strip them.
    I’ve tried directly in html to add
    or <p></p> but these are all removed when you do a Visual->HTML->Visual.

    Is there a mode to don’t let the editor to remove empty paragraph or new lines?

Viewing 10 replies - 16 through 25 (of 25 total)
  • I’m new to all this, but just messing around I found that
    <br> </br>
    seemed to work for me.

    shmk,

    I have been dealing with this for months. I still have not found a good solution. Has anybody found a good way to insert empty lines?

    jjw_uk, I have tried <br> </br> and it works when I go back into Visual from HTML but if I go back into HTML the editor strips the
    </br> out and it moves my empty lines up.

    shmk, a really lame solution I invented (but works for me) is to make a dash mark (or any symbol for that matter) and then turn it white. This only works if you have a white background behind your text. So if I want 6 empty lines I will make a white symbol, enter, white symbol, enter… etc. 6 times.

    I have never noticed this before but now you mention it it is stupid. If the user adds a line it is because they want it. Why would the editor decide that you don’t really want it and remove it. That is the sort of dumb thing Microsoft software does.

    harpster

    (@harpster)

    I agree it is annoying… however you can do this and it works great. Change the height as needed.

    <br style=”height:4em” />

    Thread Starter ShMk

    (@shmk)

    Thanks for the tip harpster but I need a solution for people that doesn’t know HMTL at all, so a solution for the “Visual” part of the editor ??

    harpster

    (@harpster)

    I haven’t tried the TinyMCE Advanced Plugin but check out this link – maybe that will work for you. https://rubayathasan.com/wordpress/plugin/enabling-line-break-in-wordpress/

    I’m still researching this and I think a good way to solve this is to have TinyMCE put in the <br style=”height:4em” /> in place of a normal
    . Alternatively maybe a css style can be added to the editor to force that styled
    tag. If find something that works I’ll post back. -A

    Thread Starter ShMk

    (@shmk)

    Where is the wordpress site page where we could ask for new features? …

    Try posting in the Requests & Feedback forum.

    Hi all,
    I have tried lots of things so far and all I can state is:
    1) the problem of spacing is somehow related to the presence of images;
    2) different solutions respond differently maybe depending on what plugins are loaded in the site.

    The following attempts did work for me in some instances:

    1) Using the TinyMCE Advanced editor plugin and selecting the option “Stop removing the <p> and
    tags when saving and show them in the HTML editor” in the preferences;

    2) In the editor with Html mode on manually inserting “<br class=”spacer_” />”

    Hope it helps.

    If what you’re looknig to do is mainly add more space between paragraphs, I found this helpful:

    Space between para’s:

    <div style=”margin-top: 125px;”>
    Paragraph content goes here.
    </div>

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘Insert empty lines in edtior’ is closed to new replies.