mirror of
https://github.com/docmost/docmost.git
synced 2026-07-11 18:04:50 +10:00
fix: Allow media as attachment
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user