Hey, there! Look at our new WYSIWYG editor.

tabindex #

Type: Boolean Number

Default: false

This setting sets tab index form value for Redactor.

$R('#content', {
        tabindex: 1
});

tabAsSpaces #

Type: Boolean Number

Default: false

This setting allows to apply spaces instead of tabulation on Tab key. To turn this setting on, set number of spaces:

$R('#content', {
        tabAsSpaces: 4
});

tabKey #

Type: Boolean

Default: true

This setting turns on Tab key handling. If tabKey is set to false, Tab key will set focus to the next input field on a page.

$R('#content', {
        tabKey: false
});

If there's no text in Redactor, then regardless of tabKey setting focus will be set to the next input field on a page.