We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f52ad48 commit 73a0a62Copy full SHA for 73a0a62
apps/array/src/renderer/features/message-editor/tiptap/useDraftSync.ts
@@ -58,7 +58,7 @@ function editorContentToTiptapJson(content: EditorContent): JSONContent {
58
if (i > 0) {
59
flushParagraph();
60
}
61
- const lineParts = paragraphParts[i].split(/ \n|\n/);
+ const lineParts = paragraphParts[i].split(/ {2}\n|\n/);
62
for (let j = 0; j < lineParts.length; j++) {
63
if (j > 0) {
64
currentParagraphContent.push({ type: "hardBreak" });
0 commit comments