custom url for the image uploader
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 406
- Forks
- 131
- Avg merge
- 2h 32m
- Merged PRs (30d)
- 2
Description
Hi,
Thanks for the editor, I would like to upload the images in custom url(server)
xxxx/upload and not in https://xdsoft.net/jodit/connector/index.php?action=fileUpload
`.
I tried by changing configuration in uploader.ts file, but din work out,
Config.prototype.uploader = {
url: '***/upload',
insertImageAsBase64URI: false,
imagesExtensions: ['jpg', 'png', 'jpeg', 'gif'],
headers: {
Authorization: "zjdkjfkld"
},
filesVariableName(i: number): string {
return `files`;
},
withCredentials: false,
pathVariableName: 'path',
format: 'json',
method: 'POST',
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the uploader.ts configuration referenced in the report and trace how the uploader selects its URL. Reproduce the configuration with the reported custom endpoint and determine the expected upload response; done means uploads use the configured server URL instead of the default connector URL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- api, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100