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