Support » Fixing WordPress » Clearing Formatting and Line Breaks

  • While posting, if I create a paragraph, and I “left-align” an image, or “right-align” an image to the first letter of the paragraph, the text properly wraps around the image. If the text of the paragraph is just a few words that never use up the height of the picture, and therefore never wrap, how do I, after the last word of the paragraph, clear the formatting so I can start a new paragraph with an aligned left, or right image, without the pictures aligning to themselves?

    I have been adding br clear=”all” after the text, but when I save the post, the code is written, but is also stripped from the editor for the next edit.

    How do I force a format clearing?

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi

    (@esmi)

    Forum Moderator

    You’d need to use the HTML tab for post creation/editing – not the Visual Editor. If the image is left-aligned, the next paragraph should be preceded by <br style="clear:left;" />. If it’s right-aligned, use <br style="clear:right;" />.

    When I do that, it works, but if I come back to the page to edit, the styling code has been eliminated, forcing me to add it every time I update a page.

    Trestkon

    (@trestkon)

    Sorry to bump this back up, but I’m having the exact same problem and was wondering if there was a solution.

    alism

    (@alism)

    Err, yes…

    You’d need to use the HTML tab for post creation/editing – not the Visual Editor.

    Don’t use the visual editor at all to edit those posts. Not even for a quick sneaky peek. The second you do, it’ll strip any additional code right out.

    Err, yes…

    You’d need to use the HTML tab for post creation/editing – not the Visual Editor.

    Don’t use the visual editor at all to edit those posts. Not even for a quick sneaky peek. The second you do, it’ll strip any additional code right out.

    Err, Why?

    Most code stays so why not <br clear=”all”> as Arretx asked.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Clearing Formatting and Line Breaks’ is closed to new replies.