1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-26 00:27:28 +02:00

Change how slate-history handles selection undo (#4717)

* Change how slate-history handles selection undo

* fix test

* fix lint

* cleanup and simplify

* Fix redo by applying undo beforeSelection before applying the redo

* remove unused shouldClear function

* fix lint

* add changeset
This commit is contained in:
Bryan Haakman
2022-10-23 23:02:05 +02:00
committed by GitHub
parent 4e52e5043e
commit d73026eed2
4 changed files with 33 additions and 53 deletions

View File

@@ -0,0 +1,5 @@
---
'slate-history': minor
---
Changes how selections are stored in the history resulting in more consistent results