Get Started
Documentation

InsertContent

InsertContent(arrContent, [isInline]) → { boolean }

Insert an array of elements in the current position of the document.

Parameters:

Name Type Default Description
arrContent Array.<DocumentElement>

An array of elements to insert.

isInline boolean false

Inline insert on not (works only when the length of arrContent = 1 and it's a paragraph)

Returns:

Type
boolean