On a multi-tab page, some submit tabs process the contents of other tabs through ajaxSubmit . If another tab has active tinyMCE changes, what should I do on this tab before replacing its contents, and what should I do (if any) after replacing?
Currently, the code is executing tinyMCE.execCommand("mceRemoveControl", true, ed_id); for all editors on the target tab and relies on the normal functionality of the system to return them after the change. Is that all that is needed? After the change, I experience vague exceptions in tinyMCE code, but it's hard to find the cause.
SCRIPT5022 error itself: IndexSizeError is tiny_mce.js (1,78075), but I doubt it is especially relevant.
TinyMCE v3.4.5
javascript jquery ajax tabs tinymce-3
Oldcurmudgeon
source share