AppFlowy-IO / AppFlowy-IO/appflowy-editor

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

Aberta
#1,030 2 comentários 2 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Dart
Estrelas
684
Forks
329
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.