BUG: Style manager does not accurately reflect inherited color
Question
GrapesJS version
- 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-widthclass in the demo - In typography, select a color such as green
- Click one of the child elements that visibly just inherited the color green
- Expand 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 selected child element
What is the current behavior? It is currently displaying white
If is necessary to execute some code in order to reproduce the bug, paste it here below:
// your code here
Code of Conduct
- I agree to follow this project's Code of Conduct
Answers (2)
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.
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.
— Reply to this email directly, view it on GitHub https://github.com/artf/grapesjs/issues/4447#issuecomment-1187431826, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARNBQYPWWWGE4ZNALD2EFDVUVL27ANCNFSM53O6VWTA . You are receiving this because you authored the thread.Message ID: @.***>
--
Barry Ross
Software Engineer
T:
M:
https://www.eventfarm.com/safety?utm_source=email&utm_medium=signature&utm_campaign=clear https://www.eventfarm.com/safety?utm_source=email&utm_medium=signature&utm_campaign=clear
Related Questions and Answers
Continue research with similar issue discussions.
Issue #4257
BUG: Background modification doesn't work for non-images
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v100 Reproducible demo link https:/...
Issue #5378
BUG: Uncaught TypeError: Cannot read properties of undefined (reading 'Canvas') while dragging a component in Layer Manager Panel
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v116.0.5845.97 Reproducible demo li...
Issue #4208
BUG: Style click state bug in every element
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Brave Last, tested on chrome last and Safa...
Issue #4000
BUG: Pasting a component in root body layer throws TypeError
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v89 Reproducible demo link https://...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.