Asset Manager Configuration Is not Working
Question
Hi, I tried all possible ways to change asset manager configuration, but it is not working as expected. Even I create a sample plugin but it does not seem to work. Basically I want to upload the file on my server, I gave the URL but it not sending any request on the server.
I then override uploadFile, it works to send data on the server and receive a response in the same format which was is documentation but from there I have to use editor.AssetManager but the editor is null until we create it's instance.
https://github.com/artf/grapesjs/issues/216#issuecomment-321051380 https://github.com/artf/grapesjs/issues/1581 <img width="1210" alt="Screenshot 2020-09-08 at 9 25 18 AM" src="https://user-images.githubusercontent.com/11537372/92431974-75262f00-f1b6-11ea-84b4-ba465818e3a6.png">
Answers (3)
You have to use the I18n module to update those labels
@artf This is not only about label. I gave my API URL in upload but not able to receive any call on the API, neither didn't see any in the network.
I tried to disable upload but not working. <img width="1384" alt="Screenshot 2020-09-15 at 12 48 57 PM" src="https://user-images.githubusercontent.com/11537372/93178562-0a469c00-f752-11ea-89ce-ed1b2a9ac33c.png">
Related Questions and Answers
Continue research with similar issue discussions.
Issue #426
After image Upload immediately show in the asset Manager
@ artf I tried my best, but still it doesn't seem to work Can you please help me in this. Once I upload a image I don't want to refresh the...
Issue #3376
Changing upload URL for AssetManager programmatically
I've got an situation where depending on how the Asset Manager is opened I want to pass a slightly different upload URL. In the asset:uploa...
Issue #2760
Assets rendering all imagens instead of just some.
Hey @artf, first of all, great Job with the GrapesJS! I'm having a lot of fun working with it. Is is amazing! So, about the issue, or maybe...
Issue #372
Asset Manager not automatically add images to assets after uploading
The JSON response of an upload is like this {"data":["http://url.com/flower.jpg"]} The response event is working.In the response event resp...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.