Root static functions of RichTextEditor Component
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
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