@ckeditor/ckeditor5-code-block 0.0.0-nightly-20260908.0 → 0.0.0-nightly-20260910.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.
@@ -2,7 +2,7 @@
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
- :root {
5
+ :root, :host {
6
6
  --ck-color-code-block-label-background: #757575;
7
7
  }
8
8
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../theme/codeblock.css","index-editor.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,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC;AAC1D,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG;AACb,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,MAAM;AACrB,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI;AACnB,CAAC,CAAC,QAAQ,CAAC,CAAC,QAAQ;AACpB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG;AACX,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI;AACb;;ADQA,CAAA,EAAA,CAAA,EAAA,CAAA,IAAA,CAAA,KAAA,CAAA,QAAA,CAAA,CAAA,EAAA,CAAA,eAAA,CAAA;ACLA,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,KAAK;AACnB,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,IAAI;AACvB;;ADUA,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,GAAA,CAAA;ACPA,CAAC,CAAC,QAAQ,CAAC,CAAC,QAAQ;AACpB;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index-editor.css.map","sourcesContent":["/*\n * @license 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.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.ck-editor__editable pre {\n position: relative;\n}\n\n/*# sourceMappingURL=index-editor.css.map */"]}
1
+ {"version":3,"sources":["../theme/codeblock.css","index-editor.css"],"names":[],"mappings":";;;;AAKA,CAAA,IAAA,CAAA,CAAA,CAAA,IAAA,CAAA;ACJA,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM;AACjD;;ADQA,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,GAAA,CAAA,IAAA,CAAA,QAAA,CAAA,CAAA,KAAA,CAAA;ACLA,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,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC;AAC1D,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG;AACb,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,MAAM;AACrB,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI;AACnB,CAAC,CAAC,QAAQ,CAAC,CAAC,QAAQ;AACpB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG;AACX,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI;AACb;;ADSA,CAAA,EAAA,CAAA,EAAA,CAAA,IAAA,CAAA,KAAA,CAAA,QAAA,CAAA,CAAA,EAAA,CAAA,eAAA,CAAA;ACNA,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,KAAK;AACnB,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,IAAI;AACvB;;ADWA,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,GAAA,CAAA;ACRA,CAAC,CAAC,QAAQ,CAAC,CAAC,QAAQ;AACpB;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index-editor.css.map","sourcesContent":["/*\n * @license 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:host {\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.ck-editor__editable pre {\n\tposition: relative;\n}\n",":root, :host {\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.ck-editor__editable pre {\n position: relative;\n}\n\n/*# sourceMappingURL=index-editor.css.map */"]}
package/dist/index.css CHANGED
@@ -2,7 +2,7 @@
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
- :root {
5
+ :root, :host {
6
6
  --ck-color-code-block-label-background: #757575;
7
7
  }
8
8
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../theme/codeblock.css","index.css","../theme/index-content.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,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CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;AACb,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,IAAI;AACvB,CAAC,CAAC,SAAS,CAAC,CAAC,GAAG;AAChB,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ;AACvB,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,MAAM;AAC3B,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG;AACpB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,KAAK;AAClB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;AAChB,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG;AACd,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM;AACpB;;ACXC,CAAA,EAAA,CAAA,OAAA,CAAA,GAAA,CAAA,IAAA,CAAA;ADcD,CAAC,CAAC,UAAU,CAAC,CAAC,KAAK;AACnB,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;AACZ;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * @license 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.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.ck-editor__editable pre {\n position: relative;\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 margin: .9em 0;\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/*# sourceMappingURL=index.css.map */","/*\n * @license 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.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/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\tmargin: 0.9em 0;\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"]}
1
+ {"version":3,"sources":["../theme/codeblock.css","index.css","../theme/index-content.css"],"names":[],"mappings":";;;;AAKA,CAAA,IAAA,CAAA,CAAA,CAAA,IAAA,CAAA;ACJA,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM;AACjD;;ADQA,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,GAAA,CAAA,IAAA,CAAA,QAAA,CAAA,CAAA,KAAA,CAAA;ACLA,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,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC;AAC1D,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG;AACb,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,MAAM;AACrB,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI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A,CAAA;ADcD,CAAC,CAAC,UAAU,CAAC,CAAC,KAAK;AACnB,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;AACZ;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * @license 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:host {\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.ck-editor__editable pre {\n\tposition: relative;\n}\n",":root, :host {\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.ck-editor__editable pre {\n position: relative;\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 margin: .9em 0;\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/*# sourceMappingURL=index.css.map */","/*\n * @license 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.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/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\tmargin: 0.9em 0;\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"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-code-block",
3
- "version": "0.0.0-nightly-20260908.0",
3
+ "version": "0.0.0-nightly-20260910.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-20260908.0",
30
- "@ckeditor/ckeditor5-clipboard": "0.0.0-nightly-20260908.0",
31
- "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20260908.0",
32
- "@ckeditor/ckeditor5-enter": "0.0.0-nightly-20260908.0",
33
- "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20260908.0",
34
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20260908.0",
35
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20260908.0"
29
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-20260910.0",
30
+ "@ckeditor/ckeditor5-clipboard": "0.0.0-nightly-20260910.0",
31
+ "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20260910.0",
32
+ "@ckeditor/ckeditor5-enter": "0.0.0-nightly-20260910.0",
33
+ "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20260910.0",
34
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20260910.0",
35
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20260910.0"
36
36
  },
37
37
  "files": [
38
38
  "dist",