• fattymattybrewing

    (@fattymattybrewing)


    When I use the hard return button, the plugin just adds a` <div style=”margin-top: 20px;”>

    ?` tag wrapped around my page content, when the page is saved it does not work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author kb_unhammer

    (@kb_unhammer)

    Huh, I wonder where that would come from, the code adds no divs at all. Do you have any other plugins installed which might interfere?

    If you’d like to help debug this, go into your Plugins list, and click the “Edit” link under this plugin, then select the file “empty-paragraph-for-tinymce-editor/editor_plugin.js” from the right-hand list.

    The second line of that file should say
    return "<p>?&nbsp;</p>";

    Try changing that to e.g. a one-pixel dot:

    return "<p style="font-size:1px;">.</p>";

    and see if that works. If the one-pixel dot works for more people than the empty unicode character, then we’ll just have to change the plugin to do that ??

    Plugin Author kb_unhammer

    (@kb_unhammer)

    Just uploaded 0.9.2, let me know if that works ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Empty Paragraph for TinyMCE Editor] plugin just adds a div tag around my content’ is closed to new replies.