Explorar el Código

Merge pull request #891 from AppFlowy-IO/fix/create_doc_error

fix: create document errors
Nathan.fooo hace 2 años
padre
commit
b643513753
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      frontend/app_flowy/lib/startup/plugin/plugin.dart

+ 1 - 1
frontend/app_flowy/lib/startup/plugin/plugin.dart

@@ -56,7 +56,7 @@ abstract class PluginBuilder {
 
   ViewDataTypePB get dataType => ViewDataTypePB.Text;
 
-  ViewLayoutTypePB? get subDataType => null;
+  ViewLayoutTypePB? get subDataType => ViewLayoutTypePB.Document;
 }
 
 abstract class PluginConfig {