list/documentlist/utils/postfixers
@ckeditor/ckeditor5-list/src/documentlist/utils/postfixers
Filtering
Functions
-
internal
findAndAddListHeadToMap( position, itemToListHead ) → voidmodule:list/documentlist/utils/postfixers~findAndAddListHeadToMapBased on the provided positions looks for the list head and stores it in the provided map.
Parameters
position : PositionThe search starting position.
itemToListHead : Map<ListElement, ListElement>The map from list item element to the list head element.
Returns
void
-
internal
fixListIndents( listNodes, writer ) → booleanmodule:list/documentlist/utils/postfixers~fixListIndentsScans the list starting from the given list head element and fixes items' indentation.
Parameters
listNodes : Iterable<ListIteratorValue>The iterable of list nodes.
writer : WriterThe model writer.
Returns
booleanWhether the model was modified.
-
internal
fixListItemIds( listNodes, seenIds, writer ) → booleanmodule:list/documentlist/utils/postfixers~fixListItemIdsScans 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 : WriterThe model writer.
Returns
booleanWhether the model was modified.
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing? Please report it via our issue tracker.