From a201d82984809f445cd74ca9932bede39d1a1c9c Mon Sep 17 00:00:00 2001 From: tianyaxiang Date: Sun, 2 Feb 2025 11:33:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E5=9D=97=E4=B8=BB=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/editor/components/EditorToolbar.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/editor/components/EditorToolbar.tsx b/src/components/editor/components/EditorToolbar.tsx index 192b0b8..d1ea5c2 100644 --- a/src/components/editor/components/EditorToolbar.tsx +++ b/src/components/editor/components/EditorToolbar.tsx @@ -26,6 +26,8 @@ interface EditorToolbarProps { selectedTemplate: string styleOptions: RendererOptions codeTheme: CodeThemeId + wordCount: string + readingTime: string onSave: () => void onCopy: () => Promise onCopyPreview: () => Promise @@ -54,7 +56,9 @@ export function EditorToolbar({ onPreviewToggle, styleOptions, codeTheme, - onCodeThemeChange + onCodeThemeChange, + wordCount, + readingTime }: EditorToolbarProps) { const { toast } = useToast()