From: Brion Vibber Date: Wed, 11 Aug 2010 19:14:05 +0000 (-0700) Subject: TinyMCE: add fullscreen zoom plugin for editor (a bit awkward but better than trying... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ffc27a337fbdf75e6b23e44aabd1ecd8d8dc9866;p=quix0rs-gnu-social.git 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) --- 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();