Issue #2910💬 AnsweredOpened July 21, 2020by SintoDema0 reactions

Issue in Asset manager handling

Quick answerby artf

`upload : siteURL+'assets/CONTENT/img', is this image upload path or a function which uploads image? Image upload pathIf I'm using AmazonS3, can I able to get the editing option with the CORS issue? If you're trying to upload directly to S3 from the browser (without having your endpoint as a proxy) you can't do it (th...

Read full answer below ↓

Question

Hi @artf, I'm now working on grapesJS implementation in our application. I have gone through documents provided & some of the issues reported regarding the asset manager(https://github.com/artf/grapesjs/issues/216). I was not able to show the list of uploaded images in the Asset manager after a hard refresh list disappears. I have tried to upload files to AmazonS3, upload was ok & I get its response, also it is showing in the list. In this case, I was not able to edit images due to the CORS issue. Later, I tried with the base64 encoded image. With this method, I was able to edit uploaded imag...

Answers (3)

artfAugust 5, 2020

`upload : siteURL+'assets/CONTENT/img', is this image upload path or a function which uploads image? Image upload pathIf I'm using AmazonS3, can I able to get the editing option with the CORS issue? If you're trying to upload directly to S3 from the browser (without having your endpoint as a proxy)...

SintoDemaAugust 5, 2020

Hi @artf , Thank you for your reply.If you're trying to upload directly to S3 from the browser (without having your endpoint as a proxy) you can't do it (this is why CORS exists). So, send the file to your endpoint, then from your backend script you can do whatever you want. I'm uploading the file...

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.