Function: getSelectionRectangle()

getSelectionRectangle(editor): null | object

Gets the coordinates of the selection in the Lexical editor.

Parameters

ParameterType
editorLexicalEditor

Returns

null | object