Skip to content

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.

Merge branch 'main' into latex

Lucas.Xuc9fc9e7497a4
diff --cc frontend/app_flowy/packages/appflowy_editor/example/lib/plugin/code_block_node_widget.dart
index 645e4c0c75,8f80990fc4..990edf9298
--- a/frontend/app_flowy/packages/appflowy_editor/example/lib/plugin/code_block_node_widget.dart
+++ b/frontend/app_flowy/packages/appflowy_editor/example/lib/plugin/code_block_node_widget.dart
@@@ -44,8 -44,8 +44,8 @@@ ShortcutEventHandler _ignorekHandler =
return KeyEventResult.ignored;
};
-SelectionMenuItem codeBlockItem = SelectionMenuItem(
+SelectionMenuItem codeBlockMenuItem = SelectionMenuItem(
- name: 'Code Block',
+ name: () => 'Code Block',
icon: const Icon(Icons.abc),
keywords: ['code block'],
handler: (editorState, _, __) {