Style manager changes are overridden by custom css #3740
Unanswered
codingmachine16
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Try to use componentFirst option grapesjs.init({
...
selectorManager: { componentFirst: true },
}) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @artf
When I add main.css
canvas: {
styles: [
"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css",
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.css",
"https://pro.fontawesome.com/releases/v5.10.0/css/all.css",
"./css/canvas.css",
"./css/main.css",
],
scripts: [
"https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js",
"https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js",
],
},
In main.css there is a rule
Now when I try to change color of P from style manager , it is not overriding custom css. Please help in this regard
Beta Was this translation helpful? Give feedback.
All reactions