- Timestamp:
- 01/31/2008 06:10:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/tinymce/plugins/fullscreen/fullscreen.htm
r6689 r6694 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 1 2 <html xmlns="http://www.w3.org/1999/xhtml"> 2 3 <head> 3 <title> {$lang_fullscreen_title}</title>4 <title></title> 4 5 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 5 6 <script type="text/javascript" src="../../tiny_mce.js"></script> … … 70 71 return false; 71 72 } 72 73 function init() {74 var e = document.getElementById('fullscreenarea');75 e.value = window.opener.tinyMCE.activeEditor.getContent({format : 'raw'});76 settings['width'] = e.clientWidth;77 settings['height'] = e.clientHeight;78 tinyMCE.init(settings);79 }80 73 </script> 81 74 <base target="_self" /> 82 75 </head> 83 <body onload="init();" style="margin:0; overflow:hidden; height:100%;" scrolling="no" scroll="no">84 <form onsubmit="doParentSubmit();" style="height: 100%">76 <body style="margin:0;overflow:hidden;width:100%;height:100%" scrolling="no" scroll="no"> 77 <form onsubmit="doParentSubmit();"> 85 78 <textarea id="fullscreenarea" style="width:100%; height:100%"></textarea> 86 79 </form> 80 81 <script type="text/javascript"> 82 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; 86 tinyMCE.init(settings); 87 </script> 88 87 89 </body> 88 90 </html>
Note: See TracChangeset
for help on using the changeset viewer.