From 8ea92668b20941842eb477f14dcacf93367d0ae5 Mon Sep 17 00:00:00 2001 From: Arek Nawo Date: Tue, 20 Jan 2026 13:52:02 +0100 Subject: [PATCH] fix: Allow media as attachment --- .../src/features/editor/components/slash-menu/menu-items.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 17a8027e..bebefed4 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 @@ -239,7 +239,7 @@ const CommandGroups: SlashMenuGroupedItemsType = { for (const file of input.files) { const pos = editor.view.state.selection.from; - uploadAttachmentAction(file, editor, pos, pageId); + uploadAttachmentAction(file, editor, pos, pageId, true); } }