WordPress.org

Ready to get started?Download WordPress

Forums

editor is adding tags instead of tags (1 post)

  1. jamieb7210
    Member
    Posted 1 year ago #

    I've been typing directly into the HTML view in the editor for a while, and someone else just tried typing using the WYSIWYG view. The editor is wrapping new lines in <div> tags rather than the default <p> tags. So instead of copy outputting like this

    <p>This is one line.</p>
    <p>This is another line!</p>

    it's doing this:

    <div>This is one line.</div>
    <div>This is another line!</div>

    It's breaking the structure of the site. Anyone have any idea why this might be happening?

Topic Closed

This topic has been closed to new replies.

About this Topic