correct work with new tinymce in wordpress 3.9
-
wstb-dialog.js in wp-content/wp-special-textboxes/js
find:
var contentObj = tinyMCE.getInstanceById('content'); var wstbBody = contentObj.selection.getContent();replace it with code:
var wstbBody = window.tinyMCE.activeEditor.selection.getContent();find:
window.tinyMCE.execInstanceCommand('content', 'mceInsertContent', false, wstbCode);replace it with code:
window.tinymce.activeEditor.execCommand('mceInsertContent', false, wstbCode);
The topic ‘correct work with new tinymce in wordpress 3.9’ is closed to new replies.