Issue #738💬 AnsweredOpened January 10, 2018by theanhmx0 reactions

Image reverted to original size after resized

Quick answerby artf

Are you sure there are no strange styles loaded which forces img style? Try to inspect and see if style actually changes

Read full answer below ↓

Question

hi, i got a strange issue with component: i got 2 types, image and icon the issue is when i first drag and drop the image component, i'm able to resize and save it, but when i load the template again, i'm not able to resize the image again. i can adjust the image size but after couple of second it will be reverted. i noticed there are component:update and component:styleUpdate event fired. is this have anything to do with the angularjs digest cycle? i'm using with angular 1.3

Answers (3)

artfJanuary 10, 2018

Are you sure there are no strange styles loaded which forces img style? Try to inspect and see if style actually changes

theanhmxJanuary 11, 2018

yes, i can see it change in the local storage. but after some short time it changed back

artfJanuary 11, 2018

Are you able to reproduce it with a live example?

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.