Topic: Can I dynamically enable/disable TinyMCE?
how can I dynamically enable/disable a TinyMCE instance? I've spent the whole
day on that, but cannot find a real solution.
'disabled = true' or 'readonly = true' don't seem to work. I can enable/disable
the text area with
ed.execCommand("contentReadOnly", false, flg);
but then still the Toolbar buttons can be operated. I can handle the individual
but this is not a good way if there are 40 buttons, right? Isn't there a way to
directly disable the whole Toolbar or, even better, the whole TinyMCE instance?
If so, what is the right way to give a visual feedback? Can it be dimmed or
grayed, like other components, e.g. by using some style?