From b934bbffdae6ed3e2abade02b7aaf88140ae00c8 Mon Sep 17 00:00:00 2001 From: LiuJiaNan <15703339975@163.com> Date: Sat, 6 Dec 2025 15:45:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96Editor=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Editor/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Editor/index.d.ts b/components/Editor/index.d.ts index d940681..03017ab 100644 --- a/components/Editor/index.d.ts +++ b/components/Editor/index.d.ts @@ -3,9 +3,9 @@ import type { ForwardRefExoticComponent, RefAttributes } from "react"; export interface EditorProps { /** 编辑器内容值 */ - value?: string; + value: string; /** 内容改变回调 */ - onChange?: (html: string) => void; + onChange: (html: string) => void; /** 是否禁用 */ disabled?: boolean; }