@ckeditor/ckeditor5-editor-multi-root 0.0.0-nightly-20240522.0 → 0.0.0-nightly-20240524.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.
@@ -15,7 +15,7 @@ import { ContextWatchdog, EditorWatchdog } from 'ckeditor5/src/watchdog.js';
15
15
  import MultiRootEditorUI from './multirooteditorui.js';
16
16
  import { type RootElement } from 'ckeditor5/src/engine.js';
17
17
  /**
18
- * The {@glink installation/getting-started/predefined-builds#multi-root-editor multi-root editor} implementation.
18
+ * The multi-root editor implementation.
19
19
  *
20
20
  * The multi-root editor provides multiple inline editable elements and a toolbar. All editable areas are controlled by one editor
21
21
  * instance, which means that they share common configuration, document ID, or undo stack.
@@ -27,22 +27,6 @@ import { type RootElement } from 'ckeditor5/src/engine.js';
27
27
  * {@link module:editor-multi-root/multirooteditor~MultiRootEditor.create `MultiRootEditor.create()`} method.
28
28
  *
29
29
  * Note that you will need to attach the editor toolbar to your web page manually, in a desired place, after the editor is initialized.
30
- *
31
- * # Multi-root editor and multi-root editor build
32
- *
33
- * The multi-root editor can be used directly from source (if you installed the
34
- * [`@ckeditor/ckeditor5-editor-multi-root`](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-multi-root) package)
35
- * but it is also available in the
36
- * {@glink installation/getting-started/predefined-builds#multi-root-editor multi-root editor build}.
37
- *
38
- * {@glink installation/getting-started/predefined-builds Builds} are ready-to-use editors with plugins bundled in.
39
- *
40
- * When using the editor from source you need to take care of loading all plugins by yourself
41
- * (through the {@link module:core/editor/editorconfig~EditorConfig#plugins `config.plugins`} option).
42
- * Using the editor from source gives much better flexibility and allows for easier customization.
43
- *
44
- * Read more about initializing the editor from source or as a build in
45
- * {@link module:editor-multi-root/multirooteditor~MultiRootEditor.create `MultiRootEditor.create()`}.
46
30
  */
