TinyMCE: enable tab focus behavior matching the default textarea

This commit is contained in:
Brion Vibber 2010-08-11 13:17:11 -07:00
parent d832b46573
commit 8bc1ab436a

View File

@ -137,12 +137,13 @@ class TinyMCEPlugin extends Plugin
script_url : '{$path}',
// General options
theme : "advanced",
plugins : "paste,fullscreen,autoresize,inlinepopups",
plugins : "paste,fullscreen,autoresize,inlinepopups,tabfocus",
theme_advanced_buttons1 : "bold,italic,strikethrough,|,undo,redo,|,link,unlink,image,|,fullscreen",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
add_form_submit_trigger : false,
theme_advanced_resizing : true
theme_advanced_resizing : true,
tabfocus_elements: ":prev,:next"
});
$('#notice_action-submit').click(function() {
tinymce.triggerSave();