Support » Fixing WordPress » Pragraph formatting vanishes in visual editor

  • Andrei

    (@thequietdream)


    Hello,

    I’ve recently downloaded and installed WP 3.1.1 and I keep running into this issue: I use <p align=”justify”> paragraphs to format my paragraphs in the html editor but when I switch to visual, the formatting dissapears!

    Is there something I can do to fix this? Or perhaps disable the visual editor altogether?

    Thanks!

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

    (@esmi)

    Forum Moderator

    Don’t switch tabs. Disabling the visual editor altogether would be a good idea.

    Chip Bennett

    (@chipbennett)

    Esmi’s suggestion is the way to go. Switching between editors, unless you know how to custom-configure the Visual editor, is fraught with problems.

    But, if you must, use <p style="text-align:justify">.

    The problem is that align is not a valid attribute. You need to use the valid attribute text-align.

    Better yet: edit your Theme’s style.css to apply text-align:justify; to post-entry paragraphs.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pragraph formatting vanishes in visual editor’ is closed to new replies.