mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: add sub data type
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
library docuemnt_plugin;
|
||||
library document_plugin;
|
||||
|
||||
import 'package:app_flowy/generated/locale_keys.g.dart';
|
||||
import 'package:app_flowy/startup/plugin/plugin.dart';
|
||||
@ -42,10 +42,10 @@ class DocumentPluginBuilder extends PluginBuilder {
|
||||
String get menuName => LocaleKeys.document_menuName.tr();
|
||||
|
||||
@override
|
||||
PluginType get pluginType => DefaultPlugin.quill.type();
|
||||
PluginType get pluginType => DefaultPlugin.editor.type();
|
||||
|
||||
@override
|
||||
ViewDataType get dataType => ViewDataType.TextBlock;
|
||||
ViewDataTypePB get dataType => ViewDataTypePB.TextBlock;
|
||||
}
|
||||
|
||||
class DocumentPlugin implements Plugin {
|
||||
|
Reference in New Issue
Block a user