Ticket #29380: 29380.patch
File 29380.patch, 804 bytes (added by , 10 years ago) |
---|
-
wp-includes/js/tinymce/plugins/wpview/plugin.js
647 647 648 648 editor.on( 'BeforeExecCommand', function() { 649 649 var node = editor.selection.getNode(), 650 view;650 before, view; 651 651 652 if ( node && ( node.className === 'wpview-selection-before'|| node.className === 'wpview-selection-after' ) && ( view = getView( node ) ) ) {653 handleEnter( view );652 if ( node && ( ( before = node.className === 'wpview-selection-before' ) || node.className === 'wpview-selection-after' ) && ( view = getView( node ) ) ) { 653 handleEnter( view, before ); 654 654 execCommandView = view; 655 655 } 656 656 });