GrapesJS / grapesjs

Free and Open source Web Builder Framework. Next generation tool for building templates without coding
https://grapesjs.com
BSD 3-Clause "New" or "Revised" License
22.36k stars 4.05k forks source link

[QUESTIONS] Set border weight at hover #1901

Closed fmr411 closed 5 years ago

fmr411 commented 5 years ago

Is it possible to change the weight of border when hover, I have searched for the ".gjs-hovered" class in the css file but did not find it, I have also tried using setStyle "editor.setStyle('.gjs-hovered{outline:"4px solid #3b97e3 !important;"}');" but still nothing has changed, Thank's Screenshot_8

artf commented 5 years ago

You don't need to use editor.setStyle if you need to customize the UI of the editor, just include this CSS after the GrapesJS one

.gjs-cv-canvas .gjs-highlighter {
    outline-width: 3px;
}
lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.