getNearestEditorFromDOMNode
functionReturns the nearest LexicalEditor instance by walking up the DOM tree from the given node, or null if none is found.
Returns the nearest LexicalEditor instance by walking up the DOM tree from the given node, or null if none is found.