diff --git a/shared/editor/nodes/Paragraph.ts b/shared/editor/nodes/Paragraph.ts index a0b2b22ef..31a5c2b9b 100644 --- a/shared/editor/nodes/Paragraph.ts +++ b/shared/editor/nodes/Paragraph.ts @@ -14,7 +14,7 @@ export default class Paragraph extends Node { content: "inline*", group: "block", parseDOM: [{ tag: "p" }], - toDOM: () => ["p", 0], + toDOM: () => ["p", { dir: "auto" }, 0], }; }