jaredreich / jaredreich/pell

Support uploading local image

Open
#131 2 comments 2 reactions 0 assignees View on GitHub
plugin
Dominant language
JavaScript
Stars
12k
Forks
546
PR merge metrics
No merged PRs in 30d

Description

I have added a feature that support uploading local image to server with Fetch API (only keep smallest)

for example:
```js
var editor = window.pell.init({
// ...
// if you want to upload image to server
// you must config this
upload: {
api: 'http://localhost:53595/api/files/img/upload'
}
})
```
More detail to visit my repo 👉https://github.com/tatwd/pell
if you agree with that, I will send a PR to you.

Thank you!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the pell.init configuration shown in the issue and review the proposed Fetch API upload flow in the linked example repository. Done means local images can be uploaded through the configured upload.api endpoint while retaining only the smallest image, with the behavior verified in the project.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.