From: Brion Vibber Date: Wed, 11 Aug 2010 20:17:11 +0000 (-0700) Subject: TinyMCE: enable tab focus behavior matching the default textarea X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8bc1ab436ad4ebe370ca97a7fa27a3acb290dc68;p=quix0rs-gnu-social.git TinyMCE: enable tab focus behavior matching the default textarea --- diff --git a/plugins/TinyMCE/TinyMCEPlugin.php b/plugins/TinyMCE/TinyMCEPlugin.php index cd6777ca3e..d1756279b5 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();