If you’re using TinyMCE for some kind of web GUI and want to access the current data contained in the textarea using JavaScript, you may have noticed that just getting it will only give you what was loaded into the textarea’s inner content in the HTML. To get the content the user has inputted into the textarea without submitting the form, simply call
tinyMCE.triggerSave(0,1);
This will force tinyMCE to write back its internal data to the form.
0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment