TinyMCE: enable tab focus behavior matching the default textarea
This commit is contained in:
parent
d832b46573
commit
8bc1ab436a
|
@ -137,12 +137,13 @@ class TinyMCEPlugin extends Plugin
|
||||||
script_url : '{$path}',
|
script_url : '{$path}',
|
||||||
// General options
|
// General options
|
||||||
theme : "advanced",
|
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_buttons1 : "bold,italic,strikethrough,|,undo,redo,|,link,unlink,image,|,fullscreen",
|
||||||
theme_advanced_buttons2 : "",
|
theme_advanced_buttons2 : "",
|
||||||
theme_advanced_buttons3 : "",
|
theme_advanced_buttons3 : "",
|
||||||
add_form_submit_trigger : false,
|
add_form_submit_trigger : false,
|
||||||
theme_advanced_resizing : true
|
theme_advanced_resizing : true,
|
||||||
|
tabfocus_elements: ":prev,:next"
|
||||||
});
|
});
|
||||||
$('#notice_action-submit').click(function() {
|
$('#notice_action-submit').click(function() {
|
||||||
tinymce.triggerSave();
|
tinymce.triggerSave();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user