VRichTextEditor
Props
Name | Type | Description |
---|---|---|
selection-end | number | |
selection-start | number |
Events
Name | Event Type | Description |
---|---|---|
blur | FocusEvent | Fires when the element loses focus. |
click | MouseEvent | Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element. |
focus | FocusEvent | Fires when the element receives focus. |
input | Event | Fires when the value of an element has been changed. |
keydown | KeyboardEvent | Fires when a key is pressed. |
keyup | KeyboardEvent | Fires when a key is released. |
Methods
Name | Type | Description |
---|---|---|
focus | () => unknown | |
selectionEndChanged | () => unknown | |
selectionStartChanged | () => unknown | |
setSelectionDecoration | (decoration: string) => unknown | |
setTextBlock | `(blockType: 'title' | 'subtitle' |