a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

set timeout for undogroup in block keyboard handlers

+1 -1
+1 -1
components/Blocks/useBlockKeyboardHandlers.ts
··· 70 70 areYouSure, 71 71 setAreYouSure, 72 72 }); 73 - undoManager.endGroup(); 73 + setTimeout(() => undoManager.endGroup(), 100); 74 74 }; 75 75 window.addEventListener("keydown", listener); 76 76 return () => window.removeEventListener("keydown", listener);