Issue #1971đź’¬ AnsweredOpened April 22, 2019by sakshigarg91 reactions

Event triggers previous state attributes to remote storage

Quick answerby sakshigarg9❤ 1

had to initialize autosave to false and autoload to true and call editor.store at the end of the event. issue resolved

Read full answer below ↓

Question

I'm trying to extract the change in src of an image and store it in the remote storage using Storage Manager, by using the following code The issue I'm facing is that when I change the image for the first time, it gives me the desired output in the console-> storage assets image2.jpg but the params are not affected, in fact no trigger it made to the params The second time I change the image to to image1.jpg, i get the desired output in the console-> storage assets image1.jpg but the params affected contain values of the previous state and return image2.jpg hence on, every time i change to a n...

Answers (2)

sakshigarg9• April 24, 2019

had to initialize autosave to false and autoload to true and call editor.store at the end of the event. issue resolved

lock[bot]• April 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

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.