mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
Mark indent / outdent as non activatable
This commit is contained in:
parent
3eab17ed0f
commit
21dced4ae8
1 changed files with 2 additions and 0 deletions
|
@ -82,12 +82,14 @@ export function getFormatBlockMenus(): (DynamicSvelteComponent<typeof ButtonDrop
|
||||||
icon: outdentIcon,
|
icon: outdentIcon,
|
||||||
command: "outdent",
|
command: "outdent",
|
||||||
tooltip: tr.editingOutdent(),
|
tooltip: tr.editingOutdent(),
|
||||||
|
activatable: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
const indentButton = commandIconButton({
|
const indentButton = commandIconButton({
|
||||||
icon: indentIcon,
|
icon: indentIcon,
|
||||||
command: "indent",
|
command: "indent",
|
||||||
tooltip: tr.editingIndent(),
|
tooltip: tr.editingIndent(),
|
||||||
|
activatable: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
const indentationGroup = buttonGroup({
|
const indentationGroup = buttonGroup({
|
||||||
|
|
Loading…
Reference in a new issue