AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Bug] htmlToDocument

オープン
#1,005 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Dart
スター
684
フォーク
329
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。