list/documentlist/utils/postfixers
@ckeditor/ckeditor5-list/src/documentlist/utils/postfixers
Filtering
Functions
-
findAndAddListHeadToMap( position, itemToListHead )
module:list/documentlist/utils/postfixers~findAndAddListHeadToMap
protected
Based on the provided positions looks for the list head and stores it in the provided map.
-
fixListIndents( listNodes, writer ) → Boolean
module:list/documentlist/utils/postfixers~fixListIndents
protected
Scans the list starting from the given list head element and fixes items' indentation.
Parameters
listNodes : Iterable.<ListIteratorValue>
The iterable of list nodes.
writer : Writer
The model writer.
Returns
Boolean
Whether the model was modified.
-
fixListItemIds( listNodes, seenIds, writer ) → Boolean
module:list/documentlist/utils/postfixers~fixListItemIds
protected
Scans the list starting from the given list head element and fixes items' types.
Parameters
listNodes : Iterable.<ListIteratorValue>
The iterable of list nodes.
seenIds : Set.<String>
The set of already known IDs.
writer : Writer
The model writer.
Returns
Boolean
Whether the model was modified.
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.