diff --git a/src/modules/contents/attachments/composables/use-attachment.ts b/src/modules/contents/attachments/composables/use-attachment.ts index 4c0ac176..9bf47c5f 100644 --- a/src/modules/contents/attachments/composables/use-attachment.ts +++ b/src/modules/contents/attachments/composables/use-attachment.ts @@ -314,11 +314,7 @@ export function useAttachmentSelect( }) .filter(Boolean) as Content[]; - editor.value - ?.chain() - .focus() - .insertContent([...contents, { type: "paragraph", content: "" }]) - .run(); + editor.value?.chain().focus().insertContent(contents).run(); }; return {