From ffc27a337fbdf75e6b23e44aabd1ecd8d8dc9866 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 11 Aug 2010 12:14:05 -0700 Subject: [PATCH] TinyMCE: add fullscreen zoom plugin for editor (a bit awkward but better than trying to work in tiny area... need a nicer intermediate size maybe) --- plugins/TinyMCE/TinyMCEPlugin.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/TinyMCE/TinyMCEPlugin.php b/plugins/TinyMCE/TinyMCEPlugin.php index 64d0714353..90bb2b2def 100644 --- a/plugins/TinyMCE/TinyMCEPlugin.php +++ b/plugins/TinyMCE/TinyMCEPlugin.php @@ -137,10 +137,12 @@ class TinyMCEPlugin extends Plugin script_url : '{$path}', // General options theme : "advanced", - theme_advanced_buttons1 : "bold,italic,strikethrough,|,undo,redo,|,link,unlink,image", + plugins : "fullscreen", + theme_advanced_buttons1 : "bold,italic,strikethrough,|,undo,redo,|,link,unlink,image,|,fullscreen", theme_advanced_buttons2 : "", theme_advanced_buttons3 : "", - add_form_submit_trigger : false + add_form_submit_trigger : false, + theme_advanced_resizing : true }); $('#notice_action-submit').click(function() { tinymce.triggerSave();