Mark indent / outdent as non activatable

This commit is contained in:
Henrik Giesel 2021-04-16 16:11:53 +02:00
parent 3eab17ed0f
commit 21dced4ae8

View File

@ -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({