@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.
- package/dist/augmentation.d.ts +36 -36
- package/dist/index-content.css +1 -0
- package/dist/index-editor.css +1 -0
- package/dist/index.css +0 -2
- package/dist/index.d.ts +11 -11
- package/dist/index.js +842 -962
- package/dist/index.js.map +1 -1
- package/dist/legacyerrors.d.ts +0 -4
- package/dist/multirooteditor.d.ts +768 -768
- package/dist/multirooteditorui.d.ts +69 -69
- package/dist/multirooteditoruiview.d.ts +78 -78
- package/package.json +5 -5
- package/dist/index.css.map +0 -1
package/dist/augmentation.d.ts
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import
|
|
6
|
-
declare module
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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
|
}
|
package/dist/index-content.css
CHANGED
package/dist/index-editor.css
CHANGED
package/dist/index.css
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
export { MultiRootEditor } from
|
|
9
|
-
export { MultiRootEditorUI } from
|
|
10
|
-
export { MultiRootEditorUIView } from
|
|
11
|
-
export type { AddRootEvent, DetachRootEvent, LoadRootEvent, AddRootOptions, LoadRootOptions, AddRootRootConfig, RootEditableOptions } from
|
|
12
|
-
export type { EditorRootAttributes as RootAttributes } from
|
|
13
|
-
import
|
|
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";
|