mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
fix: remove export-to-clip-as-svg shortcut for now (#8660)
This commit is contained in:
parent
b479f3bd65
commit
15ca182333
4 changed files with 0 additions and 13 deletions
|
@ -182,7 +182,6 @@ export const actionCopyAsSvg = register({
|
|||
predicate: (elements) => {
|
||||
return probablySupportsClipboardWriteText && elements.length > 0;
|
||||
},
|
||||
keyTest: (event) => event.code === CODES.C && event.ctrlKey && event.shiftKey,
|
||||
keywords: ["svg", "clipboard", "copy"],
|
||||
});
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@ export type ShortcutName =
|
|||
| "sendToBack"
|
||||
| "bringToFront"
|
||||
| "copyAsPng"
|
||||
| "copyAsSvg"
|
||||
| "group"
|
||||
| "ungroup"
|
||||
| "gridMode"
|
||||
|
@ -88,7 +87,6 @@ const shortcutMap: Record<ShortcutName, string[]> = {
|
|||
: getShortcutKey("CtrlOrCmd+Shift+]"),
|
||||
],
|
||||
copyAsPng: [getShortcutKey("Shift+Alt+C")],
|
||||
copyAsSvg: [getShortcutKey("Shift+Ctrl+C")],
|
||||
group: [getShortcutKey("CtrlOrCmd+G")],
|
||||
ungroup: [getShortcutKey("CtrlOrCmd+Shift+G")],
|
||||
gridMode: [getShortcutKey("CtrlOrCmd+'")],
|
||||
|
|
|
@ -374,10 +374,6 @@ export const HelpDialog = ({ onClose }: { onClose?: () => void }) => {
|
|||
shortcuts={[getShortcutKey("Shift+Alt+C")]}
|
||||
/>
|
||||
)}
|
||||
<Shortcut
|
||||
label={t("labels.copyAsSvg")}
|
||||
shortcuts={[getShortcutKey("Shift+Ctrl+C")]}
|
||||
/>
|
||||
<Shortcut
|
||||
label={t("labels.copyStyles")}
|
||||
shortcuts={[getShortcutKey("CtrlOrCmd+Alt+C")]}
|
||||
|
|
|
@ -206,7 +206,6 @@ exports[`contextMenu element > right-clicking on a group should select whole gro
|
|||
/>
|
||||
</g>
|
||||
</svg>,
|
||||
"keyTest": [Function],
|
||||
"keywords": [
|
||||
"svg",
|
||||
"clipboard",
|
||||
|
@ -4724,7 +4723,6 @@ exports[`contextMenu element > shows 'Group selection' in context menu for multi
|
|||
/>
|
||||
</g>
|
||||
</svg>,
|
||||
"keyTest": [Function],
|
||||
"keywords": [
|
||||
"svg",
|
||||
"clipboard",
|
||||
|
@ -5852,7 +5850,6 @@ exports[`contextMenu element > shows 'Ungroup selection' in context menu for gro
|
|||
/>
|
||||
</g>
|
||||
</svg>,
|
||||
"keyTest": [Function],
|
||||
"keywords": [
|
||||
"svg",
|
||||
"clipboard",
|
||||
|
@ -6932,7 +6929,6 @@ exports[`contextMenu element > shows context menu for canvas > [end of test] app
|
|||
/>
|
||||
</g>
|
||||
</svg>,
|
||||
"keyTest": [Function],
|
||||
"keywords": [
|
||||
"svg",
|
||||
"clipboard",
|
||||
|
@ -7701,7 +7697,6 @@ exports[`contextMenu element > shows context menu for element > [end of test] ap
|
|||
/>
|
||||
</g>
|
||||
</svg>,
|
||||
"keyTest": [Function],
|
||||
"keywords": [
|
||||
"svg",
|
||||
"clipboard",
|
||||
|
@ -8596,7 +8591,6 @@ exports[`contextMenu element > shows context menu for element > [end of test] ap
|
|||
/>
|
||||
</g>
|
||||
</svg>,
|
||||
"keyTest": [Function],
|
||||
"keywords": [
|
||||
"svg",
|
||||
"clipboard",
|
||||
|
|
Loading…
Add table
Reference in a new issue