Report an issue
Class

IndentUsingOffset (indent/indentcommandbehavior)

@ckeditor/ckeditor5-indent/src/indentcommandbehavior/indentusingoffset

class

The block indentation behavior that uses offsets to set indentation.

Filtering

Properties

  • isForward : Boolean

    The direction of indentation.

  • offset : Number

    The offset of the next indentation step.

  • unit : String

    Indentation unit.

Methods

  • constructor( config = { config.direction, config.offset, config.unit } )

    Creates an instance of the indentation behavior.

    Parameters

    config : Object
    Properties
    config.direction : String

    The direction of indentation.

    config.offset : Number

    The offset of the next indentation step.

    config.unit : String

    Indentation unit.