浏览代码

fix: create document errors

appflowy 2 年之前
父节点
当前提交
b762151d44
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {