Type: Boolean
Default: true
By default, when you press Enter at the end of the editable block, the editor creates a new block and does not inherit the attributes and classes of the previous block. This can be changed by setting false
.
Redactor('#entry', {
clean: {
enter: false
}
});
Now when you press Enter at the end of the block, the editor will inherit all the attributes and classes of this block for the newly created one.
Type: Boolean
Default: true
If this setting is enabled, when you press enter, if a paragraph has inline tags (bold, italic, etc) at the end, they will be inherited. This can be turned off:
Redactor('#entry', {
clean: {
enterinline: false
}
});
Type: Boolean
Default: false
If this setting is enabled, html comments will not be removed from the content.
Redactor('#entry', {
clean: {
comments: true
}
});