diff --git a/ts/editor/TemplateButtons.svelte b/ts/editor/TemplateButtons.svelte index a80bc3795..003cbfcb7 100644 --- a/ts/editor/TemplateButtons.svelte +++ b/ts/editor/TemplateButtons.svelte @@ -61,87 +61,87 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html - - + + {@html functionIcon} - - - - wrap('\\(', '\\)')} - on:mount={createShortcut}> - {tr.editingMathjaxInline()} - {shortcutLabel} - - + + + wrap('\\(', '\\)')} + on:mount={createShortcut}> + {tr.editingMathjaxInline()} + {shortcutLabel} + + - - wrap('\\[', '\\]')} - on:mount={createShortcut}> - {tr.editingMathjaxBlock()} - {shortcutLabel} - - + + wrap('\\[', '\\]')} + on:mount={createShortcut}> + {tr.editingMathjaxBlock()} + {shortcutLabel} + + - - wrap('\\(\\ce{', '}\\)')} - on:mount={createShortcut}> - {tr.editingMathjaxChemistry()} - {shortcutLabel} - - + + wrap('\\(\\ce{', '}\\)')} + on:mount={createShortcut}> + {tr.editingMathjaxChemistry()} + {shortcutLabel} + + - - wrap('[latex]', '[/latex]')} - on:mount={createShortcut}> - {tr.editingLatex()} - {shortcutLabel} - - + + wrap('[latex]', '[/latex]')} + on:mount={createShortcut}> + {tr.editingLatex()} + {shortcutLabel} + + - - wrap('[$]', '[/$]')} - on:mount={createShortcut}> - {tr.editingLatexEquation()} - {shortcutLabel} - - + + wrap('[$]', '[/$]')} + on:mount={createShortcut}> + {tr.editingLatexEquation()} + {shortcutLabel} + + - - wrap('[$$]', '[/$$]')} - on:mount={createShortcut}> - {tr.editingLatexMathEnv()} - {shortcutLabel} - - - - + + wrap('[$$]', '[/$$]')} + on:mount={createShortcut}> + {tr.editingLatexMathEnv()} + {shortcutLabel} + + + + +