AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Bug] htmlToDocument

Abierto
#1,005 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Dart
Estrellas
684
Forks
329
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Bug Description

Bold tag error

### How to Reproduce

html like this:
```

AppFlowyEditor


Bold tag

You can also use


AppFlowy Editor
```

``final html = htmlToDocument(htmlString);``
then print(html.toJson()):

``flutter: {document: {type: page, children: [{type: heading, data: {delta: [{insert: AppFlowyEditor}], level: 1}}, {type: paragraph, data: {delta: [{insert: Bold tag, attributes: {bold: true}}]}}, {type: paragraph, data: {delta: [{insert: You can also use}]}}, {type: paragraph, data: {delta: [{insert: Bold tag, attributes: {bold: true}}, {insert: AppFlowy Editor, attributes: {bold: true, italic: true}}]}}]}}``

### Expected Behavior

rt

### Operating System

iOS

### AppFlowy Editor Version(s)

Master

### Screenshots

_No response_

### Additional Context

_No response_

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.