ResetIndentUsingClasses
class
The list item block indentation behavior that resets class-based indentation toward zero.
Unlike IndentUsingClasses, this behavior is enabled only in the backward (outdent) direction when a class-based indentation is set. This is because class-based indentation values cannot be negative, so the only way to reset them to zero is to remove the class by outdenting.
Properties
classes : Array<string>inheritedmodule:indent/indentcommandbehavior/resetindentusingclasses~ResetIndentUsingClasses#classesA list of classes used for indentation.
isForward : booleaninheritedmodule:indent/indentcommandbehavior/resetindentusingclasses~ResetIndentUsingClasses#isForwardThe direction of indentation.
Methods
constructor( config = { config.classes, config.direction } )inheritedmodule:indent/indentcommandbehavior/resetindentusingclasses~ResetIndentUsingClasses#constructorCreates an instance of the indentation behavior.
Parameters
config : object- Properties
config.classes : Array<string>A list of classes used for indentation.
config.direction : 'forward' | 'backward'The direction of indentation.
checkEnabled( indentAttributeValue ) → booleanmodule:indent/indentcommandbehavior/resetindentusingclasses~ResetIndentUsingClasses#checkEnabledgetNextIndent( indentAttributeValue ) → string | undefinedinheritedmodule:indent/indentcommandbehavior/resetindentusingclasses~ResetIndentUsingClasses#getNextIndent