diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/workflow.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/workflow.tsx index 50b1e00ea1d..03ab11d0a20 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/workflow.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/workflow.tsx @@ -434,6 +434,7 @@ const WorkflowContent = React.memo(() => { activeElement?.hasAttribute('contenteditable') if (isEditableElement) { + event.stopPropagation() return } diff --git a/apps/sim/stores/undo-redo/store.ts b/apps/sim/stores/undo-redo/store.ts index 62afff627ee..c57afbe2cc8 100644 --- a/apps/sim/stores/undo-redo/store.ts +++ b/apps/sim/stores/undo-redo/store.ts @@ -13,7 +13,7 @@ import type { } from './types' const logger = createLogger('UndoRedoStore') -const DEFAULT_CAPACITY = 15 +const DEFAULT_CAPACITY = 100 function getStackKey(workflowId: string, userId: string): string { return `${workflowId}:${userId}`