Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
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.tsindex 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()},