Changeset 39334
- Timestamp:
- 11/21/2016 08:14:01 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/tinymce/plugins/wpview/plugin.js
r39299 r39334 94 94 // Replace any new markers nodes with views. 95 95 editor.on( 'setcontent', function( event ) { 96 if ( event.load && ! event.initial ) {97 // Make sure th at the editor is focussed.98 // Mayrefresh the content internally which resets the iframes.99 editor. focus();96 if ( event.load && ! event.initial && editor.quirks.refreshContentEditable ) { 97 // Make sure there is a selection in Gecko browsers. 98 // Or it will refresh the content internally which resets the iframes. 99 editor.quirks.refreshContentEditable(); 100 100 } 101 101
Note: See TracChangeset
for help on using the changeset viewer.