Changeset 33592
- Timestamp:
- 08/06/2015 09:34:16 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js
r33527 r33592 558 558 currentSelection, 559 559 timeout, 560 container = editor.getContainer(), 560 561 wpAdminbar = document.getElementById( 'wpadminbar' ), 561 562 mceIframe = document.getElementById( editor.id + '_ifr' ), 562 mceToolbar = tinymce.$( '.mce-toolbar-grp', editor.getContainer() )[0],563 mceStatusbar = tinymce.$( '.mce-statusbar', editor.getContainer() )[0],563 mceToolbar, 564 mceStatusbar, 564 565 wpStatusbar; 566 567 if ( container ) { 568 mceToolbar = tinymce.$( '.mce-toolbar-grp', container )[0]; 569 mceStatusbar = tinymce.$( '.mce-statusbar', container )[0]; 570 } 565 571 566 572 if ( editor.id === 'content' ) { … … 703 709 windowWidth = window.innerWidth, 704 710 windowHeight = window.innerHeight, 705 iframeRect = mceIframe.getBoundingClientRect(), 711 iframeRect = mceIframe ? mceIframe.getBoundingClientRect() : { 712 top: 0, 713 right: windowWidth, 714 bottom: windowHeight, 715 left: 0, 716 width: windowWidth, 717 height: windowHeight 718 }, 706 719 toolbar = this.getEl(), 707 720 toolbarWidth = toolbar.offsetWidth,
Note: See TracChangeset
for help on using the changeset viewer.