diff --git src/wp-includes/js/tinymce/plugins/wpview/plugin.js src/wp-includes/js/tinymce/plugins/wpview/plugin.js
index 9327859..21f68d3 100644
|
|
|
tinymce.PluginManager.add( 'wpview', function( editor ) { |
| 109 | 109 | |
| 110 | 110 | dom.unbind( selected, 'beforedeactivate focusin focusout click mouseup', _stop ); |
| 111 | 111 | dom.removeClass( selected, 'selected' ); |
| 112 | | |
| 113 | | editor.selection.select( selected.nextSibling ); |
| 114 | | editor.selection.collapse(); |
| 115 | | |
| 116 | 112 | } |
| 117 | 113 | |
| 118 | 114 | selected = null; |
| … |
… |
tinymce.PluginManager.add( 'wpview', function( editor ) { |
| 267 | 263 | // unfortunately, it also inhibits the dragging fo views to a new location |
| 268 | 264 | return false; |
| 269 | 265 | } else { |
| 270 | | if ( event.type === 'click' ) { |
| | 266 | if ( event.type === 'mousedown' ) { |
| 271 | 267 | deselect(); |
| 272 | 268 | } |
| 273 | 269 | } |