WordPress editor gone after jQuery Colorbox plugin activated?
A longer explanation of Visual Editor errors is here: http://www.digitalfaq.com/forum/web-...al-editor.html
I wrote that last night, using this same jQuery Colorbox (JCB) problem as an example. In plugins\jquery-colorbox\includes\jquery-colorbox-backend.php, the following code adds jQuery Colorbox to the editor: Code:
//add style selector dropdown to TinyMCE Neither of these are overly important anyway, as best as I can tell. On sites where I'm using this plugin, I have it set to automatically use Colorbox on any image in the post/page, where an image has been linked -- all of which is done in the styling/linking options of the media editor. So I've been entirely sure what benefit comes from having JCB code crammed into the Wordpress visual editor. Hope that helps somebody. :2cents: _______________
|
I just found another error thrown by jQuery Colorbox, when WordPress has debugging enabled:
Code:
Notice: Trying to get property of non-object in X:\...\wp-content\plugins\jquery-colorbox\includes\jquery-colorbox-frontend.php on line 106 Code:
$replacement = '<img$1class=$2$3 colorbox-' . $post->ID . '$4$5>'; Code:
// $replacement = '<img$1class=$2$3 colorbox-' . $post->ID . '$4$5>'; |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.