mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
chore(slash): change title of admonitions
This commit is contained in:
parent
43eff08004
commit
6f386f50ff
@ -18,7 +18,8 @@ function buildAdmonitionExtraCommands(): SlashCommandDefinition[] {
|
||||
for (const [ keyword, definition ] of Object.entries(ADMONITION_TYPES)) {
|
||||
commands.push({
|
||||
id: keyword,
|
||||
title: `Admonition: ${definition.title}`,
|
||||
title: definition.title,
|
||||
description: "Inserts a new admonition",
|
||||
icon: admonitionIcons.admonitionIcon,
|
||||
execute: (editor: Editor) => editor.execute("admonition", { forceValue: keyword as AdmonitionType })
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user