• There is a small bug in the TinyMCE editor that has caused me to keep it deactivated, unless and until I need special features it provides. (Like table editing. Thanks!)
    It provides a ton of useful features, though, so it would great if the bug weren’t there.

    The bug occurs for the last paragraph in a post, if that paragraph has an attribute.

    So for <p class=”myclass”>…</p>, what is rendered on screen is:
    <p

    class=”myclass”>…</p>

    In other words, you get two paragraphs, with the tag and it’s attribute displayed, rather than rendered.

    (That affects me, because I apply a small-font “copyright” style to the last line of every post.)

    My workaround for a while was to add an extra paragraph at the end of every post. But that puts a gap between the rendered text and the rest of the page, which doesn’t look all that good.

    Once I identified TinyMCE-advanced as the plugin that was causing the problem, a better solution was to keep it deactivated until I need it, and then be sure to deactivate it again before my final save.

Viewing 1 replies (of 1 total)
  • Plugin Author Andrew Ozz

    (@azaozz)

    Hmm, that’s strange, first time I hear something like this. Can’t reproduce it, moreover the WordPress wpautop code specifically removes line breaks from inside tags.

    Thinking that there may be a conflict with another plugin that is doing something with paragraphs that have attributes, TinyMCE Advanced doesn’t touch there at all.

    Does this happen only with classes or with any attributes? Also, what if you add another block tag there, div, ul, table?

Viewing 1 replies (of 1 total)
  • The topic ‘Small Bug in Final Paragraph’ is closed to new replies.