@ckeditor/ckeditor5-watchdog 47.6.1 → 48.0.0-alpha.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/LICENSE.md +1 -1
- package/ckeditor5-metadata.json +1 -1
- package/{src → dist}/contextwatchdog.d.ts +13 -8
- package/{src → dist}/editorwatchdog.d.ts +37 -4
- package/dist/index.css +3 -0
- package/dist/index.css.map +1 -0
- package/dist/index.js +209 -59
- package/dist/index.js.map +1 -1
- package/dist/utils/normalizerootsconfig.d.ts +18 -0
- package/package.json +22 -42
- package/src/actionsrecorder.js +0 -627
- package/src/actionsrecorderconfig.js +0 -5
- package/src/augmentation.js +0 -5
- package/src/contextwatchdog.js +0 -423
- package/src/editorwatchdog.js +0 -470
- package/src/index.js +0 -12
- package/src/utils/areconnectedthroughproperties.js +0 -59
- package/src/utils/getsubnodes.js +0 -79
- package/src/watchdog.js +0 -201
- /package/{src → dist}/actionsrecorder.d.ts +0 -0
- /package/{src → dist}/actionsrecorderconfig.d.ts +0 -0
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
- /package/{src → dist}/utils/areconnectedthroughproperties.d.ts +0 -0
- /package/{src → dist}/utils/getsubnodes.d.ts +0 -0
- /package/{src → dist}/watchdog.d.ts +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
import type { EditorConfig } from '@ckeditor/ckeditor5-core';
|
|
6
|
+
/**
|
|
7
|
+
* Normalizes the editor roots configuration. It ensures that all root configurations are defined in `config.roots`
|
|
8
|
+
* and that they have `initialData` defined.
|
|
9
|
+
*
|
|
10
|
+
* It normalizes a single-root configuration (where `config.root` is used) to a multi-root configuration
|
|
11
|
+
* (where all roots are defined in `config.roots`). This is considered a standard configuration format,
|
|
12
|
+
* so the editor features can always expect roots to be defined in `config.roots`.
|
|
13
|
+
*
|
|
14
|
+
* It also handles legacy configuration options, such as `config.initialData`, `config.placeholder`, and `config.label`.
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare function normalizeRootsConfig(sourceElementsOrData: HTMLElement | string | Record<string, HTMLElement> | Record<string, string>, config: EditorConfig, defaultRootName: string | false): void;
|
package/package.json
CHANGED
|
@@ -1,25 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-watchdog",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "48.0.0-alpha.0",
|
|
4
4
|
"description": "A watchdog feature for CKEditor 5 editors. It keeps a CKEditor 5 editor instance running.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"ckeditor",
|
|
7
|
-
"ckeditor5",
|
|
8
|
-
"ckeditor 5",
|
|
9
|
-
"ckeditor5-lib",
|
|
10
|
-
"ckeditor5-dll"
|
|
11
|
-
],
|
|
12
|
-
"type": "module",
|
|
13
|
-
"main": "src/index.js",
|
|
14
|
-
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-core": "47.6.1",
|
|
16
|
-
"@ckeditor/ckeditor5-editor-multi-root": "47.6.1",
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "47.6.1",
|
|
18
|
-
"@ckeditor/ckeditor5-utils": "47.6.1",
|
|
19
|
-
"es-toolkit": "1.39.5"
|
|
20
|
-
},
|
|
21
|
-
"author": "CKSource (http://cksource.com/)",
|
|
22
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
|
+
"author": "CKSource (http://cksource.com/)",
|
|
23
7
|
"homepage": "https://ckeditor.com/ckeditor-5",
|
|
24
8
|
"bugs": "https://github.com/ckeditor/ckeditor5/issues",
|
|
25
9
|
"repository": {
|
|
@@ -27,33 +11,29 @@
|
|
|
27
11
|
"url": "https://github.com/ckeditor/ckeditor5.git",
|
|
28
12
|
"directory": "packages/ckeditor5-watchdog"
|
|
29
13
|
},
|
|
14
|
+
"keywords": [
|
|
15
|
+
"ckeditor",
|
|
16
|
+
"ckeditor5",
|
|
17
|
+
"ckeditor 5",
|
|
18
|
+
"ckeditor5-lib"
|
|
19
|
+
],
|
|
20
|
+
"type": "module",
|
|
21
|
+
"main": "./dist/index.js",
|
|
22
|
+
"exports": {
|
|
23
|
+
".": "./dist/index.js",
|
|
24
|
+
"./dist/*": "./dist/*",
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@ckeditor/ckeditor5-core": "48.0.0-alpha.0",
|
|
29
|
+
"@ckeditor/ckeditor5-engine": "48.0.0-alpha.0",
|
|
30
|
+
"@ckeditor/ckeditor5-utils": "48.0.0-alpha.0",
|
|
31
|
+
"es-toolkit": "1.45.1"
|
|
32
|
+
},
|
|
30
33
|
"files": [
|
|
31
34
|
"dist",
|
|
32
|
-
"lang",
|
|
33
|
-
"src/**/*.js",
|
|
34
|
-
"src/**/*.d.ts",
|
|
35
|
-
"theme",
|
|
36
35
|
"ckeditor5-metadata.json",
|
|
37
36
|
"CHANGELOG.md"
|
|
38
37
|
],
|
|
39
|
-
"types": "
|
|
40
|
-
"exports": {
|
|
41
|
-
".": {
|
|
42
|
-
"types": "./src/index.d.ts",
|
|
43
|
-
"import": "./src/index.js",
|
|
44
|
-
"default": "./src/index.js"
|
|
45
|
-
},
|
|
46
|
-
"./dist/*": {
|
|
47
|
-
"types": "./src/index.d.ts",
|
|
48
|
-
"import": "./dist/*",
|
|
49
|
-
"default": "./dist/*"
|
|
50
|
-
},
|
|
51
|
-
"./src/*": {
|
|
52
|
-
"types": "./src/*.d.ts",
|
|
53
|
-
"import": "./src/*",
|
|
54
|
-
"default": "./src/*"
|
|
55
|
-
},
|
|
56
|
-
"./ckeditor5-metadata.json": "./ckeditor5-metadata.json",
|
|
57
|
-
"./package.json": "./package.json"
|
|
58
|
-
}
|
|
38
|
+
"types": "./dist/index.d.ts"
|
|
59
39
|
}
|