Changeset 42430
- Timestamp:
- 01/08/2018 08:20:00 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/editor.js
r42411 r42430 696 696 function findBookmarkedPosition( editor ) { 697 697 // Get the TinyMCE `window` reference, since we need to access the raw selection. 698 var TinyMCEW Indow = editor.getWin(),699 selection = TinyMCEW Indow.getSelection();700 701 if ( selection.rangeCount <= 0) {698 var TinyMCEWindow = editor.getWin(), 699 selection = TinyMCEWindow.getSelection(); 700 701 if ( ! selection || selection.rangeCount < 1 ) { 702 702 // no selection, no need to continue. 703 703 return;
Note: See TracChangeset
for help on using the changeset viewer.