Skip to content

Commit

Permalink
Merge pull request #519 from rnbwdev/pasting_text_to_stage
Browse files Browse the repository at this point in the history
Prevent default action when not editing
  • Loading branch information
atulbhatt-system32 authored Dec 18, 2023
2 parents 8bfb818 + 76095cc commit 66742de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/main/stageView/iFrame/hooks/useCmdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const useCmdk = ({
}
}

action && e.preventDefault();
!isEditingRef.current && action && e.preventDefault();
},
[osType, cmdkReferenceData],
);
Expand Down

0 comments on commit 66742de

Please sign in to comment.