diff --git a/ts/editor/FormatBlockButtons.svelte b/ts/editor/FormatBlockButtons.svelte index c92c869dd..3d0fd1ef0 100644 --- a/ts/editor/FormatBlockButtons.svelte +++ b/ts/editor/FormatBlockButtons.svelte @@ -13,7 +13,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import * as tr from "../lib/ftl"; import { getListItem } from "../lib/dom"; - import { execCommand } from "./helpers"; + import { appendInParentheses, execCommand } from "./helpers"; import { ulIcon, olIcon, @@ -26,6 +26,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html outdentIcon, } from "./icons"; import { getNoteEditor } from "./OldEditorAdapter.svelte"; + import WithShortcut from "../components/WithShortcut.svelte"; + import { withButton } from "../components/helpers"; export let api = {}; @@ -54,7 +56,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html {@html ulIcon}{@html ulIcon} @@ -62,7 +64,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html {@html olIcon}{@html olIcon} @@ -119,23 +121,43 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html - - {@html outdentIcon} - + + {@html outdentIcon} + + - - {@html indentIcon} - + + {@html indentIcon} + +