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: update the menu item size for code_block, horizaontal_rule and tex_block
Lucas.Xue27e8e43e10c
diff --git 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.dartindex 990edf9298..c40a3f0ece 100644--- 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@@ -46,7 +46,11 @@ ShortcutEventHandler _ignorekHandler = (editorState, event) {SelectionMenuItem codeBlockMenuItem = SelectionMenuItem(name: () => 'Code Block',- icon: const Icon(Icons.abc),+ icon: const Icon(+ Icons.abc,+ color: Colors.black,+ size: 18.0,+ ),keywords: ['code block'],handler: (editorState, _, __) {final selection =diff --git a/frontend/app_flowy/packages/appflowy_editor/example/lib/plugin/horizontal_rule_node_widget.dart b/frontend/app_flowy/packages/appflowy_editor/example/lib/plugin/horizontal_rule_node_widget.dartindex a993dd0a5c..fca3df7b64 100644--- a/frontend/app_flowy/packages/appflowy_editor/example/lib/plugin/horizontal_rule_node_widget.dart+++ b/frontend/app_flowy/packages/appflowy_editor/example/lib/plugin/horizontal_rule_node_widget.dart@@ -38,7 +38,11 @@ ShortcutEventHandler _insertHorzaontalRule = (editorState, event) {SelectionMenuItem horizontalRuleMenuItem = SelectionMenuItem(name: () => 'Horizontal rule',- icon: const Icon(Icons.horizontal_rule),+ icon: const Icon(+ Icons.horizontal_rule,+ color: Colors.black,+ size: 18.0,+ ),keywords: ['horizontal rule'],handler: (editorState, _, __) {final selection =diff --git a/frontend/app_flowy/packages/appflowy_editor/example/lib/plugin/tex_block_node_widget.dart b/frontend/app_flowy/packages/appflowy_editor/example/lib/plugin/tex_block_node_widget.dartindex e76c3e160b..ac40a31508 100644--- a/frontend/app_flowy/packages/appflowy_editor/example/lib/plugin/tex_block_node_widget.dart+++ b/frontend/app_flowy/packages/appflowy_editor/example/lib/plugin/tex_block_node_widget.dart@@ -6,7 +6,11 @@ import 'package:flutter_math_fork/flutter_math.dart';SelectionMenuItem teXBlockMenuItem = SelectionMenuItem(name: () => 'Tex',- icon: const Icon(Icons.text_fields_rounded),+ icon: const Icon(+ Icons.text_fields_rounded,+ color: Colors.black,+ size: 18.0,+ ),keywords: ['tex, latex, katex'],handler: (editorState, _, __) {final selection =