`change:style` listener is not triggered
Question
Are you using the latest release (older versions are NOT supported)? version 0.15.8What is the expected behavior? change:style listener should be triggered when changing/updating styleWhat happens instead? nothing happensIf you're able to reproduce the bug indicate all the necessary stepsDrag the text block to the canvasTry changing the text's style and attributesDemo https://codepen.io/iamriel/pen/aboROrz I have also tried change:attributes:style and even specific style like change:style:padding-top but still nothing happens. I am not sure if I just missed something. Thanks!
Answers (2)
Nevermind, I just disabled avoidInlineStyle: 0 :)
Hi, is there any way to listen to component style updates (in model or view) without using avoidInlineStyle: 0.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2657
[Bug]: custom style property is not working when toRequire attribute is set
Are you using the latest release (older versions are NOT supported)? YesWhat is the expected behavior? Custom style property applying to co...
Issue #2469
[BUG] Adding buttons to RTE toolbar in React App causes buttons to be duplicated.
Are you using the latest release (older versions are NOT supported)? YES, 0.15.9Are you facing the bug with your local copy of GrapesJS or...
Issue #1941
[BUG]: When dragging a block over the canvas, JS in script, is appended in canvas before dropping the block.
You're submitting a BUG Are you using the latest release (older versions are NOT supported)? v0.14.57 Are you facing the bug with your loca...
Issue #2722
[BUG] Highlight and toolbar positioned wrong on outside scroll
Are you using the latest release (older versions are NOT supported)? Yes Are you facing the bug with your local copy of GrapesJS or with th...
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 →Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.