From 2109b67caf1cb71b6dbcdeb0266a5390b274e46d Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Thu, 22 Apr 2021 03:37:01 +0200 Subject: [PATCH] Move up cloze id --- ts/editor/cloze.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/editor/cloze.ts b/ts/editor/cloze.ts index c40fc551b..69eaa1d3c 100644 --- a/ts/editor/cloze.ts +++ b/ts/editor/cloze.ts @@ -43,9 +43,9 @@ function onCloze(event: MouseEvent): void { export function getClozeButton(): DynamicSvelteComponent & WithShortcutsProps { return withShortcuts({ + id: "cloze", shortcuts: ["Control+Shift+KeyC", "Control+Alt+Shift+KeyC"], button: iconButton({ - id: "cloze", icon: bracketsIcon, onClick: onCloze, tooltip: tr.editingClozeDeletionCtrlandshiftandc(),