Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
chore: remove unused code
Lucas.Xuf6e1f2185e37
diff --git a/frontend/app_flowy/packages/appflowy_editor/example/lib/main.dart b/frontend/app_flowy/packages/appflowy_editor/example/lib/main.dartindex bdb7f5d701..a81b823f37 100644--- a/frontend/app_flowy/packages/appflowy_editor/example/lib/main.dart+++ b/frontend/app_flowy/packages/appflowy_editor/example/lib/main.dart@@ -111,47 +111,6 @@ class _MyHomePageState extends State<MyHomePage> {if (!darkMode) ...lightEditorStyleExtension,if (!darkMode) ...lightPlguinStyleExtension,]);- final delta = Delta();- delta.add(TextInsert('Hello '));- delta.add(- TextInsert(- 'World',- attributes: {- BuiltInAttributeKey.bold: true,- BuiltInAttributeKey.italic: true,- },- ),- );- delta.add(- TextInsert(- ' ',- ),- );- delta.add(- TextInsert(- 'Again',- attributes: {- BuiltInAttributeKey.italic: true,- },- ),- );- delta.add(- TextInsert(- ' ',- ),- );- delta.add(- TextInsert(- 'Again',- attributes: {- BuiltInAttributeKey.href: 'https://google.com',- BuiltInAttributeKey.italic: true,- BuiltInAttributeKey.bold: true,- BuiltInAttributeKey.strikethrough: true,- },- ),- );- final result = DeltaMarkdownEncoder().convert(delta);return Container(color: darkMode ? Colors.black : Colors.white,width: MediaQuery.of(context).size.width,