mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: allow copying text outside the component (#3275)
This commit is contained in:
parent
0e3eb3cc63
commit
add1785ace
2 changed files with 25 additions and 1 deletions
|
@ -17,7 +17,8 @@ export const actionCopy = register({
|
|||
};
|
||||
},
|
||||
contextItemLabel: "labels.copy",
|
||||
keyTest: (event) => event[KEYS.CTRL_OR_CMD] && event.code === CODES.C,
|
||||
// don't supply a shortcut since we handle this conditionally via onCopy event
|
||||
keyTest: undefined,
|
||||
});
|
||||
|
||||
export const actionCut = register({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue