diff -r 51386f1852b8 -r f26a69c40431 includes/clientside/tinymce/plugins/fullscreen/fullscreen.htm
--- a/includes/clientside/tinymce/plugins/fullscreen/fullscreen.htm Thu Mar 06 20:45:46 2008 -0500
+++ b/includes/clientside/tinymce/plugins/fullscreen/fullscreen.htm Thu Mar 06 20:47:11 2008 -0500
@@ -64,9 +64,6 @@
window.close();
}
- // Add onunload
- tinymce.dom.Event.add(window, "beforeunload", unloadHandler);
-
function doParentSubmit() {
moveContent();
@@ -77,6 +74,27 @@
return false;
}
+
+ function render() {
+ var e = document.getElementById('fullscreenarea'), vp, ed, ow, oh, dom = tinymce.DOM;
+
+ e.value = window.opener.tinyMCE.activeEditor.getContent();
+
+ vp = dom.getViewPort();
+ settings.width = vp.w;
+ settings.height = vp.h - 15;
+
+ tinymce.dom.Event.add(window, 'resize', function() {
+ var vp = dom.getViewPort();
+
+ tinyMCE.activeEditor.theme.resizeTo(vp.w, vp.h);
+ });
+
+ tinyMCE.init(settings);
+ }
+
+ // Add onunload
+ tinymce.dom.Event.add(window, "beforeunload", unloadHandler);
@@ -86,11 +104,7 @@