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