-
blur()
-
Blur the selected content box editor modal and remove hyperlink
-
getCurrentSelection()
-
Return the current selection
Returns:
A promise that resolves to an object containing the current selection range with startIndex and endIndex properties
-
Type
-
Promise.<Core.ContentEdit.ContentBoxEditor.TextSelectionRange>
-
getTextAttributes()
-
Retrieve the present text attributes of the selected content within the content box.
Returns:
A promise that resolves to the text attributes of the selected content
-
Type
-
Promise.<Core.ContentEdit.TextAttributes>
-
insertHyperlink(hyperlink)
-
Insert hyperlink to selected characters
Parameters:
| Name |
Type |
Description |
hyperlink |
string
|
The hyperlink URL to insert |
Returns:
A promise that resolves when the hyperlink is inserted
-
Type
-
Promise.<void>
-
loadHyperLinkURL()
-
Load hyperlink from selected characters
Returns:
A promise that resolves when the hyperlink URL is loaded
-
Type
-
Promise.<void>