Within our CMS, our users can edit error messages for forms using TinyMCE. The problem is, some of these messages may require dynamic data, e.g. \"Your chosen name \'X\' i
After trying about 100 different work arounds, we finally found a solution which works (for our needs anyway).
We're inserting a disabled button with all the styles removed. For example,
And then adding some code to onGetContent() to convert the input to plain text.
This solution, although not very elegant,
Edit: This is what we ended up with.