BUG: Can't overwrite gjs-selected class
Question
GrapesJS version
- I confirm to use the latest version of GrapesJS
What browser are you using?
Arc 1.1.1
Reproducible demo link
https://jsfiddle.net/3bprucnv/3/
Describe the bug
How to reproduce the bug?
Add custom css rule for .gjs-selected eg. change the border color to red.
.gjs-selected { outline-color: red; }
What is the expected behavior? When selecting an element within grapesjs editor, the border of the selection should be red.
What is the current behavior? Border/outline remains blue.
Note: All other css overrides related to selection/highlighting are successfully overwritten (eg. highlighter, highlighter-sel)
Code of Conduct
- I agree to follow this project's Code of Conduct
Answers (1)
Please refer to https://github.com/GrapesJS/grapesjs/issues/3515
Related Questions and Answers
Continue research with similar issue discussions.
Issue #5173
BUG: editor.Css.setRule API not working as expected, it is not updating the rule existing rule.
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Version 112.0.5615.137 (Official Build) (a...
Issue #6318
BUG: Unable to use transparent fill in Block media svg
GrapesJS version[X] I confirm to use the latest version of [email protected] when this issue was filedWhat browser are you using? Fir...
Issue #4411
BUG: XSS when add class name to Selector Manager
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v102 Reproducible demo link https:/...
Issue #4466
BUG: Change in traits does not update html
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://jsfi...
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.