Skip to content

Build your personal knowledge base with Trilium Notes

fix: add "latex" alias for math command

Atmois2c8edb413ef0
diff --git a/packages/ckeditor5/src/extra_slash_commands.ts b/packages/ckeditor5/src/extra_slash_commands.ts
index ec77b1f940..142ce50523 100644
--- a/packages/ckeditor5/src/extra_slash_commands.ts
+++ b/packages/ckeditor5/src/extra_slash_commands.ts
@@ -54,6 +54,7 @@ export default function buildExtraCommands(): SlashCommandDefinition[] {
id: "math",
title: "Math equation",
description: "Insert a math equation",
+ aliases: [ "latex", "equation" ],
icon: mathIcons.ckeditor,
execute: (editor: Editor) => editor.plugins.get(MathUI)._showUI()
},