AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Bug] markdown to document newline & image in paragraph

Đang mở
#943 5 bình luận 1 reaction 0 người được giao Xem trên GitHub
p1
Ngôn ngữ chính
Dart
Star
684
Fork
329
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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_

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.