Class

IndentUsingClasses (indent/indentcommandbehavior)

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

class

The block indentation behavior that uses classes to set indentation.

Filtering

Properties

  • classes : Array.<String>

    A list of classes used for indentation.

  • isForward : Boolean

    The direction of indentation.

Methods

  • constructor( config = { config.direction, config.classes } )

    Creates an instance of the indentation behavior.

    Parameters

    config : Object
    Properties
    config.direction : String

    The direction of indentation.

    config.classes : Array.<String>

    A list of classes used for indentation.