Removed TinyMCE patch as it is not neccessary anymore.

This commit is contained in:
Grischa Brockhaus 2007-08-06 13:52:46 +00:00
parent 2c9038774f
commit 2f8a08fcd8

View File

@ -290,8 +290,6 @@ 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 {