You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regression 0.50.0 : Color Menu render preview #2732
0.50.0 (broken):
[data-style-type="textColor"][data-value="red"],
.bn-block:has(> .bn-block-content[data-text-color="red"]) { /* ← scoped to editor blocks only */
color: var(--bn-colors-highlights-red-text);
}
The standalone [data-text-color="red"] selector was replaced by a .bn-block:has(> .bn-block-content[...]) selector —
clearly to prevent the rule from leaking onto non-block content inside the editor (a reasonable intent).
Contribution
I'd be interested in contributing a fix for this issue
Sponsor
I'm a sponsor and would appreciate if you could look into this sooner than later 💖
Activity
AntoLC commentedon May 19, 2026
Yes I noticed that as well with custom blocks.
Comes probably from here: e587cb0
It could be a solution I have the feeling:
nperez0111 commentedon May 20, 2026
We released a patch with 0.51.2, sorry for the bug! Thanks for reporting