AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Bug] markdown to document newline & image in paragraph

Open
#943 5 comments 1 reaction 0 assignees View on GitHub
p1
Dominant language
Dart
Stars
684
Forks
329
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.