- Timestamp:
- 02/21/2008 09:40:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/tinymce/plugins/fullscreen/fullscreen.htm
r6694 r6959 44 44 settings['fullscreen_editor_id'] = window.opener.tinyMCE.activeEditor.id; 45 45 settings['theme_advanced_resizing'] = false; 46 settings['strict_loading_mode'] = true; 47 48 settings.save_onsavecallback = function() { 49 window.opener.tinyMCE.activeEditor.setContent(tinyMCE.get('fullscreenarea').getContent({format : 'raw'}), {format : 'raw'}); 50 window.opener.tinyMCE.activeEditor.execCommand('mceSave'); 51 window.close(); 52 }; 46 53 47 54 function unloadHandler(e) { … … 50 57 51 58 function moveContent() { 52 window.opener.tinyMCE.activeEditor.setContent(tinyMCE.activeEditor.getContent( {format : 'raw'}));59 window.opener.tinyMCE.activeEditor.setContent(tinyMCE.activeEditor.getContent()); 53 60 } 54 61 … … 81 88 <script type="text/javascript"> 82 89 var e = document.getElementById('fullscreenarea'); 83 e.value = window.opener.tinyMCE.activeEditor.getContent( {format : 'raw'});84 settings ['width']= window.innerWidth || document.body.clientWidth;85 settings ['height'] = (window.innerHeight || document.body.clientHeight) - 18;90 e.value = window.opener.tinyMCE.activeEditor.getContent(); 91 settings.width = window.innerWidth || document.body.clientWidth; 92 settings.height = (window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight) - 18; 86 93 tinyMCE.init(settings); 87 94 </script>
Note: See TracChangeset
for help on using the changeset viewer.