Notes/patches/ckeditor5.patch

28 lines
731 B
Diff
Raw Permalink Normal View History

diff --git a/dist/ckeditor5.css b/dist/ckeditor5.css
index 58b8ed68f5d3b578656663a5fabb9a7020268638..f1769d623fd453ca7ce2eb4fa456a73da7b06df8 100644
--- a/dist/ckeditor5.css
+++ b/dist/ckeditor5.css
@@ -5783,9 +5783,7 @@ a.ck.ck-button.ck-link-toolbar__preview:has( .ck-icon ) {
*/
.ck-content pre {
- padding: 1em;
- color: hsl(0, 0%, 20.8%);
- background: hsla(0, 0%, 78%, 0.3);
+ padding: 1em;
border: 1px solid hsl(0, 0%, 77%);
border-radius: 2px;
@@ -5803,6 +5801,11 @@ a.ck.ck-button.ck-link-toolbar__preview:has( .ck-icon ) {
min-width: 200px;
}
+.ck-content pre:not(.hljs) {
+ color: hsl(0, 0%, 20.8%);
+ background: hsla(0, 0%, 78%, 0.3);
+}
+
.ck-content pre code {
background: unset;
padding: 0;