mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-30 10:29:48 +02:00
Optimize editor#above and allow passing a location that doesnt exist as long as its parent exists (#5880)
* optimize editor#apply and allow potential paths as input * fix Editor#above regression for cross-node ranges * add test to prevent regressions * add changeset * improve comment * factor out for-loop that will never actually loop * aw crud I didnt lint. fixing
This commit is contained in:
5
.changeset/popular-bags-relax.md
Normal file
5
.changeset/popular-bags-relax.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'slate': patch
|
||||
---
|
||||
|
||||
Optimize editor#above and allow passing a location that doesnt exist as long as its parent exists
|
Reference in New Issue
Block a user