Made pasting to TinyMCE work
This commit is contained in:
parent
e9eeac61df
commit
5671308a02
@ -290,6 +290,8 @@ function serendipity_imageSelector_done(textarea)
|
||||
|
||||
if (typeof(parent.self.opener.htmlarea_editors) != 'undefined' && typeof(parent.self.opener.htmlarea_editors[textarea]) != 'undefined') {
|
||||
parent.self.opener.htmlarea_editors[textarea].surroundHTML(block, '');
|
||||
} else if (typeof(parent.self.opener.TinyMCE) !='undefined') {
|
||||
parent.self.opener.tinyMCE.execCommand('mceInsertRawHTML', true, block);
|
||||
} else if (parent.self.opener.editorref) {
|
||||
parent.self.opener.editorref.surroundHTML(block, '');
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user