Selaa lähdekoodia

feat: add converter

Vincent Chan 2 vuotta sitten
vanhempi
commit
fe7c19666f

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