From 2c35d2b3f49b308bec1a38894667ae083714db28 Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Sat, 28 Mar 2026 11:39:23 +0000 Subject: [PATCH] keywords --- .../editor/components/slash-menu/menu-items.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/client/src/features/editor/components/slash-menu/menu-items.ts b/apps/client/src/features/editor/components/slash-menu/menu-items.ts index f52522d8..1402f015 100644 --- a/apps/client/src/features/editor/components/slash-menu/menu-items.ts +++ b/apps/client/src/features/editor/components/slash-menu/menu-items.ts @@ -163,7 +163,7 @@ const CommandGroups: SlashMenuGroupedItemsType = { { title: "Image", description: "Upload any image from your device.", - searchTerms: ["photo", "picture", "media"], + searchTerms: ["photo", "picture", "media", "file", "attachment"], icon: IconPhoto, command: ({ editor, range }) => { editor.chain().focus().deleteRange(range).run(); @@ -196,7 +196,7 @@ const CommandGroups: SlashMenuGroupedItemsType = { { title: "Video", description: "Upload any video from your device.", - searchTerms: ["video", "mp4", "media"], + searchTerms: ["video", "mp4", "media", "file", "attachment"], icon: IconMovie, command: ({ editor, range }) => { editor.chain().focus().deleteRange(range).run(); @@ -229,7 +229,7 @@ const CommandGroups: SlashMenuGroupedItemsType = { { title: "Audio", description: "Upload any audio from your device.", - searchTerms: ["audio", "music", "sound", "mp3"], + searchTerms: ["audio", "music", "sound", "mp3", "media", "file", "attachment"], icon: IconMusic, command: ({ editor, range }) => { editor.chain().focus().deleteRange(range).run(); @@ -394,7 +394,7 @@ const CommandGroups: SlashMenuGroupedItemsType = { editor.chain().focus().deleteRange(range).setDrawio().run(), }, { - title: "Excalidraw diagram", + title: "Excalidraw diagram (Whiteboard)", description: "Draw and sketch excalidraw diagrams", searchTerms: ["diagrams", "draw", "sketch", "whiteboard"], icon: IconExcalidraw, @@ -583,7 +583,7 @@ const CommandGroups: SlashMenuGroupedItemsType = { { title: "YouTube", description: "Embed YouTube video", - searchTerms: ["youtube", "yt"], + searchTerms: ["youtube", "yt", "media"], icon: YoutubeIcon, command: ({ editor, range }: CommandProps) => { editor