AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Bug] markdown to document newline & image in paragraph

未关闭
#943 5 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
p1
主要语言
Dart
星标
684
派生
329
PR 合并指标
30 天内没有已合并 PR

描述

### Bug Description

When converting a document to markdown we have this
```
line1
line2

line3
![](https://...img.jpg)
```

After creating a document from markdown
Appflowy editor renders
```
line1
line2
line3
```

### How to Reproduce

create a new editor from markdown with the previous content.
- Newline is skipped.
- Images are skipped

### Expected Behavior

The empty line should be rendered
THe image should be rendered

Note : the newline is correctly rendered by markdown renderer when exporting markdown from editor.

### Operating System

android, ios

### AppFlowy Editor Version(s)

latest

### Screenshots

_No response_

### Additional Context

_No response_

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。