• Hello.

    I insert html markup in the text editor.
    When i save and switch back to the visual editor there are p tags around some inline html tags (seen with Firebug). The WP database has the correct HTML markup.
    How can I get WordPress to display the correct markup in the visual editor.

    The Markup in the text editor an in the DB:

    <h2>Lorem<br />  ipsum</h2>
    <br />
    <strong>dolor sit amet</strong>
    <br /><br />

    And this is the markup in the visual editor:

    <h2>Lorem<br />  ipsum</h2>
    <p>
    <br>
    <strong>dolor sit amet</strong>
    </p>

Viewing 1 replies (of 1 total)
  • Don’t switch editing tabs. That’s the fastest way to remove some (or all) of your markup. Pick a tab and stick to it.

Viewing 1 replies (of 1 total)
  • The topic ‘Visual Editor show p tag’ is closed to new replies.