How do you style the basic editor? #2420
Unanswered
iwasherefirst2
asked this question in
Q&A
Replies: 3 comments
-
There seems to be a bunch of classes in css, I just override them globally. For me I wanted the icons to be white in a dark mode and the input text as well by default to be white. Here's my .ce-block {
padding-left: 2px;
padding-right: 2px;
}
.ce-toolbar__plus,
.ce-toolbar__settings-btn,
.ce-paragraph {
color: white !important;
}
.ce-toolbar__plus:hover,
.ce-toolbar__settings-btn:hover {
color: #333 !important;
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
I have got it now to this: Using this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On the website, the content area of the editor has some shadow and stands out:
In my simple example of the editor, I just see a plain white page:
Do you have some default CSS that applies a minimalistic styling, so at least the content area sticks out a little bit? When I change body bg, the content area bg changes as well.
Beta Was this translation helpful? Give feedback.
All reactions