ListConfig
The configuration of the list feature and the legacy list feature.
ClassicEditor
.create( {
list: ... // The list feature configuration.
} )
.then( ... )
.catch( ... );
See all editor options.
ListConfig
Properties
enableListItemMarkerFormatting : boolean | undefinedmodule:list/listconfig~ListConfig#enableListItemMarkerFormattingEnables list item marker formatting. Current list of integrated formatting plugins includes:
Note: This is enabled by default.
Defaults to
trueenableSkipLevelLists : boolean | undefinedmodule:list/listconfig~ListConfig#enableSkipLevelListsWhen set to
true, list items can be indented by more than one level relative to their parent. By default, the editor enforces that each nested list item is only one level deeper than its parent.ClassicEditor .create( editorElement, { list: { enableSkipLevelLists: true } } ) .then( ... ) .catch( ... );Copy codeDefaults to
falsemultiBlock : boolean | undefinedmodule:list/listconfig~ListConfig#multiBlockAllows multiple blocks in single list item.
With this option enabled you can have block widgets, for example images or even tables, within a list item.
Note: This is enabled by default.
Defaults to
trueproperties : ListPropertiesConfig | undefinedmodule:list/listconfig~ListConfig#propertiesThe configuration of the
ListPropertiesfeature and the legacy list properties feature.Read more in
ListPropertiesConfig.