瀏覽代碼

Update image upload types configuration description.

Maciej Gołaszewski 6 年之前
父節點
當前提交
90e956e05c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-image/src/imageupload.js

+ 1 - 1
packages/ckeditor5-image/src/imageupload.js

@@ -75,7 +75,7 @@ export default class ImageUpload extends Plugin {
  *		};
  *
  * The type string should match [one of the sub-types](https://www.iana.org/assignments/media-types/media-types.xhtml#image)
- * of the image mime-type. E.g. for the `image/jpeg` mime-type use `jpeg`.
+ * of the image mime-type. E.g. for the `image/jpeg` mime-type add `'jpeg'` to types array.
  *
  * **Note:** This setting only restricts some image types to be selected and uploaded through the CKEditor UI and commands. Image type
  * recognition and filtering should be also implemented on the server that accepts images uploads.