summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-08-11 12:14:05 -0700
committerBrion Vibber <brion@pobox.com>2010-08-11 12:14:05 -0700
commitffc27a337fbdf75e6b23e44aabd1ecd8d8dc9866 (patch)
tree696f7d583f0f4db7fcd50b8c2ca243be226b9b19
parente3bc7ed4bfa8daac84177da0efda796c15294e95 (diff)
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)
-rw-r--r--plugins/TinyMCE/TinyMCEPlugin.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/TinyMCE/TinyMCEPlugin.php b/plugins/TinyMCE/TinyMCEPlugin.php
index 64d071435..90bb2b2de 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();