@ckeditor/ckeditor5-editor-multi-root 45.0.0 → 45.1.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/dist/index.js +13 -0
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/augmentation.d.ts +13 -0
- package/src/multirooteditor.d.ts +13 -0
- package/src/multirooteditor.js +13 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-editor-multi-root",
|
3
|
-
"version": "45.0.0",
|
3
|
+
"version": "45.1.0-alpha.0",
|
4
4
|
"description": "Multi-root editor implementation for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -12,11 +12,11 @@
|
|
12
12
|
"type": "module",
|
13
13
|
"main": "src/index.js",
|
14
14
|
"dependencies": {
|
15
|
-
"@ckeditor/ckeditor5-core": "45.0.0",
|
16
|
-
"@ckeditor/ckeditor5-engine": "45.0.0",
|
17
|
-
"@ckeditor/ckeditor5-ui": "45.0.0",
|
18
|
-
"@ckeditor/ckeditor5-utils": "45.0.0",
|
19
|
-
"ckeditor5": "45.0.0",
|
15
|
+
"@ckeditor/ckeditor5-core": "45.1.0-alpha.0",
|
16
|
+
"@ckeditor/ckeditor5-engine": "45.1.0-alpha.0",
|
17
|
+
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.0",
|
18
|
+
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.0",
|
19
|
+
"ckeditor5": "45.1.0-alpha.0",
|
20
20
|
"es-toolkit": "1.32.0"
|
21
21
|
},
|
22
22
|
"author": "CKSource (http://cksource.com/)",
|
package/src/augmentation.d.ts
CHANGED
@@ -79,6 +79,19 @@ declare module '@ckeditor/ckeditor5-core' {
|
|
79
79
|
/**
|
80
80
|
* A list of names of all the roots that exist in the document but are not initially loaded by the editor.
|
81
81
|
*
|
82
|
+
* **Important! Lazy roots loading is an experimental feature, and may become deprecated. Be advised of the following
|
83
|
+
* known limitations:**
|
84
|
+
*
|
85
|
+
* * **Real-time collaboration integrations that use
|
86
|
+
* [uploaded editor bundles](https://ckeditor.com/docs/cs/latest/guides/collaboration/editor-bundle.html) are not supported. Using
|
87
|
+
* lazy roots will lead to unexpected behavior and data loss.**
|
88
|
+
* * **Revision history feature will read and process the whole document on editor initialization, possibly defeating the purpose
|
89
|
+
* of using the lazy roots loading. Additionally, when the document is loaded for the first time, all roots need to be loaded,
|
90
|
+
* to make sure that the initial revision data includes all roots. Otherwise, you may experience data loss.**
|
91
|
+
* * **Multiple features, that require full document data to be loaded, will produce incorrect or confusing results if not all
|
92
|
+
* roots are loaded. These include: bookmarks, find and replace, word count, pagination, document exports, document outline,
|
93
|
+
* and table of contents.**
|
94
|
+
*
|
82
95
|
* These roots can be loaded at any time after the editor has been initialized, using
|
83
96
|
* {@link module:editor-multi-root/multirooteditor~MultiRootEditor#loadRoot `MultiRootEditor#lazyRoot()`}.
|
84
97
|
*
|
package/src/multirooteditor.d.ts
CHANGED
@@ -234,6 +234,19 @@ export default class MultiRootEditor extends Editor {
|
|
234
234
|
* Loads a root that has previously been declared in {@link module:core/editor/editorconfig~EditorConfig#lazyRoots `lazyRoots`}
|
235
235
|
* configuration option.
|
236
236
|
*
|
237
|
+
* **Important! Lazy roots loading is an experimental feature, and may become deprecated. Be advised of the following
|
238
|
+
* known limitations:**
|
239
|
+
*
|
240
|
+
* * **Real-time collaboration integrations that use
|
241
|
+
* [uploaded editor bundles](https://ckeditor.com/docs/cs/latest/guides/collaboration/editor-bundle.html) are not supported. Using
|
242
|
+
* lazy roots will lead to unexpected behavior and data loss.**
|
243
|
+
* * **Revision history feature will read and process the whole document on editor initialization, possibly defeating the purpose
|
244
|
+
* of using the lazy roots loading. Additionally, when the document is loaded for the first time, all roots need to be loaded,
|
245
|
+
* to make sure that the initial revision data includes all roots. Otherwise, you may experience data loss.**
|
246
|
+
* * **Multiple features, that require full document data to be loaded, will produce incorrect or confusing results if not all
|
247
|
+
* roots are loaded. These include: bookmarks, find and replace, word count, pagination, document exports, document outline,
|
248
|
+
* and table of contents.**
|
249
|
+
*
|
237
250
|
* Only roots specified in the editor config can be loaded. A root cannot be loaded multiple times. A root cannot be unloaded and
|
238
251
|
* loading a root cannot be reverted using the undo feature.
|
239
252
|
*
|
package/src/multirooteditor.js
CHANGED
@@ -444,6 +444,19 @@ export default class MultiRootEditor extends Editor {
|
|
444
444
|
* Loads a root that has previously been declared in {@link module:core/editor/editorconfig~EditorConfig#lazyRoots `lazyRoots`}
|
445
445
|
* configuration option.
|
446
446
|
*
|
447
|
+
* **Important! Lazy roots loading is an experimental feature, and may become deprecated. Be advised of the following
|
448
|
+
* known limitations:**
|
449
|
+
*
|
450
|
+
* * **Real-time collaboration integrations that use
|
451
|
+
* [uploaded editor bundles](https://ckeditor.com/docs/cs/latest/guides/collaboration/editor-bundle.html) are not supported. Using
|
452
|
+
* lazy roots will lead to unexpected behavior and data loss.**
|
453
|
+
* * **Revision history feature will read and process the whole document on editor initialization, possibly defeating the purpose
|
454
|
+
* of using the lazy roots loading. Additionally, when the document is loaded for the first time, all roots need to be loaded,
|
455
|
+
* to make sure that the initial revision data includes all roots. Otherwise, you may experience data loss.**
|
456
|
+
* * **Multiple features, that require full document data to be loaded, will produce incorrect or confusing results if not all
|
457
|
+
* roots are loaded. These include: bookmarks, find and replace, word count, pagination, document exports, document outline,
|
458
|
+
* and table of contents.**
|
459
|
+
*
|
447
460
|
* Only roots specified in the editor config can be loaded. A root cannot be loaded multiple times. A root cannot be unloaded and
|
448
461
|
* loading a root cannot be reverted using the undo feature.
|
449
462
|
*
|