updatesrc on image change
Question
I must be missing something, but when I change an image, the localstorage html isn't updating, however, changing the text does. So when I refresh the page after changing an image and text, the text remains, but the image not. Is there a setting I need to change to make the localstorage html update the image src?
Answers (3)
Thanks for the catch @kickbk, actually src was not listened. The fix will be available in the next release
Hi @artf This is not working in the current demo (neither on my side). If you change any image and reload the page, the image goes to it's previous src.
It's not working the first time you load a template. If you add new images in the current canvas, the src listener works as expected.
I have been debugging it for some hours, but all the ideas were unsuccessful :(
I had to solve this using a workaround and it seems like a good solution at the moment. I have created my own localstorage and I'm saving the template on $(window).on('unload... and loading it again on $(window).on('load'
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 #1404
addType in domcomponent for html conditionals generates a <div> in visualization
I have followed the instructions from issues #37, #787 , #208 , #1254 The comments are there in the HTML, however an "\<div\>" element is c...
Issue #1766
Is There any way to integrate ImageEditor in GrapesJs
After Dropping the image inside the editor is there any plugin for GrapesJs to edit that image like Cropping , adding text on it .....
Issue #855
[QUESTION] No spacing with new button in export window
I've implemented a new plugin that adds another button in the export window, it's working fine. However when the page displays there isn't...
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.