diff --git a/extensions/history/src/index.ts b/extensions/history/src/index.ts index 2fcb078..81dbad2 100644 --- a/extensions/history/src/index.ts +++ b/extensions/history/src/index.ts @@ -83,6 +83,11 @@ export default function historyExtension(options?: Par return (store: InternalStore) => { store.register('extensions', 'history', () => _options); + store.register('history', 'details', () => ({ + canUndo: canUndo(), + canRedo: canRedo(), + groups: historyState.groups, + })); const { startTrace,