Change the colours, thickness of hover permanently for the whole editor.
Question
@artf - I don't want user to select element and change the states. I want to change the colours, thickness permanently for the whole editor by default. Means it doesn't depend on the user or any element. I want to change it for the editor permanently.
Answers (2)
You can find all the styles for the editor in the following directory https://github.com/artf/grapesjs/tree/dev/src/styles/scss Note: it's scss not css
I you want to find out the css selectors directly, you can use the browser developer tools. If you have found your selectors you want to change, create a file write your overridings an load them after you load the editor. That should work.
Example: https://jsfiddle.net/3bprucnv/3/
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.
Issue #1780
How to change extra dropdown for link change trait
Hello @artf , I want to give one more functionality to user like user can change any link with default links drop down. In above image i wa...
Issue #1063
Change the colour and thickness of hover. Also I want different hover colours for different elements.
Hi @artf , hands raised for this awesome product. I am trying to change the hover colour on hovering elements. I am also trying to give dif...
Issue #1370
Need to change Grapes Js Dynamic ID selector.
Its not a issue,I need some help. I have integrated Grapes Js with Drupal 8, for styling Drupal elements. I don't want the id selector whic...
Issue #1811
changesCount change on clicking any element in editor
Hello, I have used changesCount to resizeEditor if any change occurs to the canvas. But when I select any element in canvas like, clicking...
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.