mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-09-02 11:42:53 +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:
@@ -44,6 +44,6 @@ export const output = {
|
||||
],
|
||||
selection: {
|
||||
anchor: { path: [0, 0], offset: 5 },
|
||||
focus: { path: [0, 0], offset: 5 },
|
||||
focus: { path: [0, 0], offset: 0 },
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user