we’re using here a textarea in a form which can be switched to a tinymce-richtexteditor. This is a part of a bit more complex system and it works fine. But…
For some reasons the system adds javascriptevents dynamically on selected formelements and I want to use them too, if the field is in RTE-modus and I need the same interface to get the value.
How can I do that?
You will need to call
tinymce.triggerSave().This writes the tinymce editor content back to the original form field.