]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
TinyMCE: enable tab focus behavior matching the default textarea
authorBrion Vibber <brion@pobox.com>
Wed, 11 Aug 2010 20:17:11 +0000 (13:17 -0700)
committerBrion Vibber <brion@pobox.com>
Wed, 11 Aug 2010 20:17:11 +0000 (13:17 -0700)
plugins/TinyMCE/TinyMCEPlugin.php

index cd6777ca3e349d967be0fd65431b8140746c54e8..d1756279b5a97bd397968eed3bac23f53b33dc22 100644 (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();