mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Fix JS error in Press This, props greuben, fixes #17501
git-svn-id: http://svn.automattic.com/wordpress/trunk@18155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4fc66df097
commit
55c55c8f7d
@ -366,7 +366,6 @@ var photostorage = false;
|
||||
function append_editor(text) {
|
||||
if ( '' != text && tinyMCE.activeEditor && ! tinyMCE.activeEditor.isHidden()) {
|
||||
tinyMCE.execCommand('mceSetContent', false, tinyMCE.activeEditor.getContent({format : 'raw'}) + '<p>' + text + '</p>');
|
||||
tinyMCE.execCommand('mceCleanup');
|
||||
} else {
|
||||
insert_plain_editor(text);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user