Changeset 29273
- Timestamp:
- 07/22/2014 09:52:02 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/tinymce/plugins/wpview/plugin.js
r29246 r29273 120 120 } 121 121 122 // Make sure that the editor is focused. 123 // It is possible that the editor is not focused when the mouse event fires 124 // without focus, the selection will not work properly. 125 editor.getBody().focus(); 126 122 127 deselect(); 123 128 selected = viewNode; … … 134 139 dom.bind( clipboard, 'beforedeactivate focusin focusout', _stop ); 135 140 dom.bind( selected, 'beforedeactivate focusin focusout', _stop ); 136 137 // Make sure that the editor is focused.138 // It is possible that the editor is not focused when the mouse event fires139 // without focus, the selection will not work properly.140 editor.getBody().focus();141 141 142 142 // select the hidden div
Note: See TracChangeset
for help on using the changeset viewer.