Apologies if this is a stupid question but I have researched it and have drawn a blank.
I want to stop the WordPress Advanced TinyMCE plugin inserting tags all over and I know that the answer is to add this
tinyMCE.init({
invalid_elements : "span"
});
to the init file. My problem is that /public_html/wp-includes/js/tinymce/tiny_mce.js appears to be minified and I have no idea where to add my few lines of code.
Can anyone please help?
Try the filter tiny_mce_before_init check it out in the Wordpress Codex Also check out this
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With