Documentation
Tab
key
Type: Boolean
Default: true
The tab key in the editor moves the cursor between editable blocks, between table cells and indents lists.
The behavior of the tab key can be completely disabled. To do this, set false
.
RedactorX('#entry', {
tab: {
key: false
}
});
spaces
Type: Boolean
, Number
Default: false
The tab key can place a certain number of spaces in the text, to do this, specify the settings parameter spaces
.
RedactorX('#entry', {
tab: {
spaces: 4
}
});
In this case, the tab key will work as usual, but if the cursor is not at the beginning and not at the end of the editable block, then when pressed, it will add the specified number of spaces to the text.
dkjgvo65776inru43654