Browse Source

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

fix: create document errors
Nathan.fooo 2 years ago
parent
commit
b643513753
1 changed files with 1 additions and 1 deletions
  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 {