diff --git a/apps/web/src/lib/editor/editing.ts b/apps/web/src/lib/editor/editing.ts index ba9859e..881dc19 100644 --- a/apps/web/src/lib/editor/editing.ts +++ b/apps/web/src/lib/editor/editing.ts @@ -60,7 +60,8 @@ const createClipboardSerializer = ( const base = DOMSerializer.fromSchema(editor.schema); const nodes: Record DOMOutputSpec> = { paragraph: base.nodes.paragraph, - text: base.nodes.text + text: base.nodes.text, + hardBreak: base.nodes.hardBreak }; const marks: Record DOMOutputSpec> = { comment: base.marks.comment