From 4109fe32451aaff227a4bca378bf8f280f81abb8 Mon Sep 17 00:00:00 2001 From: Johnny Date: Tue, 23 Dec 2025 20:11:38 +0800 Subject: [PATCH] chore(MemoEditor): enhance focus mode handling and improve editor layout --- .../components/MemoEditor/Editor/index.tsx | 8 ++-- .../MemoEditor/components/EditorContent.tsx | 16 +++++-- .../MemoEditor/components/EditorToolbar.tsx | 20 +++++++-- web/src/components/MemoEditor/constants.ts | 5 +-- web/src/components/MemoEditor/index.tsx | 45 ++++++++++++------- .../PagedMemoList/PagedMemoList.tsx | 4 +- .../memo-metadata/AttachmentList.tsx | 2 +- .../components/memo-metadata/RelationList.tsx | 2 +- 8 files changed, 70 insertions(+), 32 deletions(-) diff --git a/web/src/components/MemoEditor/Editor/index.tsx b/web/src/components/MemoEditor/Editor/index.tsx index 5e9ec6bda..3bf1e0e1f 100644 --- a/web/src/components/MemoEditor/Editor/index.tsx +++ b/web/src/components/MemoEditor/Editor/index.tsx @@ -152,15 +152,17 @@ const Editor = forwardRef(function Editor(props: Props, ref: React.ForwardedRef< return (