Ok, I’ve seen solutions which go halfway to sorting out this problem, but nothing definitive, and nothing that 100% solves my problem.
Scenario:
- In HTML mode, I add some javascript to a post I’m editing.
- I switch to Visual, then back to HTML, and the tag and all of its content are gone.
How do I stop this from happening? I’ve tried adding custom code to my functions.php trying to access the extended_valid_elements for TinyMCE, but nothing works.
Please help!