Skip to content

Build your personal knowledge base with Trilium Notes

updated ckeditor content styles

zadamdc5304faa08a
diff --git a/libraries/ckeditor/ckeditor-content.css b/libraries/ckeditor/ckeditor-content.css
index 2ff1779dfc..f3322ecad3 100644
--- a/libraries/ckeditor/ckeditor-content.css
+++ b/libraries/ckeditor/ckeditor-content.css
@@ -5,8 +5,8 @@
}
/*
- * CKEditor 5 (v24.0.0) content styles.
- * Generated on Thu, 10 Dec 2020 08:15:26 GMT.
+ * CKEditor 5 (v27.1.0) content styles.
+ * Generated on Wed, 21 Apr 2021 07:00:21 GMT.
* For more information, check out https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/content-styles.html
*/
@@ -23,19 +23,47 @@
--ck-todo-list-checkmark-size: 16px;
}
-/* ckeditor5-image/theme/imageresize.css */
-.ck-content .image.image_resized {
- max-width: 100%;
- display: block;
- box-sizing: border-box;
+/* ckeditor5-highlight/theme/highlight.css */
+.ck-content .marker-yellow {
+ background-color: var(--ck-highlight-marker-yellow);
}
-/* ckeditor5-image/theme/imageresize.css */
-.ck-content .image.image_resized img {
- width: 100%;
+/* ckeditor5-highlight/theme/highlight.css */
+.ck-content .marker-green {
+ background-color: var(--ck-highlight-marker-green);
}
-/* ckeditor5-image/theme/imageresize.css */
-.ck-content .image.image_resized > figcaption {
- display: block;
+/* ckeditor5-highlight/theme/highlight.css */
+.ck-content .marker-pink {
+ background-color: var(--ck-highlight-marker-pink);
+}
+/* ckeditor5-highlight/theme/highlight.css */
+.ck-content .marker-blue {
+ background-color: var(--ck-highlight-marker-blue);
+}
+/* ckeditor5-highlight/theme/highlight.css */
+.ck-content .pen-red {
+ color: var(--ck-highlight-pen-red);
+ background-color: transparent;
+}
+/* ckeditor5-highlight/theme/highlight.css */
+.ck-content .pen-green {
+ color: var(--ck-highlight-pen-green);
+ background-color: transparent;
+}
+/* ckeditor5-font/theme/fontsize.css */
+.ck-content .text-tiny {
+ font-size: .7em;
+}
+/* ckeditor5-font/theme/fontsize.css */
+.ck-content .text-small {
+ font-size: .85em;
+}
+/* ckeditor5-font/theme/fontsize.css */
+.ck-content .text-big {
+ font-size: 1.4em;
+}
+/* ckeditor5-font/theme/fontsize.css */
+.ck-content .text-huge {
+ font-size: 1.8em;
}
/* ckeditor5-image/theme/imagestyle.css */
.ck-content .image-style-side {
@@ -58,19 +86,38 @@
float: right;
margin-left: var(--ck-image-style-spacing);
}
-/* ckeditor5-image/theme/image.css */
-.ck-content .image {
- display: table;
- clear: both;
- text-align: center;
+/* ckeditor5-code-block/theme/codeblock.css */
+.ck-content pre {
+ padding: 1em;
+ color: hsl(0, 0%, 20.8%);
+ background: hsla(0, 0%, 78%, 0.3);
+ border: 1px solid hsl(0, 0%, 77%);
+ border-radius: 2px;
+ text-align: left;
+ direction: ltr;
+ tab-size: 4;
+ white-space: pre-wrap;
+ font-style: normal;
+ min-width: 200px;
+}
+/* ckeditor5-code-block/theme/codeblock.css */
+.ck-content pre code {
+ background: unset;
+ padding: 0;
+ border-radius: 0;
+}
+/* ckeditor5-html-embed/theme/htmlembed.css */
+.ck-content .raw-html-embed {
margin: 1em auto;
+ min-width: 15em;
+ font-style: normal;
}
-/* ckeditor5-image/theme/image.css */
-.ck-content .image img {
- display: block;
- margin: 0 auto;
- max-width: 100%;
- min-width: 50px;
+/* ckeditor5-horizontal-line/theme/horizontalline.css */
+.ck-content hr {
+ margin: 15px 0;
+ height: 4px;
+ background: hsl(0, 0%, 87%);
+ border: 0;
}
/* ckeditor5-image/theme/imagecaption.css */
.ck-content .image > figcaption {
@@ -83,47 +130,43 @@
font-size: .75em;
outline-offset: -1px;
}
-/* ckeditor5-highlight/theme/highlight.css */
-.ck-content .marker-yellow {
- background-color: var(--ck-highlight-marker-yellow);
-}
-/* ckeditor5-highlight/theme/highlight.css */
-.ck-content .marker-green {
- background-color: var(--ck-highlight-marker-green);
-}
-/* ckeditor5-highlight/theme/highlight.css */
-.ck-content .marker-pink {
- background-color: var(--ck-highlight-marker-pink);
-}
-/* ckeditor5-highlight/theme/highlight.css */
-.ck-content .marker-blue {
- background-color: var(--ck-highlight-marker-blue);
+/* ckeditor5-image/theme/imageresize.css */
+.ck-content .image.image_resized {
+ max-width: 100%;
+ display: block;
+ box-sizing: border-box;
}
-/* ckeditor5-highlight/theme/highlight.css */
-.ck-content .pen-red {
- color: var(--ck-highlight-pen-red);
- background-color: transparent;
+/* ckeditor5-image/theme/imageresize.css */
+.ck-content .image.image_resized img {
+ width: 100%;
}
-/* ckeditor5-highlight/theme/highlight.css */
-.ck-content .pen-green {
- color: var(--ck-highlight-pen-green);
- background-color: transparent;
+/* ckeditor5-image/theme/imageresize.css */
+.ck-content .image.image_resized > figcaption {
+ display: block;
}
-/* ckeditor5-font/theme/fontsize.css */
-.ck-content .text-tiny {
- font-size: .7em;
+/* ckeditor5-image/theme/image.css */
+.ck-content .image {
+ display: table;
+ clear: both;
+ text-align: center;
+ margin: 1em auto;
}
-/* ckeditor5-font/theme/fontsize.css */
-.ck-content .text-small {
- font-size: .85em;
+/* ckeditor5-image/theme/image.css */
+.ck-content .image img {
+ display: block;
+ margin: 0 auto;
+ max-width: 100%;
+ min-width: 50px;
}
-/* ckeditor5-font/theme/fontsize.css */
-.ck-content .text-big {
- font-size: 1.4em;
+/* ckeditor5-language/theme/language.css */
+.ck-content span[lang] {
+ font-style: italic;
}
-/* ckeditor5-font/theme/fontsize.css */
-.ck-content .text-huge {
- font-size: 1.8em;
+/* ckeditor5-basic-styles/theme/code.css */
+.ck-content code {
+ background-color: hsla(0, 0%, 78%, 0.3);
+ padding: .15em;
+ border-radius: 2px;
}
/* ckeditor5-block-quote/theme/blockquote.css */
.ck-content blockquote {
@@ -140,12 +183,6 @@
border-left: 0;
border-right: solid 5px hsl(0, 0%, 80%);
}
-/* ckeditor5-basic-styles/theme/code.css */
-.ck-content code {
- background-color: hsla(0, 0%, 78%, 0.3);
- padding: .15em;
- border-radius: 2px;
-}
/* ckeditor5-table/theme/table.css */
.ck-content .table {
margin: 1em auto;
@@ -289,39 +326,6 @@
.ck-content .todo-list .todo-list__label .todo-list__label__description {
vertical-align: middle;
}
-/* ckeditor5-html-embed/theme/htmlembed.css */
-.ck-content .raw-html-embed {
- margin: 1em auto;
- min-width: 15em;
- font-style: normal;
-}
-/* ckeditor5-horizontal-line/theme/horizontalline.css */
-.ck-content hr {
- margin: 15px 0;
- height: 4px;
- background: hsl(0, 0%, 87%);
- border: 0;
-}
-/* ckeditor5-code-block/theme/codeblock.css */
-.ck-content pre {
- padding: 1em;
- color: hsl(0, 0%, 20.8%);
- background: hsla(0, 0%, 78%, 0.3);
- border: 1px solid hsl(0, 0%, 77%);
- border-radius: 2px;
- text-align: left;
- direction: ltr;
- tab-size: 4;
- white-space: pre-wrap;
- font-style: normal;
- min-width: 200px;
-}
-/* ckeditor5-code-block/theme/codeblock.css */
-.ck-content pre code {
- background: unset;
- padding: 0;
- border-radius: 0;
-}
/* ckeditor5-mention/theme/mention.css */
.ck-content .mention {
background: var(--ck-color-mention-background);
diff --git a/package-lock.json b/package-lock.json
index 46f735f52e..599553c7f1 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2797,9 +2797,9 @@
}
},
"electron": {
- "version": "13.0.0",
- "resolved": "https://registry.npmjs.org/electron/-/electron-13.0.0.tgz",
- "integrity": "sha512-5SgpU7BgR4DJM1TPuZmKQ89A0AMN9vq7J7OfJebbHjsAuYP+rmJwosVna/RpLYFBuQNM90gnny5sffYGDZFQ4w==",
+ "version": "13.0.1",
+ "resolved": "https://registry.npmjs.org/electron/-/electron-13.0.1.tgz",
+ "integrity": "sha512-ds1cf0m46nStil0jbM2r9W/p+Kprdq22+2MikIUqEu69eGl1c86IinQVrpmJ9bR4RshDSF4j3uD32a0bsHDMnQ==",
"dev": true,
"requires": {
"@electron/get": "^1.0.1",
@@ -5546,9 +5546,9 @@
"dev": true
},
"node-abi": {
- "version": "2.26.0",
- "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.26.0.tgz",
- "integrity": "sha512-ag/Vos/mXXpWLLAYWsAoQdgS+gW7IwvgMLOgqopm/DbzAjazLltzgzpVMsFlgmo9TzG5hGXeaBZx2AI731RIsQ==",
+ "version": "2.29.0",
+ "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.29.0.tgz",
+ "integrity": "sha512-+xu2xkzOkdVS0YAVpiF+xsYM+hM1ylmeGUaG1OC3To6+pUIL4yoCqU6ggWpZeeiq0GFPE2uUOCf36Y4iq3JnOA==",
"requires": {
"semver": "^5.4.1"
},
diff --git a/package.json b/package.json
index b9d5a992dc..bd27765485 100644
--- a/package.json
+++ b/package.json
@@ -57,7 +57,7 @@
"jsdom": "16.5.3",
"mime-types": "2.1.30",
"multer": "1.4.2",
- "node-abi": "2.26.0",
+ "node-abi": "2.29.0",
"open": "8.0.8",
"portscanner": "2.2.0",
"rand-token": "1.0.1",
@@ -80,7 +80,7 @@
},
"devDependencies": {
"cross-env": "7.0.3",
- "electron": "13.0.0",
+ "electron": "13.0.1",
"electron-builder": "22.11.1",
"electron-packager": "15.2.0",
"electron-rebuild": "2.3.5",