IndentUsingClasses
class
The block indentation behavior that uses classes to set indentation.
Properties
Methods
constructor( config = { config.classes, config.direction } )module:indent/indentcommandbehavior/indentusingclasses~IndentUsingClasses#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/indentusingclasses~IndentUsingClasses#checkEnabledgetNextIndent( indentAttributeValue ) → undefined | stringmodule:indent/indentcommandbehavior/indentusingclasses~IndentUsingClasses#getNextIndent