Opened 10 years ago
Last modified 10 years ago
#13518 closed New Feature
Request should be more flexible — at Version 3
| Reported by: | Piotr Jasiun | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 4.6.0 |
| Component: | General | Version: | 4.5.0 |
| Keywords: | Cc: |
Description (last modified by )
It should be easy to add some additional parameters to the request. Parameters defined in the upload widget definition should be passed to the fileLoader, to the fileUploadRequest and finally to the request build by the default fileUploadRequest handler. So for example:
fileTools.addUploadWidget( editor, 'sepiauploadimage', {
additionalRequestParameters: { sepia: true },
// ...
} );
Will add evt.data.additionalRequestParameters.sepia = true to the fileUploadRequest and send it to the server (formData.append( 'sepia', 'true');).
Change History (3)
comment:1 Changed 10 years ago by
| Version: | 4.5.0 → 4.5.0 Beta |
|---|
comment:2 Changed 10 years ago by
| Description: | modified (diff) |
|---|
comment:3 Changed 10 years ago by
| Description: | modified (diff) |
|---|
