Sign up (with export icon)

IndentBehavior

Api-interface icon interface

Provides indentation behavior to IndentBlockCommand.

Properties

  • Chevron-right icon

    checkEnabled : ( indentAttributeValue: string ) => boolean

    Checks if the command should be enabled.

  • Chevron-right icon

    getNextIndent : ( indentAttributeValue: string ) => ( undefined | string )

    Returns a new indent attribute value based on the current indent. This method returns undefined when the indentation should be removed.

  • Chevron-right icon

    isForward : boolean

    The direction of indentation.