Skip to content

Build your personal knowledge base with Trilium Notes

build(deps): drop the CSS half of the CKEditor code-block patch

Elian Doran0c78ab018ac1
diff --git a/patches/@ckeditor__ckeditor5-code-block.patch b/patches/@ckeditor__ckeditor5-code-block.patch
index 46c68688ce..4a2007e0bb 100644
--- a/patches/@ckeditor__ckeditor5-code-block.patch
+++ b/patches/@ckeditor__ckeditor5-code-block.patch
@@ -1,32 +1,3 @@
-diff --git a/dist/index.css b/dist/index.css
-index 50d1b0005b464f33fb3f07f69c06f36a35e0c406..785e95ceeb7fce12be6249b43abf9b83e15fcfde 100644
---- a/dist/index.css
-+++ b/dist/index.css
-@@ -26,12 +26,10 @@
- }
-
- .ck-content pre {
-- color: #353535;
- text-align: left;
- tab-size: 4;
- white-space: pre-wrap;
- direction: ltr;
-- background: #c7c7c74d;
- border: 1px solid #c4c4c4;
- border-radius: 2px;
- min-width: 200px;
-@@ -40,6 +38,11 @@
- font-style: normal;
- }
-
-+.ck-content pre:not(.hljs) {
-+ color: #353535;
-+ background: #c7c7c74d;
-+}
-+
- .ck-content pre code {
- background: unset;
- border-radius: 0;
diff --git a/dist/index.js b/dist/index.js
index 055bdaeb3665fd469b59e09ec1111fc4da20be6c..b405e7c2b76c33e6a41d221389ffff3c2d791300 100644
--- a/dist/index.js
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index a0e7476660..c5a1fb9096 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -82,7 +82,7 @@ overrides:
extract-zip>yauzl: 3.4.0
patchedDependencies:
- '@ckeditor/ckeditor5-code-block': e59276f9051081b0220d991563ec6f290a7b1e1c3ae9b349a9a08875f47bd466
+ '@ckeditor/ckeditor5-code-block': 34e1e0b5d23dc9072aba2893a309957255ac1afb90eb07bff913fa3030def91a
'@ckeditor/ckeditor5-mention': 91c41ee286960cf306640d976142aa98e286415096d5731828d796ac574fdbe8
'@excalidraw/[email protected]': 859531a8ff622291b895d36bcd33e07ced6fcb3bcc90631ccaf776789b03f0c2
'@maplibre/[email protected]': c30b921f19820021e9c5c23d64378cbdf3dfba379cd4b5daff8a3f1f8b3578d5
@@ -14291,7 +14291,7 @@ snapshots:
'@ckeditor/ckeditor5-upload': 48.3.1
'@ckeditor/ckeditor5-utils': 48.3.1
- '@ckeditor/[email protected](patch_hash=e59276f9051081b0220d991563ec6f290a7b1e1c3ae9b349a9a08875f47bd466)':
+ '@ckeditor/[email protected](patch_hash=34e1e0b5d23dc9072aba2893a309957255ac1afb90eb07bff913fa3030def91a)':
dependencies:
'@ckeditor/ckeditor5-clipboard': 48.3.1
'@ckeditor/ckeditor5-core': 48.3.1
@@ -14921,7 +14921,7 @@ snapshots:
'@ckeditor/[email protected]':
dependencies:
'@ckeditor/ckeditor5-clipboard': 48.3.1
- '@ckeditor/ckeditor5-code-block': 48.3.1(patch_hash=e59276f9051081b0220d991563ec6f290a7b1e1c3ae9b349a9a08875f47bd466)
+ '@ckeditor/ckeditor5-code-block': 48.3.1(patch_hash=34e1e0b5d23dc9072aba2893a309957255ac1afb90eb07bff913fa3030def91a)
'@ckeditor/ckeditor5-collaboration-core': 48.3.1
'@ckeditor/ckeditor5-comments': 48.3.1
'@ckeditor/ckeditor5-core': 48.3.1
@@ -21546,7 +21546,7 @@ snapshots:
'@ckeditor/ckeditor5-ckfinder': 48.3.1
'@ckeditor/ckeditor5-clipboard': 48.3.1
'@ckeditor/ckeditor5-cloud-services': 48.3.1
- '@ckeditor/ckeditor5-code-block': 48.3.1(patch_hash=e59276f9051081b0220d991563ec6f290a7b1e1c3ae9b349a9a08875f47bd466)
+ '@ckeditor/ckeditor5-code-block': 48.3.1(patch_hash=34e1e0b5d23dc9072aba2893a309957255ac1afb90eb07bff913fa3030def91a)
'@ckeditor/ckeditor5-core': 48.3.1
'@ckeditor/ckeditor5-easy-image': 48.3.1
'@ckeditor/ckeditor5-editor-balloon': 48.3.1