1
0
This commit is contained in:
Ian
2014-03-12 20:25:10 +01:00
parent 8c2ec8a565
commit 9b3443dcd6

View File

@ -232,7 +232,7 @@
tinyMCE.execInstanceCommand('serendipity[' + textarea + ']', 'mceInsertContent', false, str);
return;
} else if (typeof(CKEDITOR) != 'undefined') {
oEditor = (isinstance) ? isinstance : CKEDITOR.instances[textarea];
oEditor = (typeof(isinstance) == 'undefined') ? CKEDITOR.instances[textarea] : isinstance;
if (oEditor.mode == "wysiwyg") {
oEditor.insertHtml(str);
return;