jQuery no conflict needed for Tiny MCE compatibility
-
The file playbuzz-1.1/js/playbuzz-tinymce.js uses jQuery in a conflict mode. If the Playbuzz plugin is active this is producing the JS error
$ is not a function
when users attempt to copy and/or paste content within the Tiny MCE editor.We have successfully applied a local patch for this issue by making two modifications:
Updating line 459:
var text = $( '<textarea />' ).html( e.content ).text();
to
var text = jQuery( '<textarea />' ).html( e.content ).text();
And updating line 472:
var $target = $( e.target );
to
var $target = jQuery( e.target );
- The topic ‘jQuery no conflict needed for Tiny MCE compatibility’ is closed to new replies.