@ckeditor/ckeditor5-core 48.3.1 → 48.4.0-alpha.1
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/dist/editor/editor.d.ts +0 -1
- package/dist/index-content.css +17 -15
- package/dist/index-content.css.map +1 -0
- package/dist/index-editor.css +3 -8
- package/dist/index-editor.css.map +1 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/editor/editor.d.ts
CHANGED
|
@@ -13,7 +13,6 @@ import { EditingKeystrokeHandler } from "../editingkeystrokehandler.js";
|
|
|
13
13
|
import { Accessibility } from "../accessibility.js";
|
|
14
14
|
import type { LoadedPlugins, PluginConstructor } from "../plugin.js";
|
|
15
15
|
import type { EditorConfig } from "./editorconfig.js";
|
|
16
|
-
import "../../theme/core.css";
|
|
17
16
|
declare global {
|
|
18
17
|
var CKEDITOR_GLOBAL_LICENSE_KEY: string | undefined;
|
|
19
18
|
var CKEDITOR_WARNING_SUPPRESSIONS: Record<string, boolean>;
|
package/dist/index-content.css
CHANGED
|
@@ -2,20 +2,22 @@
|
|
|
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{
|
|
6
|
-
--ck-content-font-family:Helvetica, Arial, Tahoma, Verdana, Sans-Serif;
|
|
7
|
-
--ck-content-font-size:medium;
|
|
8
|
-
--ck-content-font-color
|
|
9
|
-
--ck-content-line-height:1.5;
|
|
10
|
-
--ck-content-word-break:normal;
|
|
11
|
-
--ck-content-overflow-wrap:break-word;
|
|
5
|
+
:root {
|
|
6
|
+
--ck-content-font-family: Helvetica, Arial, Tahoma, Verdana, Sans-Serif;
|
|
7
|
+
--ck-content-font-size: medium;
|
|
8
|
+
--ck-content-font-color: #000;
|
|
9
|
+
--ck-content-line-height: 1.5;
|
|
10
|
+
--ck-content-word-break: normal;
|
|
11
|
+
--ck-content-overflow-wrap: break-word;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.ck-content{
|
|
15
|
-
font-family:var(--ck-content-font-family);
|
|
16
|
-
font-size:var(--ck-content-font-size);
|
|
17
|
-
color:var(--ck-content-font-color);
|
|
18
|
-
line-height:var(--ck-content-line-height);
|
|
19
|
-
word-break:var(--ck-content-word-break);
|
|
20
|
-
overflow-wrap:var(--ck-content-overflow-wrap);
|
|
21
|
-
}
|
|
14
|
+
.ck-content {
|
|
15
|
+
font-family: var(--ck-content-font-family);
|
|
16
|
+
font-size: var(--ck-content-font-size);
|
|
17
|
+
color: var(--ck-content-font-color);
|
|
18
|
+
line-height: var(--ck-content-line-height);
|
|
19
|
+
word-break: var(--ck-content-word-break);
|
|
20
|
+
overflow-wrap: var(--ck-content-overflow-wrap);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/*# sourceMappingURL=index-content.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../theme/index-content.css","index-content.css"],"names":[],"mappings":";;;;AAKA,CAAA,IAAA,CAAA;ACJA,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK;AACzE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM;AAChC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG;AAC/B,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;AAC/B,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM;AACjC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,IAAI;AACxC;;ADSA,CAAA,EAAA,CAAA,OAAA,CAAA;ACNA,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC;AAC5C,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;AACxC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC;AACrC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC;AAC5C,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC;AAC1C,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC;AAChD;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index-content.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-content-font-family: Helvetica, Arial, Tahoma, Verdana, Sans-Serif;\n\t--ck-content-font-size: medium;\n\t/* See https://github.com/ckeditor/ckeditor5-commercial/commit/b167b86bf4a669758ff401e4b9a6c94413d76196 */\n\t/* eslint-disable-next-line ckeditor5-rules/no-disallowed-color-formats */\n\t--ck-content-font-color: #000;\n\t--ck-content-line-height: 1.5;\n\t--ck-content-word-break: normal;\n\t--ck-content-overflow-wrap: break-word;\n}\n\n.ck-content {\n\tfont-family: var(--ck-content-font-family);\n\tfont-size: var(--ck-content-font-size);\n\tcolor: var(--ck-content-font-color);\n\tline-height: var(--ck-content-line-height);\n\tword-break: var(--ck-content-word-break);\n\toverflow-wrap: var(--ck-content-overflow-wrap);\n}\n",":root {\n --ck-content-font-family: Helvetica, Arial, Tahoma, Verdana, Sans-Serif;\n --ck-content-font-size: medium;\n --ck-content-font-color: #000;\n --ck-content-line-height: 1.5;\n --ck-content-word-break: normal;\n --ck-content-overflow-wrap: break-word;\n}\n\n.ck-content {\n font-family: var(--ck-content-font-family);\n font-size: var(--ck-content-font-size);\n color: var(--ck-content-font-color);\n line-height: var(--ck-content-line-height);\n word-break: var(--ck-content-word-break);\n overflow-wrap: var(--ck-content-overflow-wrap);\n}\n\n/*# sourceMappingURL=index-content.css.map */"]}
|
package/dist/index-editor.css
CHANGED
|
@@ -2,11 +2,6 @@
|
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
--ck-content-font-color:#000;
|
|
9
|
-
--ck-content-line-height:1.5;
|
|
10
|
-
--ck-content-word-break:normal;
|
|
11
|
-
--ck-content-overflow-wrap:break-word;
|
|
12
|
-
}
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
/*# sourceMappingURL=index-editor.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["index-editor.css"],"names":[],"mappings":";;;;;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index-editor.css.map","sourcesContent":["\n\n/*# sourceMappingURL=index-editor.css.map */"]}
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../theme/
|
|
1
|
+
{"version":3,"sources":["../theme/index-content.css","index.css"],"names":[],"mappings":";;;;AAKA,CAAA,IAAA,CAAA;ACJA,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK;AACzE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM;AAChC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG;AAC/B,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;AAC/B,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM;AACjC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,IAAI;AACxC;;ADSA,CAAA,EAAA,CAAA,OAAA,CAAA;ACNA,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC;AAC5C,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;AACxC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC;AACrC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC;AAC5C,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC;AAC1C,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC;AAChD;;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-content-font-family: Helvetica, Arial, Tahoma, Verdana, Sans-Serif;\n\t--ck-content-font-size: medium;\n\t/* See https://github.com/ckeditor/ckeditor5-commercial/commit/b167b86bf4a669758ff401e4b9a6c94413d76196 */\n\t/* eslint-disable-next-line ckeditor5-rules/no-disallowed-color-formats */\n\t--ck-content-font-color: #000;\n\t--ck-content-line-height: 1.5;\n\t--ck-content-word-break: normal;\n\t--ck-content-overflow-wrap: break-word;\n}\n\n.ck-content {\n\tfont-family: var(--ck-content-font-family);\n\tfont-size: var(--ck-content-font-size);\n\tcolor: var(--ck-content-font-color);\n\tline-height: var(--ck-content-line-height);\n\tword-break: var(--ck-content-word-break);\n\toverflow-wrap: var(--ck-content-overflow-wrap);\n}\n",":root {\n --ck-content-font-family: Helvetica, Arial, Tahoma, Verdana, Sans-Serif;\n --ck-content-font-size: medium;\n --ck-content-font-color: #000;\n --ck-content-line-height: 1.5;\n --ck-content-word-break: normal;\n --ck-content-overflow-wrap: break-word;\n}\n\n.ck-content {\n font-family: var(--ck-content-font-family);\n font-size: var(--ck-content-font-size);\n color: var(--ck-content-font-color);\n line-height: var(--ck-content-line-height);\n word-break: var(--ck-content-word-break);\n overflow-wrap: var(--ck-content-overflow-wrap);\n}\n\n/*# sourceMappingURL=index.css.map */"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -26,4 +26,6 @@ export { rootAcceptsBlocks } from "./editor/utils/rootacceptsblocks.js";
|
|
|
26
26
|
export { PendingActions, type PendingAction, type PendingActionsAddEvent, type PendingActionsRemoveEvent } from "./pendingactions.js";
|
|
27
27
|
export { Accessibility, DEFAULT_GROUP_ID as _DEFAULT_ACCESSIBILITY_GROUP_ID, type AddKeystrokeInfoCategoryData, type AddKeystrokeInfoGroupData, type AddKeystrokeInfosData, type KeystrokeInfoDefinition, type KeystrokeInfoDefinitions, type KeystrokeInfoGroupDefinition, type KeystrokeInfoCategoryDefinition } from "./accessibility.js";
|
|
28
28
|
export { getEditorUsageData as _getEditorUsageData, type EditorUsageData as _EditorUsageData } from "./editor/utils/editorusagedata.js";
|
|
29
|
+
import "../theme/index-editor.css";
|
|
30
|
+
import "../theme/index-content.css";
|
|
29
31
|
import "./augmentation.js";
|
package/dist/index.js
CHANGED
|
@@ -3008,7 +3008,7 @@ function normalizeRootsConfig(sourceElementsOrData, config, defaultRootName = "m
|
|
|
3008
3008
|
if (defaultRootName && !rootsConfig[defaultRootName]) rootsConfig[defaultRootName] = mainRootConfig || Object.create(null);
|
|
3009
3009
|
const sourceElementIsPlainObject = isSourceElementsOrDataRecord(sourceElementsOrData);
|
|
3010
3010
|
const legacyInitialData = getLegacyInitialData(config, sourceElementIsPlainObject, defaultRootName);
|
|
3011
|
-
const rootNames = Array.from(new Set([
|
|
3011
|
+
const rootNames = Array.from(/* @__PURE__ */ new Set([
|
|
3012
3012
|
...sourceElementIsPlainObject ? Object.keys(sourceElementsOrData) : [],
|
|
3013
3013
|
...Object.keys(rootsConfig),
|
|
3014
3014
|
...Object.keys(legacyInitialData)
|