Skip to content

Commit

Permalink
Adjusted API docs for config.filebrowserUploadMethod - it no longer u…
Browse files Browse the repository at this point in the history
…ses null value.
  • Loading branch information
mlewand committed Feb 1, 2018
1 parent 0059823 commit 3997044
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions plugins/filebrowser/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -604,10 +604,9 @@
*
* Available values:
*
* * `'xhr'` - (default) XMLHttpRequest is used to upload file. Using this option allows to set up with additional XHR headers with
* * `'xhr'` - XMLHttpRequest is used to upload file. Using this option allows to set up with additional XHR headers with
* {@link CKEDITOR.config#fileTools_requestHeaders} option.
* * `'form'` - File is uploaded by submitting a traditional `<form>` element.
* * `null` - The default method is used. _Note: Below version 4.9.0 only available upload option was submitting a form._
* * `'form'` - File is uploaded by submitting a traditional `<form>` element. _Note: That was the only option available until CKEditor 4.9.0._
*
* Note: please be aware that `'xhr'` requires the [File Tools](https://ckeditor.com/cke4/addon/filetools) plugin to work
* properly. Without the plugin or using a browser that does not support
Expand All @@ -618,6 +617,6 @@
* config.filebrowserUploadMethod = 'form';
*
* @since 4.9.0
* @cfg {String/null} [filebrowserUploadMethod=null]
* @cfg {String} [filebrowserUploadMethod='xhr']
* @member CKEDITOR.config
*/

0 comments on commit 3997044

Please sign in to comment.