summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-08-11 13:17:11 -0700
committerBrion Vibber <brion@pobox.com>2010-08-11 13:17:11 -0700
commit8bc1ab436ad4ebe370ca97a7fa27a3acb290dc68 (patch)
tree00b426f6ff8837f55a8ca664dabac06192ed3d21
parentd832b46573df869255da166b31e213d1742de862 (diff)
TinyMCE: enable tab focus behavior matching the default textarea
-rw-r--r--plugins/TinyMCE/TinyMCEPlugin.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/TinyMCE/TinyMCEPlugin.php b/plugins/TinyMCE/TinyMCEPlugin.php
index cd6777ca3..d1756279b 100644
--- a/plugins/TinyMCE/TinyMCEPlugin.php
+++ b/plugins/TinyMCE/TinyMCEPlugin.php
@@ -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();