From 8bc1ab436ad4ebe370ca97a7fa27a3acb290dc68 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 11 Aug 2010 13:17:11 -0700 Subject: TinyMCE: enable tab focus behavior matching the default textarea --- plugins/TinyMCE/TinyMCEPlugin.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/TinyMCE/TinyMCEPlugin.php') 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(); -- cgit v1.2.3-54-g00ecf