@ckeditor/ckeditor5-code-block 0.0.0-nightly-20260312.0 → 0.0.0-nightly-20260313.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ckeditor5-metadata.json +1 -1
- package/dist/index-content.css +15 -16
- package/dist/index-editor.css +16 -18
- package/dist/index.css +31 -46
- package/dist/index.css.map +1 -1
- package/package.json +8 -8
package/ckeditor5-metadata.json
CHANGED
package/dist/index-content.css
CHANGED
|
@@ -3,22 +3,21 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
.ck-content pre{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
min-width:200px;
|
|
6
|
+
color:#353535;
|
|
7
|
+
text-align:left;
|
|
8
|
+
tab-size:4;
|
|
9
|
+
white-space:pre-wrap;
|
|
10
|
+
direction:ltr;
|
|
11
|
+
background:#c7c7c74d;
|
|
12
|
+
border:1px solid #c4c4c4;
|
|
13
|
+
border-radius:2px;
|
|
14
|
+
min-width:200px;
|
|
15
|
+
padding:1em;
|
|
16
|
+
font-style:normal;
|
|
18
17
|
}
|
|
19
18
|
|
|
20
19
|
.ck-content pre code{
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
background:unset;
|
|
21
|
+
border-radius:0;
|
|
22
|
+
padding:0;
|
|
23
|
+
}
|
package/dist/index-editor.css
CHANGED
|
@@ -3,30 +3,28 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
:root{
|
|
6
|
-
|
|
6
|
+
--ck-color-code-block-label-background:#757575;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
.ck.ck-editor__editable pre[data-language]
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
white-space:nowrap;
|
|
9
|
+
.ck.ck-editor__editable pre[data-language]:after{
|
|
10
|
+
content:attr(data-language);
|
|
11
|
+
background:var(--ck-color-code-block-label-background);
|
|
12
|
+
font-size:10px;
|
|
13
|
+
font-family:var(--ck-font-face);
|
|
14
|
+
padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);
|
|
15
|
+
color:#fff;
|
|
16
|
+
white-space:nowrap;
|
|
17
|
+
line-height:16px;
|
|
18
|
+
position:absolute;
|
|
19
|
+
top:-1px;
|
|
20
|
+
right:10px;
|
|
22
21
|
}
|
|
23
22
|
|
|
24
23
|
.ck.ck-code-block-dropdown .ck-dropdown__panel{
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
overflow-x:hidden;
|
|
24
|
+
max-height:250px;
|
|
25
|
+
overflow:hidden auto;
|
|
28
26
|
}
|
|
29
27
|
|
|
30
28
|
.ck.ck-editor__editable pre{
|
|
31
|
-
|
|
29
|
+
position:relative;
|
|
32
30
|
}
|
package/dist/index.css
CHANGED
|
@@ -2,66 +2,51 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
/*
|
|
6
|
-
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
5
|
:root {
|
|
11
|
-
|
|
6
|
+
--ck-color-code-block-label-background: #757575;
|
|
12
7
|
}
|
|
13
8
|
|
|
14
|
-
.ck.ck-editor__editable pre[data-language]
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
white-space: nowrap;
|
|
9
|
+
.ck.ck-editor__editable pre[data-language]:after {
|
|
10
|
+
content: attr(data-language);
|
|
11
|
+
background: var(--ck-color-code-block-label-background);
|
|
12
|
+
font-size: 10px;
|
|
13
|
+
font-family: var(--ck-font-face);
|
|
14
|
+
padding: var(--ck-spacing-tiny) var(--ck-spacing-medium);
|
|
15
|
+
color: #fff;
|
|
16
|
+
white-space: nowrap;
|
|
17
|
+
line-height: 16px;
|
|
18
|
+
position: absolute;
|
|
19
|
+
top: -1px;
|
|
20
|
+
right: 10px;
|
|
27
21
|
}
|
|
28
22
|
|
|
29
23
|
.ck.ck-code-block-dropdown .ck-dropdown__panel {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
overflow-y: auto;
|
|
33
|
-
overflow-x: hidden;
|
|
24
|
+
max-height: 250px;
|
|
25
|
+
overflow: hidden auto;
|
|
34
26
|
}
|
|
35
27
|
|
|
36
28
|
.ck-content pre {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
white-space: pre-wrap;
|
|
49
|
-
|
|
50
|
-
/* Don't inherit the style, e.g. when in a block quote. */
|
|
51
|
-
font-style: normal;
|
|
52
|
-
|
|
53
|
-
/* Don't let the code be squashed e.g. when in a table cell. */
|
|
54
|
-
min-width: 200px;
|
|
29
|
+
color: #353535;
|
|
30
|
+
text-align: left;
|
|
31
|
+
tab-size: 4;
|
|
32
|
+
white-space: pre-wrap;
|
|
33
|
+
direction: ltr;
|
|
34
|
+
background: #c7c7c74d;
|
|
35
|
+
border: 1px solid #c4c4c4;
|
|
36
|
+
border-radius: 2px;
|
|
37
|
+
min-width: 200px;
|
|
38
|
+
padding: 1em;
|
|
39
|
+
font-style: normal;
|
|
55
40
|
}
|
|
56
41
|
|
|
57
42
|
.ck-content pre code {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
43
|
+
background: unset;
|
|
44
|
+
border-radius: 0;
|
|
45
|
+
padding: 0;
|
|
46
|
+
}
|
|
62
47
|
|
|
63
48
|
.ck.ck-editor__editable pre {
|
|
64
|
-
|
|
49
|
+
position: relative;
|
|
65
50
|
}
|
|
66
51
|
|
|
67
52
|
/*# sourceMappingURL=index.css.map */
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../theme/codeblock.css","index.css"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"sources":["../theme/codeblock.css","index.css"],"names":[],"mappings":";;;;AAKA,CAAA,IAAA,CAAA;ACJA,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM;AACjD;;ADOA,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,GAAA,CAAA,IAAA,CAAA,QAAA,CAAA,CAAA,KAAA,CAAA;ACJA,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;AAC9B,CAAC,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC;AACzD,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI;AACjB,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC;AAClC,CAAC,CAAC,OAAO,CAAC,CAAC,GA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C,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM;AACpB;;ADgBC,CAAA,EAAA,CAAA,OAAA,CAAA,GAAA,CAAA,IAAA,CAAA;ACbD,CAAC,CAAC,UAAU,CAAC,CAAC,KAAK;AACnB,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;AACZ;;ADiBA,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,GAAA,CAAA;ACdA,CAAC,CAAC,QAAQ,CAAC,CAAC,QAAQ;AACpB;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n:root {\n\t--ck-color-code-block-label-background: hsl(0, 0%, 46%);\n}\n\n.ck.ck-editor__editable pre[data-language]::after {\n\tcontent: attr(data-language);\n\tposition: absolute;\n\ttop: -1px;\n\tright: 10px;\n\tbackground: var(--ck-color-code-block-label-background);\n\n\tfont-size: 10px;\n\tfont-family: var(--ck-font-face);\n\tline-height: 16px;\n\tpadding: var(--ck-spacing-tiny) var(--ck-spacing-medium);\n\tcolor: hsl(0, 0%, 100%);\n\twhite-space: nowrap;\n}\n\n.ck.ck-code-block-dropdown .ck-dropdown__panel {\n\t/* There could be dozens of languages available. Use scroll to prevent a 10e6px dropdown. */\n\tmax-height: 250px;\n\toverflow-y: auto;\n\toverflow-x: hidden;\n}\n\n.ck-content pre {\n\tpadding: 1em;\n\tcolor: hsl(0, 0%, 20.8%);\n\tbackground: hsla(0, 0%, 78%, 0.3);\n\tborder: 1px solid hsl(0, 0%, 77%);\n\tborder-radius: 2px;\n\n\t/* Code block are language direction–agnostic. */\n\ttext-align: left;\n\tdirection: ltr;\n\n\ttab-size: 4;\n\twhite-space: pre-wrap;\n\n\t/* Don't inherit the style, e.g. when in a block quote. */\n\tfont-style: normal;\n\n\t/* Don't let the code be squashed e.g. when in a table cell. */\n\tmin-width: 200px;\n\n\t& code {\n\t\tbackground: unset;\n\t\tpadding: 0;\n\t\tborder-radius: 0;\n\t}\n}\n\n.ck.ck-editor__editable pre {\n\tposition: relative;\n}\n",":root {\n --ck-color-code-block-label-background: #757575;\n}\n\n.ck.ck-editor__editable pre[data-language]:after {\n content: attr(data-language);\n background: var(--ck-color-code-block-label-background);\n font-size: 10px;\n font-family: var(--ck-font-face);\n padding: var(--ck-spacing-tiny) var(--ck-spacing-medium);\n color: #fff;\n white-space: nowrap;\n line-height: 16px;\n position: absolute;\n top: -1px;\n right: 10px;\n}\n\n.ck.ck-code-block-dropdown .ck-dropdown__panel {\n max-height: 250px;\n overflow: hidden auto;\n}\n\n.ck-content pre {\n color: #353535;\n text-align: left;\n tab-size: 4;\n white-space: pre-wrap;\n direction: ltr;\n background: #c7c7c74d;\n border: 1px solid #c4c4c4;\n border-radius: 2px;\n min-width: 200px;\n padding: 1em;\n font-style: normal;\n}\n\n.ck-content pre code {\n background: unset;\n border-radius: 0;\n padding: 0;\n}\n\n.ck.ck-editor__editable pre {\n position: relative;\n}\n\n/*# sourceMappingURL=index.css.map */"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-code-block",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20260313.0",
|
|
4
4
|
"description": "Code block feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"./package.json": "./package.json"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
30
|
-
"@ckeditor/ckeditor5-clipboard": "0.0.0-nightly-
|
|
31
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
32
|
-
"@ckeditor/ckeditor5-enter": "0.0.0-nightly-
|
|
33
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
34
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
35
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
29
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20260313.0",
|
|
30
|
+
"@ckeditor/ckeditor5-clipboard": "0.0.0-nightly-20260313.0",
|
|
31
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20260313.0",
|
|
32
|
+
"@ckeditor/ckeditor5-enter": "0.0.0-nightly-20260313.0",
|
|
33
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20260313.0",
|
|
34
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20260313.0",
|
|
35
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20260313.0"
|
|
36
36
|
},
|
|
37
37
|
"files": [
|
|
38
38
|
"dist",
|