Ticket #31571: 31571.4.patch
File 31571.4.patch, 545 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js
1220 1220 } 1221 1221 }); 1222 1222 1223 editor.on( 'beforeexeccommand', function( event ) {1224 if ( isPlaceholder( editor.selection.getNode() ) ) {1225 event.preventDefault();1226 }1227 } );1228 1229 1223 return { 1230 1224 _do_shcode: parseShortcode, 1231 1225 _get_shcode: getShortcode