fix: add "latex" alias for math command (#8357)

This commit is contained in:
Elian Doran 2026-01-12 19:27:50 +02:00 committed by GitHub
commit 5b910cce56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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()
},