-
|
#1962 lexical/packages/lexical/src/LexicalSelection.ts Lines 568 to 573 in 73ba9ca |
Beta Was this translation helpful? Give feedback.
Answered by
acywatson
Jun 30, 2022
Replies: 1 comment
-
|
It'll happen if only a single empty (no children) element node is selected. One practical case would be the initial editor state, which is just an empty ParagraphNode under the RootNode. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
thegreatercurve
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It'll happen if only a single empty (no children) element node is selected. One practical case would be the initial editor state, which is just an empty ParagraphNode under the RootNode.