Skip to content

VRichTextEditor

Props

NameTypeDescription
selection-endnumber
selection-startnumber

Events

NameEvent TypeDescription
blurFocusEventFires when the element loses focus.
clickMouseEventFires 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.
focusFocusEventFires when the element receives focus.
inputEventFires when the value of an element has been changed.
keydownKeyboardEventFires when a key is pressed.
keyupKeyboardEventFires when a key is released.

Methods

NameTypeDescription
focus() => unknown
selectionEndChanged() => unknown
selectionStartChanged() => unknown
setSelectionDecoration(decoration: string) => unknown
setTextBlock`(blockType: 'title''subtitle'