From 9584d783f467a23cbee11d71c269c60c7bf8c0fa Mon Sep 17 00:00:00 2001 From: Lei OT Date: Fri, 13 Dec 2024 11:01:37 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=BC=96=E8=BE=91=E5=99=A8=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=E6=A0=8F=E5=90=B8=E9=A1=B6;=20fix:=20=E9=82=AE?= =?UTF-8?q?=E4=BB=B6=E6=B6=88=E6=81=AF=E9=80=9A=E8=BF=87=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=E6=9B=B4=E6=96=B0coli=20id,=20=E4=BB=8E?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E5=9B=9E=E5=A4=8D=E7=9A=84=E9=82=AE=E4=BB=B6?= =?UTF-8?q?=E7=BC=BA=E5=B0=91coli=20id;=20=E5=9B=9E=E5=A4=8D=E9=82=AE?= =?UTF-8?q?=E4=BB=B6=E5=90=AB=E6=9C=89=E5=BC=95=E7=94=A8=E6=97=B6=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E5=99=A8=E5=AF=BC=E5=85=A5=E5=AF=BC=E8=87=B4=E5=8E=9F?= =?UTF-8?q?=E6=96=87=E6=A0=BC=E5=BC=8F=E4=B8=A2=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LexicalEditor/plugins/ToolbarPlugin.jsx | 2 +- src/stores/ConversationStore.js | 7 +- .../Online/Components/BubbleEmail.jsx | 2 +- .../Online/Components/EmailDetail.jsx | 4 +- .../Online/Input/EmailEditorPopup.jsx | 95 ++++++++----------- 5 files changed, 50 insertions(+), 60 deletions(-) diff --git a/src/components/LexicalEditor/plugins/ToolbarPlugin.jsx b/src/components/LexicalEditor/plugins/ToolbarPlugin.jsx index 8142b96..27b7db5 100644 --- a/src/components/LexicalEditor/plugins/ToolbarPlugin.jsx +++ b/src/components/LexicalEditor/plugins/ToolbarPlugin.jsx @@ -766,7 +766,7 @@ export default function ToolbarPlugin() { }, [editor]); return ( -
+
- setOpenPlainTextConfirm(false)}> + setOpenPlainTextConfirm(false)}> 纯文本 -
}>
- + - + - - + + {/* 更多工具 */} {/* + {quoteid && !showQuoteContent && ( +
+ + {/* */} +
+ )} + {showQuoteContent && ( +
setQuoteContent(e.target.innerHTML)} dangerouslySetInnerHTML={{ __html: generateQuoteContent(mailData) }}>
+ )} - ); + ) }; export default EmailEditorPopup;