Forums

jQuery Colorbox
[resolved] Breaks tinymce visual editor (5 posts)

  1. neonWired
    Member
    Posted 1 year ago #

    For some reason when i have the plugin enabled it breaks the visual editor? Any ideas

  2. techotronic
    Member
    Posted 1 year ago #

    Hi,
    which theme are you using and which plugins are activated?
    Cheers,
    Arne

  3. neonWired
    Member
    Posted 1 year ago #

    It's my own theme but it still happens with the Twenty Ten theme, i've tested all plugins i'm using (listed below) and jquery colorbox was the one that seems to be causing the issue. It actually causes a javacript error when you click the 'visual' button: "cannot call method 'getLength' of null"

    Does this plugin even add any javascript to admin pages?

    • Exclude Pages from Navigation
    • Google XML Sitemaps
    • Headspace 2
    • Insert Link Class Plugin
    • MM Forms Pro
    • NextGEN Gallery
    • Page Menu Editor
    • WordPress Hit Counter
    • YouTube Embed
  4. techotronic
    Member
    Posted 1 year ago #

    Hi,
    actually, "Insert Link Class" breaks the editor since it just adds a flag to the editor without checking whether it's already there.

    I'll write a bug report.

    This is how to temporarily fix it:
    * Log in to your server with an FTP program.
    * Go to your plugin folder, then the insert-link-class-plugin folder
    * open the file "insert-link-class-plugin.php" and find the following line:
    add_filter('mce_buttons_2', array(&$this, 'TinyMCEButtons'), 999);
    and change it to:
    add_filter('mce_buttons_2', array(&$this, 'TinyMCEButtons'));

    Cheers,
    Arne

  5. neonWired
    Member
    Posted 1 year ago #

    You're right, thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic