Issue #4447πŸ’¬ AnsweredOpened Jul 13, 2022by barryross0 reactions

Style manager does not accurately reflect inherited color

Quick answerby artf

Hi Barry, yeah currently this is the expected behavior (check also this discussion) but I hope one day to add proper support for inherited properties.

Read full answer below ↓

Question

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? 103.0.5060.114 Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Click a parent container, such as the first component with the .container-width class in the demoIn typography, select a color such as greenClick one of the child elements that visibly just inherited the color greenExpand typography panel in style manager What is the expected behavior? I would think we would want the color picker to display the inherited / computed value of green for the...

Answers (3)

artfβ€’ Jul 18, 2022

Hi Barry, yeah currently this is the expected behavior (check also this discussion) but I hope one day to add proper support for inherited properties.

barryrossβ€’ Jul 20, 2022

okay, thank you for letting me know On Mon, Jul 18, 2022 at 9:29 AM Artur Arseniev @.> wrote: Hi Barry, yeah currently this is the expected behavior (check also this discussion <https://github.com/artf/grapesjs/discussions/4245>) but I hope one day to add proper support for inherited properties. β€”...

GJSBlockβ€’ May 17, 2026

Thanks for reporting this, @barryross. Great question about Style manager does not accurately reflect inherited color. The recommended approach with StyleManager is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for the on() event listener me...

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.