Issue #5788πŸ’¬ AnsweredOpened Apr 2, 2024by lexoyo0 reactions

CSS properties default values

Quick answerby artf

i need to select something else then normal again Yeah in case there are no values, the default UI preselects the default value, but that can be easily updated So I guess this is not a core bug but an "unexpectedly expected" behavior πŸ₯²

Read full answer below ↓

Question

GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? N/AReproducible demo link https://grapesjs.com/demo.htmlDescribe the bug Hi everyone !!! <3 How to reproduce the bug?open grapesjs official webpage democlick on a container, e.g. the hero section containerapply a font-weight: bold; style to the container => all the texts inside become boldselect one of the texts inside, check the property font-weight, it is set to normal What is the expected behavior? font-weight should be on '' empty string or unset so that i can select normal to un-apply the font-...

Answers (3)

artfβ€’ Apr 3, 2024

i need to select something else then normal again Yeah in case there are no values, the default UI preselects the default value, but that can be easily updated So I guess this is not a core bug but an "unexpectedly expected" behavior πŸ₯²

lexoyoβ€’ Apr 4, 2024

Oh ok, I thought you would want the default default value to be the expected expected behaviour πŸ˜ƒ

Thank you for the answer

GJS Helperβ€’ May 17, 2026

Hi there! Thanks for reporting this issue. You've accurately identified a common point of confusion and a valid usability concern within the GrapesJS Style Manager regarding default CSS property values, especially when dealing with inheritance. This behavior is not a bug in the sense of GrapesJS ma...

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.