fix: Allow media as attachment

This commit is contained in:
Arek Nawo
2026-01-20 13:52:02 +01:00
parent dcf9228344
commit 8ea92668b2
@@ -239,7 +239,7 @@ const CommandGroups: SlashMenuGroupedItemsType = {
for (const file of input.files) { for (const file of input.files) {
const pos = editor.view.state.selection.from; const pos = editor.view.state.selection.from;
uploadAttachmentAction(file, editor, pos, pageId); uploadAttachmentAction(file, editor, pos, pageId, true);
} }
} }