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
fix: fix test
Richard Shiue0cefaf633c48
diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/parsers/callout_node_parser.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/parsers/callout_node_parser.dartindex 45d8be9844..b16a44cf6f 100644--- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/parsers/callout_node_parser.dart+++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/parsers/callout_node_parser.dart@@ -19,7 +19,7 @@ class CalloutNodeParser extends NodeParser {.map((e) => '> $e').join('\n');final type = node.attributes[CalloutBlockKeys.iconType];- final icon = type == FlowyIconType.emoji.name+ final icon = type == FlowyIconType.emoji.name || type == null || type == ""? node.attributes[CalloutBlockKeys.icon]: null;