Module

utils/dom/insertat

@ckeditor/ckeditor5-utils/src/dom/insertat

module

Filtering

Functions

  • insertAt( parentElement, index, nodeToInsert )

    Inserts node to the parent at given index.

    Parameters

    parentElement : Element

    Parent element.

    index : Number

    Insertions index.

    nodeToInsert : Node

    Node to insert.