Skip to content

Commit

Permalink
Update API docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Comandeer committed Feb 21, 2023
1 parent 536b572 commit 0dc7097
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions plugins/uploadimage/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,16 @@

/**
* A regular expression that defines which image types are supported
* by upload image plugin.
* by the [Upload Image](https://ckeditor.com/cke4/addon/uploadimage) plugin.
*
* // Accepts only png and jpeg image types.
* config.uploadImage_supportedTypes = /image\/(png|jpeg)/;
* ```javascript
* // Accepts only png and jpeg image types.
* config.uploadImage_supportedTypes = /image\/(png|jpeg)/;
* ```
*
* @since 4.20.2
* @since 4.20.3
* @cfg {RegExp} [uploadImage_supportedTypes=/image\/(jpeg|png|gif|bmp)/]
* @member CKEDITOR.config
*/
CKEDITOR.config.uploadImage_supportedTypes = /image\/(jpeg|png|gif|bmp)/;
CKEDITOR.config.uploadImage_supportedTypes = /image\/(jpeg|png|gif|bmp)/;
} )();

0 comments on commit 0dc7097

Please sign in to comment.