WordPress.org

Support

Support » Plugins and Hacks » Empty Paragraph for TinyMCE Editor » [Plugin: Empty Paragraph for TinyMCE Editor] Empty Paragraph in TinyMCE editor breaks the visual edi

[Plugin: Empty Paragraph for TinyMCE Editor] Empty Paragraph in TinyMCE editor breaks the visual edi

Viewing 2 replies - 1 through 2 (of 2 total)
  • Based on some digging (but I’m not experienced here) this plug in only works if your WordPress installation is in the root directory. If you have it somewhere else it tries to load some items assuming the root directory and they fail to load.

    I think.

    raleighthings, you are right!

    How to fix this problem.
    Open main plugin file: empty-paragraph-for-tinymce-editor\index.php.
    Line 22:
    $url = trim(get_bloginfo('url'), "/")."/wp-content/plugins/empty-paragraph-for-tinymce-editor/editor_plugin.js";
    change to:
    $url = trim(get_bloginfo('wpurl'), "/")."/wp-content/plugins/empty-paragraph-for-tinymce-editor/editor_plugin.js";

    The difference in get_bloginfo(‘wpurl’) function.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Empty Paragraph for TinyMCE Editor] Empty Paragraph in TinyMCE editor breaks the visual edi’ is closed to new replies.
Skip to toolbar