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)

This commit is contained in:
Brion Vibber 2010-08-11 12:14:05 -07:00
parent e3bc7ed4bf
commit ffc27a337f

View File

@ -137,10 +137,12 @@ class TinyMCEPlugin extends Plugin
script_url : '{$path}', script_url : '{$path}',
// General options // General options
theme : "advanced", 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_buttons2 : "",
theme_advanced_buttons3 : "", theme_advanced_buttons3 : "",
add_form_submit_trigger : false add_form_submit_trigger : false,
theme_advanced_resizing : true
}); });
$('#notice_action-submit').click(function() { $('#notice_action-submit').click(function() {
tinymce.triggerSave(); tinymce.triggerSave();