Move up cloze id

This commit is contained in:
Henrik Giesel 2021-04-22 03:37:01 +02:00
parent d2ca94a29d
commit 2109b67caf

View file

@ -43,9 +43,9 @@ function onCloze(event: MouseEvent): void {
export function getClozeButton(): DynamicSvelteComponent<typeof WithShortcuts> & export function getClozeButton(): DynamicSvelteComponent<typeof WithShortcuts> &
WithShortcutsProps { WithShortcutsProps {
return withShortcuts({ return withShortcuts({
id: "cloze",
shortcuts: ["Control+Shift+KeyC", "Control+Alt+Shift+KeyC"], shortcuts: ["Control+Shift+KeyC", "Control+Alt+Shift+KeyC"],
button: iconButton({ button: iconButton({
id: "cloze",
icon: bracketsIcon, icon: bracketsIcon,
onClick: onCloze, onClick: onCloze,
tooltip: tr.editingClozeDeletionCtrlandshiftandc(), tooltip: tr.editingClozeDeletionCtrlandshiftandc(),