slate-edit-table
slate-edit-table copied to clipboard
Undo remove table: selection is not restored
Since v0.11.0
See comment https://github.com/GitbookIO/slate-edit-table/pull/38
I have just tested it in another plugin, find that change.snapshotSelection()
helps restoring the selection before removeNode
or replaceNode
.
I can submit a PR when I have time~
@Soreine just wondering would you have time about https://github.com/GitbookIO/slate-edit-table/pull/63 to resolve the selection issue?