From dc73df4203ae303622daf23decb45bf2eaf84b9a Mon Sep 17 00:00:00 2001 From: "Lucas.Xu" Date: Tue, 30 May 2023 07:55:58 +0800 Subject: [PATCH] chore: update editor version (#2654) * fix: revert remove action container space in mobile * fix: setup the background color of the slash menu when clicking the add button * fix: #2634 Visual bug in divider between main editor area and top area * fix: v0.2 bugs * feat: implement auto scroll when selection updated * chore: update intl --- .../lib/plugins/document/presentation/editor_page.dart | 1 + .../lib/workspace/presentation/home/home_stack.dart | 4 ++-- frontend/appflowy_flutter/pubspec.lock | 4 ++-- frontend/appflowy_flutter/pubspec.yaml | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart index 33a5810835..0722ed0e36 100644 --- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart +++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart @@ -80,6 +80,7 @@ class _AppFlowyEditorPageState extends State { late final showSlashMenu = customSlashCommand( slashMenuItems, shouldInsertSlash: false, + style: styleCustomizer.selectionMenuStyleBuilder(), ).handler; late final styleCustomizer = EditorStyleCustomizer(context: context); diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/home/home_stack.dart b/frontend/appflowy_flutter/lib/workspace/presentation/home/home_stack.dart index c3795ada86..119dc64224 100644 --- a/frontend/appflowy_flutter/lib/workspace/presentation/home/home_stack.dart +++ b/frontend/appflowy_flutter/lib/workspace/presentation/home/home_stack.dart @@ -224,8 +224,8 @@ class HomeTopBar extends StatelessWidget { ), ), ], - ).bottomBorder(color: Theme.of(context).dividerColor), - ), + ), + ).bottomBorder(color: Theme.of(context).dividerColor), ); } } diff --git a/frontend/appflowy_flutter/pubspec.lock b/frontend/appflowy_flutter/pubspec.lock index 2b4eeaf2ca..2d731706c1 100644 --- a/frontend/appflowy_flutter/pubspec.lock +++ b/frontend/appflowy_flutter/pubspec.lock @@ -53,8 +53,8 @@ packages: dependency: "direct main" description: path: "." - ref: "30ce149" - resolved-ref: "30ce149371c77a8076f3a147fd036114a676f474" + ref: "29ee7a3" + resolved-ref: "29ee7a343f4ded8a15bc74ea0df6a458e70cb231" url: "https://github.com/AppFlowy-IO/appflowy-editor.git" source: git version: "0.1.12" diff --git a/frontend/appflowy_flutter/pubspec.yaml b/frontend/appflowy_flutter/pubspec.yaml index 9d5a473a00..f430567d5f 100644 --- a/frontend/appflowy_flutter/pubspec.yaml +++ b/frontend/appflowy_flutter/pubspec.yaml @@ -45,7 +45,7 @@ dependencies: appflowy_editor: git: url: https://github.com/AppFlowy-IO/appflowy-editor.git - ref: 30ce149 + ref: 9732d30 appflowy_popover: path: packages/appflowy_popover