Page 1 of 1

Edit HTML directly in TinyMCE?

Posted: Fri Oct 13, 2017 9:28 pm
by Charles Butcher
Is there a way to edit HTML in TinyMCE (or MicroTiny) and get the changes to stick? This used to be possible to a degree in CMSms 1.x, thanks to the checkbox that toggled WYSIWYG on and off. As long as I clicked "Submit" while in code view, TinyMCE/MicroTiny would not interfere.

The current popup window for viewing code is less flexible, I think. Some changes to the HTML stick when you revert to WYSIWYG mode. But if you're trying to remove <p>...</p> tags from around a Smarty tag, say, you're out of luck.

I know many people will say this is the wrong approach: "leave WYSIWYG to the content providers, and turn it off if you want to add HTML or Smarty." But I have to do both jobs, and the old checkbox was a useful kludge. If anyone has a workaround, I'd appreciate it.