Explorar o código

feat: add converter

Vincent Chan %!s(int64=2) %!d(string=hai) anos
pai
achega
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}));
       }
     }