[Plugin: WYSIWYG Widgets] Fix for WordPress 3.3.1
-
Here is a fix to get the editor working on the latest version of WordPress:
Open /wp-content/plugins/wysiwyg-widgets/backend/js/wysiwyg-widgets.js
Insert new line about line 75 (tinyMCE.execCommand(“mceAddControl”, false, id);)
tinyMCE.init({ mode : "exact", theme : "advanced", theme_advanced_toolbar_location : "top" });
So that code block should now read as:
activate_editor : function (id) { jQuery('#'+id).addClass("mceEditor"); if ( typeof( tinyMCE ) == "object" && typeof( tinyMCE.execCommand ) == "function" ) { WYSIWYG_Widgets.deactivate_editor(id); tinyMCE.init({ mode : "exact", theme : "advanced", theme_advanced_toolbar_location : "top" }); tinyMCE.execCommand("mceAddControl", false, id); } },
- The topic ‘[Plugin: WYSIWYG Widgets] Fix for WordPress 3.3.1’ is closed to new replies.