From ef7b83ca84e98f7b8c361fd1b9f86ffeaa511318 Mon Sep 17 00:00:00 2001 From: zbf Date: Tue, 19 Nov 2024 16:33:14 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=AD=A3=E8=AF=AD=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/api-en-US.md | 80 ++++++++++++++++++++++----------------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/public/api-en-US.md b/public/api-en-US.md index 212ecb99..69a407e1 100644 --- a/public/api-en-US.md +++ b/public/api-en-US.md @@ -1797,15 +1797,15 @@ To help developers quickly insert content and use editor attributes, the editor - **props** - - `title`: `string`, not necessary, title of toolbar. + - `title`: `string`, not required, title of toolbar. - **events** - - `onClick`: `(e: MouseEvent) => void`, necessary. + - `onClick`: `(e: MouseEvent) => void`, required. - **slots** - - `trigger`: `VNode | JSX.Element`, necessary, it is usually an icon, which is displayed on the toolbar. + - `trigger`: `VNode | JSX.Element`, required, it is usually an icon, which is displayed on the toolbar. usage: @@ -1884,17 +1884,17 @@ const toolbars = ['bold', 0, 'github']; - **props** - - `title`: `string`, not necessary, title of toolbar. - - `visible`: `boolean`, necessary. + - `title`: `string`, not required, title of toolbar. + - `visible`: `boolean`, required. - **events** - - `onChange`: `(visible: boolean) => void`, necessary. + - `onChange`: `(visible: boolean) => void`, required. - **slots** - - `trigger`: `VNode | JSX.Element`, necessary, it is usually an icon, which is displayed on the toolbar. - - `overlay`: `VNode | JSX.Element`, necessary, content of dropdown box. + - `trigger`: `VNode | JSX.Element`, required, it is usually an icon, which is displayed on the toolbar. + - `overlay`: `VNode | JSX.Element`, required, content of dropdown box. ```vue