Issue #1901💬 AnsweredOpened March 18, 2019by fmr4110 reactions

Set border weight at hover

快速解答by artf

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

Read full answer below ↓

Question

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

Answers (2)

artfMarch 23, 2019

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]March 27, 2020

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.

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.