Issue #2276💬 AnsweredOpened September 18, 2019by iamriel0 reactions

`change:style` listener is not triggered

Quick answerby iamriel

Nevermind, I just disabled avoidInlineStyle: 0 :)

Read full answer below ↓

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)

iamrielSeptember 18, 2019

Nevermind, I just disabled avoidInlineStyle: 0 :)

VanShaneApril 12, 2024

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.

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 →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.