pell icon indicating copy to clipboard operation
pell copied to clipboard

Support uploading local image

Open tatwd opened this issue 6 years ago • 2 comments

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

for example:

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!

tatwd avatar Jun 11 '18 13:06 tatwd

Cool I'll check it out when I get a chance, thanks

jaredreich avatar Jun 11 '18 13:06 jaredreich

Is this still something that can be done?

Sayyiditow avatar Apr 08 '20 05:04 Sayyiditow