Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When resolving a slate Point from a DOM selection (toSlatePoint), con…
…sider that a node is only void if it's within the same editor that is resolving the Point. If you have a nested editor setup. For example, one editor has a void node that contains another editor. In this case, a resolution of a selection by the nested editor previously would consider that the selection is for a void node since an ancestor void node does exist. However, this selection is only a void node in the context of this editor if the ancestor void node is contained in the editor.
- Loading branch information