diff --git a/tinymce-single/blocks.js b/tinymce-single/blocks.js index a3bfcf1a088487..4cc58dc0b70a48 100644 --- a/tinymce-single/blocks.js +++ b/tinymce-single/blocks.js @@ -49,9 +49,6 @@ }, getSelectedBlocks: function() { var editor = window.tinyMCE.activeEditor; - - editor.selection.explicitRange = null; - var selection = window.getSelection(); var startNode = editor.selection.getStart(); var endNode = editor.selection.getEnd(); diff --git a/tinymce-single/tinymce/block.js b/tinymce-single/tinymce/block.js index 1d7fab8c616b31..e8edcb6d319f39 100644 --- a/tinymce-single/tinymce/block.js +++ b/tinymce-single/tinymce/block.js @@ -51,16 +51,6 @@ editor.on( 'preinit', function() { var DOM = tinymce.DOM; - editor.on( 'mousedown click', function( event ) { - if ( event.target.getAttribute( 'contenteditable' ) === 'true' ) { - if ( event.target !== editor.selection.getNode() ) { - setTimeout( function() { - editor.selection.placeCaretAt( event.clientX, event.clientY ); - }, 50 ); - } - } - }, true ); - editor.addButton( 'block', { icon: 'gridicons-posts', tooltip: 'Add Block',