https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11583 --- Comment #14 from David Cook <dcook@prosentient.com.au> --- I tried out my ideas of extracting the problematic tokens and replacing with a safe token, letting TinyMCE init, and then replacing the safe tokens with the problematic tokens, but there doesn't seem to be a simple supported way of doing that without re-processing the content. -- The best bet might be to have the separate tabs. Say a CodeMirror on one tab, and a TinyMCE on another tab, and keep them synchronized, and use "protect" to stop TinyMCE from interfering with Template::Toolkit and <<>> notice syntax. That said... that's still going to be super error-prone, as TinyMCE is a pretty blunt instrument, which loves to mangle content. -- I vaguely recall someone wanting to support Mustache syntax instead of Template::Toolkit in the notices. But.. I think TinyMCE's messing with formatting would still be problematic. -- I don't know. The more I look at this, the more impossible it seems. We could do nicer previews, but I don't know about using a WYSIWYG editor... at least not with the complexity of notice templates we support. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.