IndentBlockConfig (indent)
@ckeditor/ckeditor5-indent/src/indentblock
The configuration of the block indentation feature.
If no classes
are set, the block indentation feature will use
offset
and unit
to
create indentation steps.
Alternatively, the block indentation feature may set one of defined classes
as
indentation steps:
In the example above only 5 indentation steps will be available.
See all editor options.
Filtering
Properties
-
classes : Array.<String> | undefined
An optional list of classes to use for indenting the editor content. If not set or set to an empty array, no classes will be used. The
indentBlock.unit
andindentBlock.offset
properties will be used instead.Defaults to
undefined
-
offset : Number
The size of indentation units for each indentation step.
Defaults to
40
-
unit : String
The unit used for indentation
offset
.Defaults to
'px'
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.