TinyMCE: remove blocking of commands on placeholder images. Breaks some execCommand.

Props iseulde. Fixes #31571.

git-svn-id: https://develop.svn.wordpress.org/trunk@31738 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2015-03-11 23:32:44 +00:00
parent 962ba7c52e
commit 6d9c5ea526
1 changed files with 0 additions and 6 deletions

View File

@ -961,12 +961,6 @@ tinymce.PluginManager.add( 'wpeditimage', function( editor ) {
}
});
editor.on( 'beforeexeccommand', function( event ) {
if ( isPlaceholder( editor.selection.getNode() ) ) {
event.preventDefault();
}
} );
// Add to editor.wp
editor.wp = editor.wp || {};
editor.wp.isPlaceholder = isPlaceholder;