@ckeditor/ckeditor5-editor-multi-root 39.0.0 → 39.0.2

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/README.md CHANGED
@@ -1,19 +1,19 @@
1
- CKEditor 5 multi-root editor implementation
1
+ CKEditor 5 multi-root editor implementation
2
2
  ========================================
3
3
 
4
4
  [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-editor-multi-root.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-multi-root)
5
5
  [![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
6
6
  [![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5)
7
7
 
8
- The multi-root editor implementation for CKEditor 5. Read more about the [multi-root editor build](https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/predefined-builds.html#multi-root-editor) and see the [demo](https://ckeditor.com/docs/ckeditor5/latest/examples/builds/multi-root-editor.html).
8
+ The multi-root editor implementation for CKEditor 5. Read more about the [multi-root editor build](https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/predefined-builds.html#multi-root-editor) and see the [demo](https://ckeditor.com/docs/ckeditor5/latest/examples/builds/multi-root-editor.html).
9
9
 
10
10
  This package contains the [`MultiRootEditor`](https://ckeditor.com/docs/ckeditor5/latest/api/module_editor-multi-root_multirooteditor-MultiRootEditor.html) class. Follow there to learn more about this type of editor and how to initialize it.
11
11
 
12
- This package contains the source version of the multi-root editor. Read more about [CKEditor 5 predefined builds](https://ckeditor.com/docs/ckeditor5/latest/installation/advanced/alternative-setups/predefined-builds.html) in the CKEditor 5 documentation.
12
+ This package contains the source version of the multi-root editor. Read more about [CKEditor 5 predefined builds](https://ckeditor.com/docs/ckeditor5/latest/installation/advanced/alternative-setups/predefined-builds.html) in the CKEditor 5 documentation.
13
13
 
14
14
  ## Documentation
15
15
 
16
- See the [`@ckeditor/ckeditor5-editor-multi-root` package](https://ckeditor.com/docs/ckeditor5/latest/api/editor-multi-root.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
16
+ See the [`@ckeditor/ckeditor5-editor-multi-root` package](https://ckeditor.com/docs/ckeditor5/latest/api/editor-multi-root.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
17
17
 
18
18
  ## License
19
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-editor-multi-root",
3
- "version": "39.0.0",
3
+ "version": "39.0.2",
4
4
  "description": "Multi-root editor implementation for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -11,13 +11,9 @@
11
11
  ],
12
12
  "main": "src/index.js",
13
13
  "dependencies": {
14
- "ckeditor5": "39.0.0",
14
+ "ckeditor5": "39.0.2",
15
15
  "lodash-es": "4.17.21"
16
16
  },
17
- "engines": {
18
- "node": ">=16.0.0",
19
- "npm": ">=5.7.1"
20
- },
21
17
  "author": "CKSource (http://cksource.com/)",
22
18
  "license": "GPL-2.0-or-later",
23
19
  "homepage": "https://ckeditor.com/ckeditor-5",
@@ -77,13 +77,13 @@ declare module '@ckeditor/ckeditor5-core' {
77
77
  */
78
78
  rootsAttributes?: Record<string, RootAttributes>;
79
79
  /**
80
- * List of names of all the roots that exist in the document but are not initially loaded by the editor.
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
82
  * These roots can be loaded at any time after the editor has been initialized, using
83
83
  * {@link module:editor-multi-root/multirooteditor~MultiRootEditor#loadRoot `MultiRootEditor#lazyRoot()`}.
84
84
  *
85
85
  * This is useful for handling big documents that contain hundreds of roots, or contain very large roots, which may have
86
- * impact editor performance if loaded all together.
86
+ * impact editor performance if loaded all at once.
87
87
  */
88
88
  lazyRoots?: Array<string>;
89
89
  }
@@ -243,13 +243,13 @@ export default class MultiRootEditor extends MultiRootEditor_base {
243
243
  */
244
244
  detachEditable(root: RootElement): HTMLElement;
245
245
  /**
246
- * Loads a root that has been previously declared in {@link module:core/editor/editorconfig~EditorConfig#lazyRoots `lazyRoots`}
246
+ * Loads a root that has previously been declared in {@link module:core/editor/editorconfig~EditorConfig#lazyRoots `lazyRoots`}
247
247
  * configuration option.
248
248
  *
249
249
  * Only roots specified in the editor config can be loaded. A root cannot be loaded multiple times. A root cannot be unloaded and
250
250
  * loading a root cannot be reverted using the undo feature.
251
251
  *
252
- * When a root becomes loaded, it will be treated by the editor as though it was just added. This, among other, means that all
252
+ * When a root becomes loaded, it will be treated by the editor as though it was just added. This, among others, means that all
253
253
  * related events and mechanisms will be fired, including {@link ~MultiRootEditor#event:addRoot `addRoot` event},
254
254
  * {@link module:engine/model/document~Document#event:change `model.Document` `change` event}, model post-fixers and conversion.
255
255
  *
@@ -443,13 +443,13 @@ export default class MultiRootEditor extends DataApiMixin(Editor) {
443
443
  return editable.element;
444
444
  }
445
445
  /**
446
- * Loads a root that has been previously declared in {@link module:core/editor/editorconfig~EditorConfig#lazyRoots `lazyRoots`}
446
+ * Loads a root that has previously been declared in {@link module:core/editor/editorconfig~EditorConfig#lazyRoots `lazyRoots`}
447
447
  * configuration option.
448
448
  *
449
449
  * Only roots specified in the editor config can be loaded. A root cannot be loaded multiple times. A root cannot be unloaded and
450
450
  * loading a root cannot be reverted using the undo feature.
451
451
  *
452
- * When a root becomes loaded, it will be treated by the editor as though it was just added. This, among other, means that all
452
+ * When a root becomes loaded, it will be treated by the editor as though it was just added. This, among others, means that all
453
453
  * related events and mechanisms will be fired, including {@link ~MultiRootEditor#event:addRoot `addRoot` event},
454
454
  * {@link module:engine/model/document~Document#event:change `model.Document` `change` event}, model post-fixers and conversion.
455
455
  *