diff --git a/docs/plugin/plugin-image.md b/docs/plugin/plugin-image.md index 744de1e5..aac68c83 100644 --- a/docs/plugin/plugin-image.md +++ b/docs/plugin/plugin-image.md @@ -27,6 +27,12 @@ The main functions of the `ImageUploader` plugin: select images, upload images, onBeforeRender?: (status:'uploading' |'done', src: string) => string; ``` +`enableResizer` Whether the image size can be modified by dragging, the default is true + +`enableTypeSwitch` whether to enable block inline mode switching, the default is true + +`defaultType` sets the default image card type, the default is 'inline' + ## `ImageUploader` optional ```ts diff --git a/docs/plugin/plugin-image.zh-CN.md b/docs/plugin/plugin-image.zh-CN.md index b31512b7..8b2b52a1 100644 --- a/docs/plugin/plugin-image.zh-CN.md +++ b/docs/plugin/plugin-image.zh-CN.md @@ -27,6 +27,12 @@ new Engine(...,{ plugins:[ Image , ImageUploader ] , cards:[ ImageComponent ]}) onBeforeRender?: (status: 'uploading' | 'done', src: string) => string; ``` +`enableResizer` 图片大小是否可以拖动修改,默认为 true + +`enableTypeSwitch` 是否启用 block inline 模式切换,默认为 true + +`defaultType` 设置默认的图片卡片类型,默认为 'inline' + ## `ImageUploader` 可选项 ```ts diff --git a/plugins/image/README.md b/plugins/image/README.md index b31512b7..8b2b52a1 100644 --- a/plugins/image/README.md +++ b/plugins/image/README.md @@ -27,6 +27,12 @@ new Engine(...,{ plugins:[ Image , ImageUploader ] , cards:[ ImageComponent ]}) onBeforeRender?: (status: 'uploading' | 'done', src: string) => string; ``` +`enableResizer` 图片大小是否可以拖动修改,默认为 true + +`enableTypeSwitch` 是否启用 block inline 模式切换,默认为 true + +`defaultType` 设置默认的图片卡片类型,默认为 'inline' + ## `ImageUploader` 可选项 ```ts