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: don't include icon while exporting callout to md
Richard Shiue4e0d9fdb0b0c
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 867fcf236f..92dbf776bf 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@@ -10,7 +10,6 @@ class CalloutNodeParser extends NodeParser {@overrideString transform(Node node, DocumentMarkdownEncoder? encoder) {assert(node.children.isEmpty);- final icon = node.attributes[CalloutBlockKeys.icon];final delta = node.delta ?? Delta()..insert('');final String markdown = DeltaMarkdownEncoder()@@ -19,7 +18,6 @@ class CalloutNodeParser extends NodeParser {.map((e) => '> $e').join('\n');return '''-> $icon$markdown''';