Skip to main content

lexical (core)

LexicalEditor

TODO

EditorState

TODO

Selection

RangeSelection

  • is
  • isBackward
  • isCollapsed
  • getNodes
  • setTextNodeRange
  • getTextContent
  • applyDOMRange
  • clone
  • toggleFormat
  • hasFormat
  • insertRawText
  • insertText
  • formatText
  • removeText
  • insertNodes
  • insertLineBreak
  • extract
  • modify
  • deleteCharacter
  • deleteLine
  • deleteWord

RangeSelection Point

  • is
  • isBefore
  • getCharacterOffset
  • getNode
  • set

NodeSelection

TODO

GridSelection

TODO

TextNode

TODO

ElementNode

TODO

DecoratorNode

TODO