mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-26 16:44:22 +02:00
Fix editor above with point (#5235)
* Fix Editor.above with point Editor.above should ignore checking text nodes (they're never above anything) and continue looking for ancestors. Otherwise it won't be able to find any above nodes when starting to look from a text node. * Add changeset
This commit is contained in:
5
.changeset/wet-tigers-double.md
Normal file
5
.changeset/wet-tigers-double.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'slate': patch
|
||||
---
|
||||
|
||||
Fixed Editor.above method that always returned undefined with Point location
|
Reference in New Issue
Block a user