Title: [Plugin: jQuery Colorbox] Breaks tinymce visual editor
Last modified: August 20, 2016

---

# [Plugin: jQuery Colorbox] Breaks tinymce visual editor

 *  Resolved [neonWired](https://wordpress.org/support/users/neonwired/)
 * (@neonwired)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-jquery-colorbox-breaks-tinymce-visual-editor/)
 * For some reason when i have the plugin enabled it breaks the visual editor? Any
   ideas

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [techotronic](https://wordpress.org/support/users/techotronic/)
 * (@techotronic)
 * [15 years ago](https://wordpress.org/support/topic/plugin-jquery-colorbox-breaks-tinymce-visual-editor/#post-2083893)
 * Hi,
    which theme are you using and which plugins are activated? Cheers, Arne
 *  Thread Starter [neonWired](https://wordpress.org/support/users/neonwired/)
 * (@neonwired)
 * [15 years ago](https://wordpress.org/support/topic/plugin-jquery-colorbox-breaks-tinymce-visual-editor/#post-2083895)
 * 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
 *  Plugin Contributor [techotronic](https://wordpress.org/support/users/techotronic/)
 * (@techotronic)
 * [15 years ago](https://wordpress.org/support/topic/plugin-jquery-colorbox-breaks-tinymce-visual-editor/#post-2084010)
 * 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
 *  Thread Starter [neonWired](https://wordpress.org/support/users/neonwired/)
 * (@neonwired)
 * [15 years ago](https://wordpress.org/support/topic/plugin-jquery-colorbox-breaks-tinymce-visual-editor/#post-2084029)
 * You’re right, thanks

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: jQuery Colorbox] Breaks tinymce visual editor’ is closed to 
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jquery-colorbox_848c98.svg)
 * [jQuery Colorbox](https://wordpress.org/plugins/jquery-colorbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jquery-colorbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jquery-colorbox/)
 * [Active Topics](https://wordpress.org/support/plugin/jquery-colorbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jquery-colorbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jquery-colorbox/reviews/)

## Tags

 * [tinymce](https://wordpress.org/support/topic-tag/tinymce/)
 * [visual editor](https://wordpress.org/support/topic-tag/visual-editor/)

 * 4 replies
 * 2 participants
 * Last reply from: [neonWired](https://wordpress.org/support/users/neonwired/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/plugin-jquery-colorbox-breaks-tinymce-visual-editor/#post-2084029)
 * Status: resolved