L-Sun committed 2025-04-23 05:41:14 +00:00
1 parent 9b2cf5cafa
commit 27ff9ab9f4
21 files changed
+304 -339

No files matched your search

@@ -364,13 +364,16 @@ export function notifyDocCreated(std: BlockStdScope, doc: Store) {
message: 'You can click undo to recovery block content',
accent: 'info',
duration: 10 * 1000,
action: {
label: 'Undo',
onClick: () => {
doc.undo();
clear();
actions: [
{
key: 'undo',
label: 'Undo',
onClick: () => {
doc.undo();
clear();
},
},
},
],
abort: abortController.signal,
onClose: clear,
});