浏览代码

feat: add converter

Vincent Chan 2 年之前
父节点
当前提交
fe7c19666f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      frontend/app_flowy/packages/flowy_editor/lib/src/infra/html_converter.dart

+ 1 - 1
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}));
       }
     }