1
0
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:
nabbydude
2025-05-24 19:34:18 -04:00
committed by GitHub
parent 05263b544c
commit de260565c7
3 changed files with 51 additions and 19 deletions

View File

@@ -0,0 +1,5 @@
---
'slate': patch
---
Optimize editor#above and allow passing a location that doesnt exist as long as its parent exists