Search results

Static Functions API in JavaScript RichTextEditor API control

Root static functions of RichTextEditor Component

insertItemsAtIndex

Inserts items at a specific index in an array.

Parameter Type Description
oldArray Array Specifies the old array.
newArray Array Specifies the elements to insert.
indexToInsert number Specifies the index to insert.

Returns Array

scrollToCursor

Method to scroll the content to the cursor position

Parameter Type Description
document Document specifies the document.
inputElement HTMLElement | HTMLBodyElement specifies the input element.

Returns void