]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
TinyMCE: add fullscreen zoom plugin for editor (a bit awkward but better than trying...
authorBrion Vibber <brion@pobox.com>
Wed, 11 Aug 2010 19:14:05 +0000 (12:14 -0700)
committerBrion Vibber <brion@pobox.com>
Wed, 11 Aug 2010 19:14:05 +0000 (12:14 -0700)
plugins/TinyMCE/TinyMCEPlugin.php

index 64d071435340ce0bb14535f82020ddfa60f2d2f6..90bb2b2def7207c5fab84174c6c9ff9dd9768d2e 100644 (file)
@@ -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();