get right instance for CKE plugin (and nugget textareas)
This commit is contained in:
@ -232,7 +232,7 @@
|
||||
tinyMCE.execInstanceCommand('serendipity[' + textarea + ']', 'mceInsertContent', false, str);
|
||||
return;
|
||||
} else if (typeof(CKEDITOR) != 'undefined') {
|
||||
oEditor = CKEDITOR.instances[textarea];
|
||||
oEditor = (isinstance) ? isinstance : CKEDITOR.instances[textarea];
|
||||
if (oEditor.mode == "wysiwyg") {
|
||||
oEditor.insertHtml(str);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user