• Hi, i have some issues with p tags, they appear after i insert a div tag within the editor

    Code within the editor as example
    Before Saving

    <p><div class="ad_%%position%%_300-250">Test</div>Lorem ipsum dolor sit amet, consetetur sadipscing elitr,

    After saving

    <p>
    <div class="ad_%%position%%_300-250">Test</div>
    <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr,

    The result of this is a new line break in the article.

    Have someone an idea how this can happen?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Which version of the editor are you using, Visual or Text?

    Thread Starter Theunknown1

    (@deexgnome)

    Hi Jeff,

    i tried it both ways. First i added a shortcot in the rich editor that inserts a div inline block from the edtior. I clicked in the text before the first word of a line and added this code. After i saw that it put its after saving in a new line, i tried the code editor, the result was the same.

    So i thought maybe its a issue with Tiny MCE Advanced and deactivatet it. I added a div by hand (Like the example above) inside the code editor. The result was again the same. He grabs the div and put a p tag before.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘P Tag appears after inserting a div’ is closed to new replies.