AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Bug] Softline breaks and paragraphs aren't properly persed

オープン
#1,030 コメント 2 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
Dart
スター
684
フォーク
329
PR マージ指標
30日以内にマージされた PR はありません

説明

### Bug Description

This basically continuation of this issue. https://github.com/AppFlowy-IO/appflowy-editor/issues/912
It seems editor still doesn't recognize softlines. Also after some update it actually converts paragraphs into the softline breaks during convert from MD format into the document

### How to Reproduce

1. use entry line like `First paragraph.\n\nSecond pargraph`
2. initialize editor using `markdownToDocument` function
3. convert editor document back to MD format using `documentToMarkdown` function

Output will be `First paragraph.\nSecond pargraph`, which 1 paragraph with softline break inside

### Expected Behavior

Output should be `First paragraph.\n\nSecond pargraph`

### Operating System

Any

### AppFlowy Editor Version(s)

v4, v5

### Screenshots

_No response_

### Additional Context

_No response_

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。