@ckeditor/ckeditor5-editor-multi-root 48.2.0 → 48.3.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.
@@ -1,38 +1,38 @@
1
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 '@ckeditor/ckeditor5-core';
6
- declare module '@ckeditor/ckeditor5-core' {
7
- interface RootConfig {
8
- /**
9
- * Flag for the root that exist in the document but is not initially loaded by the editor.
10
- *
11
- * **This property has been deprecated and will be removed in the future versions of CKEditor.**
12
- *
13
- * **Note: This configuration option is supported only by the
14
- * {@link module:editor-multi-root/multirooteditor~MultiRootEditor multi-root} editor type.**
15
- *
16
- * **Important! Lazy roots loading is an experimental feature. Be advised of the following known limitations:**
17
- *
18
- * * **Real-time collaboration integrations that use
19
- * [uploaded editor bundles](https://ckeditor.com/docs/cs/latest/guides/collaboration/editor-bundle.html) are not supported. Using
20
- * lazy roots will lead to unexpected behavior and data loss.**
21
- * * **Revision history feature will read and process the whole document on editor initialization, possibly defeating the purpose
22
- * of using the lazy roots loading. Additionally, when the document is loaded for the first time, all roots need to be loaded,
23
- * to make sure that the initial revision data includes all roots. Otherwise, you may experience data loss.**
24
- * * **Multiple features, that require full document data to be loaded, will produce incorrect or confusing results if not all
25
- * roots are loaded. These include: bookmarks, find and replace, word count, pagination, document exports, document outline,
26
- * and table of contents.**
27
- *
28
- * These roots can be loaded at any time after the editor has been initialized, using
29
- * {@link module:editor-multi-root/multirooteditor~MultiRootEditor#loadRoot `MultiRootEditor#lazyRoot()`}.
30
- *
31
- * This is useful for handling big documents that contain hundreds of roots, or contain very large roots, which may have
32
- * impact editor performance if loaded all at once.
33
- *
34
- * @deprecated
35
- */
36
- lazyLoad?: boolean;
37
- }
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 "@ckeditor/ckeditor5-core";
6
+ declare module "@ckeditor/ckeditor5-core" {
7
+ interface RootConfig {
8
+ /**
9
+ * Flag for the root that exist in the document but is not initially loaded by the editor.
10
+ *
11
+ * **This property has been deprecated and will be removed in the future versions of CKEditor.**
12
+ *
13
+ * **Note: This configuration option is supported only by the
14
+ * {@link module:editor-multi-root/multirooteditor~MultiRootEditor multi-root} editor type.**
15
+ *
16
+ * **Important! Lazy roots loading is an experimental feature. Be advised of the following known limitations:**
17
+ *
18
+ * * **Real-time collaboration integrations that use
19
+ * [uploaded editor bundles](https://ckeditor.com/docs/cs/latest/guides/collaboration/editor-bundle.html) are not supported. Using
20
+ * lazy roots will lead to unexpected behavior and data loss.**
21
+ * * **Revision history feature will read and process the whole document on editor initialization, possibly defeating the purpose
22
+ * of using the lazy roots loading. Additionally, when the document is loaded for the first time, all roots need to be loaded,
23
+ * to make sure that the initial revision data includes all roots. Otherwise, you may experience data loss.**
24
+ * * **Multiple features, that require full document data to be loaded, will produce incorrect or confusing results if not all
25
+ * roots are loaded. These include: bookmarks, find and replace, word count, pagination, document exports, document outline,
26
+ * and table of contents.**
27
+ *
28
+ * These roots can be loaded at any time after the editor has been initialized, using
29
+ * {@link module:editor-multi-root/multirooteditor~MultiRootEditor#loadRoot `MultiRootEditor#lazyRoot()`}.
30
+ *
31
+ * This is useful for handling big documents that contain hundreds of roots, or contain very large roots, which may have
32
+ * impact editor performance if loaded all at once.
33
+ *
34
+ * @deprecated
35
+ */
36
+ lazyLoad?: boolean;
37
+ }
38
38
  }
@@ -2,3 +2,4 @@
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
+
@@ -2,3 +2,4 @@
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
+
package/dist/index.css CHANGED
@@ -3,5 +3,3 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
 
6
-
7
- /*# sourceMappingURL=index.css.map */
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
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
- */
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
5
  /**
6
- * @module editor-multi-root
7
- */
8
- export { MultiRootEditor } from './multirooteditor.js';
9
- export { MultiRootEditorUI } from './multirooteditorui.js';
10
- export { MultiRootEditorUIView } from './multirooteditoruiview.js';
11
- export type { AddRootEvent, DetachRootEvent, LoadRootEvent, AddRootOptions, LoadRootOptions, AddRootRootConfig, RootEditableOptions } from './multirooteditor.js';
12
- export type { EditorRootAttributes as RootAttributes } from '@ckeditor/ckeditor5-core';
13
- import './augmentation.js';
6
+ * @module editor-multi-root
7
+ */
8
+ export { MultiRootEditor } from "./multirooteditor.js";
9
+ export { MultiRootEditorUI } from "./multirooteditorui.js";
10
+ export { MultiRootEditorUIView } from "./multirooteditoruiview.js";
11
+ export type { AddRootEvent, DetachRootEvent, LoadRootEvent, AddRootOptions, LoadRootOptions, AddRootRootConfig, RootEditableOptions } from "./multirooteditor.js";
12
+ export type { EditorRootAttributes as RootAttributes } from "@ckeditor/ckeditor5-core";
13
+ import "./augmentation.js";