-
Notifications
You must be signed in to change notification settings - Fork 19
adds ckeditor stylesheet to subtheme generator #883
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 2.x
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| /* | ||
| @file CKEditor styles. | ||
| These styles are applied within the CKEditor 5 interface to | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the guidance here should be to use sparingly, for cases where the editor could not otherwise tell how the content would be formatted (like style plug ins). The CKEditor window is not meant to match the front end (fonts, colours, spacing and so on) and making it match in some ways but not others can cause confusion. One example of a case is that heading colours may be different for different sections of the site. A suggestion would be to include a real example from the base theme file again here instead of the heading colours. I think that linters might complain about a file with only comments? |
||
| match the front-end styles of the site. | ||
| */ | ||
|
|
||
| /* | ||
| h2 { | ||
| color: var(--color-accent); | ||
| } | ||
| */ | ||
|
|
||
| /* | ||
| h3 { | ||
| color: var(--color-grey-darkest); | ||
| } | ||
| */ | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See review comments on scripts/subtheme-items/css/base/ckeditor5.css , applies here too.