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 e539ec1 commit a8d1bebCopy full SHA for a8d1beb
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