47
31
  export default class MultiRootEditor extends Editor {
48
32
  /**
@@ -466,18 +450,6 @@ export default class MultiRootEditor extends Editor {
466
450
  * See the {@link module:core/editor/editorconfig~EditorConfig editor configuration documentation} to learn more about
467
451
  * customizing plugins, toolbar and more.
468
452
  *
469
- * # Using the editor from source
470
- *
471
- * The code samples listed in the previous sections of this documentation assume that you are using an
472
- * {@glink installation/getting-started/predefined-builds editor build}
473
- * (for example – `@ckeditor/ckeditor5-build-multi-root`).
474
- *
475
- * If you want to use the multi-root editor from source (`@ckeditor/ckeditor5-editor-multi-root-editor/src/multirooteditor`),
476
- * you need to define the list of
477
- * {@link module:core/editor/editorconfig~EditorConfig#plugins plugins to be initialized} and
478
- * {@link module:core/editor/editorconfig~EditorConfig#toolbar toolbar items}. Read more about using the editor from
479
- * source in the {@glink installation/advanced/alternative-setups/integrating-from-source-webpack dedicated guide}.
480
- *
481
453
  * @param sourceElementsOrData The DOM elements that will be the source for the created editor
482
454
  * or the editor's initial data. The editor will initialize multiple roots with names according to the keys in the passed object.
483
455
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-editor-multi-root",
3
- "version": "0.0.0-nightly-20240522.0",
3
+ "version": "0.0.0-nightly-20240524.0",
4
4
  "description": "Multi-root editor implementation for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,7 +12,7 @@
12
12
  "type": "module",
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "ckeditor5": "0.0.0-nightly-20240522.0",
15
+ "ckeditor5": "0.0.0-nightly-20240524.0",
16
16
  "lodash-es": "4.17.21"
17
17
  },
18
18
  "author": "CKSource (http://cksource.com/)",
@@ -11,7 +11,7 @@ import { ContextWatchdog, EditorWatchdog } from 'ckeditor5/src/watchdog.js';
11
11
  import MultiRootEditorUI from './multirooteditorui.js';
12
12
  import { type RootElement } from 'ckeditor5/src/engine.js';
13
13
  /**
14
- * The {@glink installation/getting-started/predefined-builds#multi-root-editor multi-root editor} implementation.
14
+ * The multi-root editor implementation.
15
15
  *
16
16
  * The multi-root editor provides multiple inline editable elements and a toolbar. All editable areas are controlled by one editor
17
17
  * instance, which means that they share common configuration, document ID, or undo stack.
@@ -23,22 +23,6 @@ import { type RootElement } from 'ckeditor5/src/engine.js';
23
23
  * {@link module:editor-multi-root/multirooteditor~MultiRootEditor.create `MultiRootEditor.create()`} method.
24
24
  *
25
25
  * Note that you will need to attach the editor toolbar to your web page manually, in a desired place, after the editor is initialized.
26
- *
27
- * # Multi-root editor and multi-root editor build
28
- *
29
- * The multi-root editor can be used directly from source (if you installed the
30
- * [`@ckeditor/ckeditor5-editor-multi-root`](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-multi-root) package)
31
- * but it is also available in the
32
- * {@glink installation/getting-started/predefined-builds#multi-root-editor multi-root editor build}.
33
- *
34
- * {@glink installation/getting-started/predefined-builds Builds} are ready-to-use editors with plugins bundled in.
35
- *
36
- * When using the editor from source you need to take care of loading all plugins by yourself
37
- * (through the {@link module:core/editor/editorconfig~EditorConfig#plugins `config.plugins`} option).
38
- * Using the editor from source gives much better flexibility and allows for easier customization.
39
- *
40
- * Read more about initializing the editor from source or as a build in
41
- * {@link module:editor-multi-root/multirooteditor~MultiRootEditor.create `MultiRootEditor.create()`}.
42
26
  */
43
27
  export default class MultiRootEditor extends Editor {
44
28
  /**
@@ -462,18 +446,6 @@ export default class MultiRootEditor extends Editor {
462
446
  * See the {@link module:core/editor/editorconfig~EditorConfig editor configuration documentation} to learn more about
463
447
  * customizing plugins, toolbar and more.
464
448
  *
465
- * # Using the editor from source
466
- *
467
- * The code samples listed in the previous sections of this documentation assume that you are using an
468
- * {@glink installation/getting-started/predefined-builds editor build}
469
- * (for example – `@ckeditor/ckeditor5-build-multi-root`).
470
- *
471
- * If you want to use the multi-root editor from source (`@ckeditor/ckeditor5-editor-multi-root-editor/src/multirooteditor`),
472
- * you need to define the list of
473
- * {@link module:core/editor/editorconfig~EditorConfig#plugins plugins to be initialized} and
474
- * {@link module:core/editor/editorconfig~EditorConfig#toolbar toolbar items}. Read more about using the editor from
475
- * source in the {@glink installation/advanced/alternative-setups/integrating-from-source-webpack dedicated guide}.
476
- *
477
449
  * @param sourceElementsOrData The DOM elements that will be the source for the created editor
478
450
  * or the editor's initial data. The editor will initialize multiple roots with names according to the keys in the passed object.
479
451
  *
@@ -12,7 +12,7 @@ import MultiRootEditorUI from './multirooteditorui.js';
12
12
  import MultiRootEditorUIView from './multirooteditoruiview.js';
13
13
  import { isElement as _isElement } from 'lodash-es';
14
14
  /**
15
- * The {@glink installation/getting-started/predefined-builds#multi-root-editor multi-root editor} implementation.
15
+ * The multi-root editor implementation.
16
16
  *
17
17
  * The multi-root editor provides multiple inline editable elements and a toolbar. All editable areas are controlled by one editor
18
18
  * instance, which means that they share common configuration, document ID, or undo stack.
@@ -24,22 +24,6 @@ import { isElement as _isElement } from 'lodash-es';
24
24
  * {@link module:editor-multi-root/multirooteditor~MultiRootEditor.create `MultiRootEditor.create()`} method.
25
25
  *
26
26
  * Note that you will need to attach the editor toolbar to your web page manually, in a desired place, after the editor is initialized.
27
- *
28
- * # Multi-root editor and multi-root editor build
29
- *
30
- * The multi-root editor can be used directly from source (if you installed the
31
- * [`@ckeditor/ckeditor5-editor-multi-root`](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-multi-root) package)
32
- * but it is also available in the
33
- * {@glink installation/getting-started/predefined-builds#multi-root-editor multi-root editor build}.
34
- *
35
- * {@glink installation/getting-started/predefined-builds Builds} are ready-to-use editors with plugins bundled in.
36
- *
37
- * When using the editor from source you need to take care of loading all plugins by yourself
38
- * (through the {@link module:core/editor/editorconfig~EditorConfig#plugins `config.plugins`} option).
39
- * Using the editor from source gives much better flexibility and allows for easier customization.
40
- *
41
- * Read more about initializing the editor from source or as a build in
42
- * {@link module:editor-multi-root/multirooteditor~MultiRootEditor.create `MultiRootEditor.create()`}.
43
27
  */
44
28
  class MultiRootEditor extends Editor {
45
29
  /**
@@ -735,18 +719,6 @@ class MultiRootEditor extends Editor {
735
719
  * See the {@link module:core/editor/editorconfig~EditorConfig editor configuration documentation} to learn more about
736
720
  * customizing plugins, toolbar and more.
737
721
  *
738
- * # Using the editor from source
739
- *
740
- * The code samples listed in the previous sections of this documentation assume that you are using an
741
- * {@glink installation/getting-started/predefined-builds editor build}
742
- * (for example – `@ckeditor/ckeditor5-build-multi-root`).
743
- *
744
- * If you want to use the multi-root editor from source (`@ckeditor/ckeditor5-editor-multi-root-editor/src/multirooteditor`),
745
- * you need to define the list of
746
- * {@link module:core/editor/editorconfig~EditorConfig#plugins plugins to be initialized} and
747
- * {@link module:core/editor/editorconfig~EditorConfig#toolbar toolbar items}. Read more about using the editor from
748
- * source in the {@glink installation/advanced/alternative-setups/integrating-from-source-webpack dedicated guide}.
749
- *
750
722
  * @param sourceElementsOrData The DOM elements that will be the source for the created editor
751
723
  * or the editor's initial data. The editor will initialize multiple roots with names according to the keys in the passed object.
752
724
  *