fix(types): correct CommandMappings key for pasteMarkdownIntoText

This commit is contained in:
SiriusXT
2025-10-28 14:10:11 +08:00
parent ac16c42e23
commit 8f8ea7adc3
3 changed files with 4 additions and 3 deletions

View File

@@ -223,6 +223,7 @@ export type CommandMappings = {
showUploadAttachmentsDialog: CommandData & { noteId: string };
showIncludeNoteDialog: CommandData & { textTypeWidget: EditableTextTypeWidget };
showAddLinkDialog: CommandData & { textTypeWidget: EditableTextTypeWidget, text: string };
showPasteMarkdownDialog: CommandData & { textTypeWidget: EditableTextTypeWidget };
closeProtectedSessionPasswordDialog: CommandData;
copyImageReferenceToClipboard: CommandData;
copyImageToClipboard: CommandData;
@@ -305,7 +306,7 @@ export type CommandMappings = {
addLinkToText: CommandData;
followLinkUnderCursor: CommandData;
insertDateTimeToText: CommandData;
showMarkdownIntoTextDialog: CommandData & { textTypeWidget: EditableTextTypeWidget };
pasteMarkdownIntoText: CommandData;
cutIntoNote: CommandData;
addIncludeNoteToText: CommandData;
editReadOnlyNote: CommandData;