AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Bug] htmlToDocument

Offen
#1,005 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Dart
Sterne
684
Forks
329
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.