Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

feat: add converter

Vincent Chanfe7c19666f87
diff --git a/frontend/app_flowy/packages/flowy_editor/lib/src/infra/html_converter.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/infra/html_converter.dart
index 5963d5955d..329544d0cc 100644
--- a/frontend/app_flowy/packages/flowy_editor/lib/src/infra/html_converter.dart
+++ b/frontend/app_flowy/packages/flowy_editor/lib/src/infra/html_converter.dart
@@ -91,7 +91,7 @@ class HTMLToNodesConverter {
for (final child in element.nodes.toList()) {
if (child is html.Element) {
- result.addAll(_handleElement(child, {"subtype": "quote"}));
+ result.addAll(_handleElement(child, {"subtype": StyleKey.quote}));
}
}