@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/dist/index.js
CHANGED
@@ -717,6 +717,19 @@ import { isElement as isElement$1 } from 'es-toolkit/compat';
|
|
717
717
|
* Loads a root that has previously been declared in {@link module:core/editor/editorconfig~EditorConfig#lazyRoots `lazyRoots`}
|
718
718
|
* configuration option.
|
719
719
|
*
|
720
|
+
* **Important! Lazy roots loading is an experimental feature, and may become deprecated. Be advised of the following
|
721
|
+
* known limitations:**
|
722
|
+
*
|
723
|
+
* * **Real-time collaboration integrations that use
|
724
|
+
* [uploaded editor bundles](https://ckeditor.com/docs/cs/latest/guides/collaboration/editor-bundle.html) are not supported. Using
|
725
|
+
* lazy roots will lead to unexpected behavior and data loss.**
|
726
|
+
* * **Revision history feature will read and process the whole document on editor initialization, possibly defeating the purpose
|
727
|
+
* of using the lazy roots loading. Additionally, when the document is loaded for the first time, all roots need to be loaded,
|
728
|
+
* to make sure that the initial revision data includes all roots. Otherwise, you may experience data loss.**
|
729
|
+
* * **Multiple features, that require full document data to be loaded, will produce incorrect or confusing results if not all
|
730
|
+
* roots are loaded. These include: bookmarks, find and replace, word count, pagination, document exports, document outline,
|
731
|
+
* and table of contents.**
|
732
|
+
*
|
720
733
|
* Only roots specified in the editor config can be loaded. A root cannot be loaded multiple times. A root cannot be unloaded and
|
721
734
|
* loading a root cannot be reverted using the undo feature.
|
722
735
|
*
|