Asset manager not deleting files on server unless upload triggered.
Hi Göranbut reappearing when reloading the page you're initializing the asset manager with assets: allfiles so if you don't change allfiles you always get the same set of imagesAlso when dragging an image to the canvas, the image is not showing up. Only the "missing file" ico and the name of the image. For this, I'd l...
Read full answer below ↓Question
Running latest version (0.14.29) on local server. Using the example webpage preset. Ubuntu 18.04, Chromium 68. Assetmanager init: And extend image type: The all_files variable is load from php, and it has the right data and format, all images stored on the server. The problem is that the onRemove is not triggering as it should. The images are showing up in the assetmanager modal correctly, but when pressing the X the function is not triggered. But they are deleted in the modal, but reappering when reloading the page. But if I upload a file, then it's working. The confirm popup is showing, and...
Answers (3)
Hi Göranbut reappearing when reloading the page you're initializing the asset manager with assets: allfiles so if you don't change allfiles you always get the same set of imagesAlso when dragging an image to the canvas, the image is not showing up. Only the "missing file" ico and the name of the im...
@artf I don't think you understood me. They are reappearing because they didn't get deleted on the server. all_files are generated via php on page reload, and showing the correct files on the server. The problem is that onRemove isn't triggered at all until I upload a file, then it is triggered. Wh...
Ah ok probably because your assets are already rendered. Try to apply those changes but inside a plugin
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1441
Drag image to canvas doesn't show image
Running latest version (0.14.29) on local server. Using the example webpage preset. Ubuntu 18.04, Chromium 69. I got a problem dragging ima...
Issue #1468
[bug] modaltitle no effect
Hello, I can't translate asset manager title to french. Example : assetManager: { storageType: '', storeOnChange: true, storeAfterUpload: t...
Issue #998
[BUG] Asset Manager sends empty request when uploading image
Description: GrapesJS editor is initialized in an editor.html file as follows: localhost:9001 is a local IIS server running PHP5. The conte...
Issue #646
Images dropped onto image picker get uploaded twice
Set the asset manager with the dropzone option set to true (which is true by default), something like that: then drop an image onto the dro...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →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.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.