editor style (editor.css) not applied
- This topic has 2 replies, 2 voices, and was last updated 1 year, 2 months ago by .
- AuthorPosts
- December 16, 2019 at 2:40 am#1041
plebli
really liking Publii, but the UI is killing me – are there any prebuilt themes that cover both the UI and TinyMCE?
styles added to either of the following are not applied…
`/Documents/Publii/themes/simple/assets/css/editor.css`
or…
`/opt/Publii/resources/app.asar.unpacked/default-files/default-themes/simple/assets/css/editor.css`i tried enabling the option in dev tools > experiments to allow custom UI styles, but that seems to have no effect
here’s an example of what i added to editor.css…
`/* POST EDITOR */
.post-editor {
background: #080808;
}
.mce-container, .mce-container *, .mce-widget, .mce-widget *, .mce-reset {
color: #b7b7b7;
font-size: 20px;
}
.button-outline[data-v-50d42e6d] {
color: #b7b7b7;
}
@media screen and (min-width: 20rem)
html {
font-size: 1.5rem;
}`ps: i did read the doc
December 16, 2019 at 2:51 am#1042plebli
also found another editor.css here but it didn’t work either…
`/Documents/Publii/sites/mysitename/input/themes/simple/assets/css/`ideally i’d like to have a global editor theme anyway, not per-site
December 29, 2019 at 2:00 pm#1124Tomasz Dziuda
ModeratorHi,
I have just edited the /documents/publii/sites/test-site/input/themes/simple/assets/css/editor.css file to add red background and it works like a charm and allows me to edit the CSS inside the editor.
--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better! - AuthorPosts
- You must be logged in to reply to this topic.