Make WordPress Core

Changeset 31738


Ignore:
Timestamp:
03/11/2015 11:32:44 PM (12 years ago)
Author:
azaozz
Message:

TinyMCE: remove blocking of commands on placeholder images. Breaks some execCommand.
Props iseulde. Fixes #31571.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js

    r31732 r31738  
    962962        });
    963963
    964         editor.on( 'beforeexeccommand', function( event ) {
    965                 if ( isPlaceholder( editor.selection.getNode() ) ) {
    966                         event.preventDefault();
    967                 }
    968         } );
    969 
    970964        // Add to editor.wp
    971965        editor.wp = editor.wp || {};
Note: See TracChangeset for help on using the changeset viewer.