We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 304dd37 commit bf5ed1aCopy full SHA for bf5ed1a
editor/grida-canvas-react/use-data-transfer.ts
@@ -203,6 +203,7 @@ export function useDataTransferEventTarget() {
203
204
if (!event.clipboardData) {
205
instance.commands.paste();
206
+ event.preventDefault();
207
return;
208
}
209
editor/grida-canvas/reducers/index.ts
@@ -56,6 +56,11 @@ export default function reducer(
56
draft.webfontlist = action.webfontlist;
57
58
59
+ case "document/reset": {
60
+ // Special marker action - already handled by reset() method
61
+ // This should never actually reach the reducer, but handle it gracefully
62
+ return;
63
+ }
64
case "load": {
65
const { scene } = action;
66
0 commit comments