@ckeditor/ckeditor5-editor-multi-root 42.0.2-alpha.2 → 43.0.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.
@@ -26,15 +26,15 @@ export default class MultiRootEditorUIView extends EditorUIView {
26
26
  * The main toolbar of the multi-root editor UI.
27
27
  */
28
28
  readonly toolbar: ToolbarView;
29
- /**
30
- * Menu bar view instance.
31
- */
32
- readonly menuBarView: MenuBarView;
33
29
  /**
34
30
  * Editable elements used by the multi-root editor UI.
35
31
  */
36
32
  readonly editables: Record<string, InlineEditableUIView>;
37
33
  readonly editable: InlineEditableUIView;
34
+ /**
35
+ * Menu bar view instance.
36
+ */
37
+ menuBarView: MenuBarView;
38
38
  /**
39
39
  * The editing view instance this view is related to.
40
40
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-editor-multi-root",
3
- "version": "42.0.2-alpha.2",
3
+ "version": "43.0.0-alpha.0",
4
4
  "description": "Multi-root editor implementation for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,11 +12,11 @@
12
12
  "type": "module",
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "@ckeditor/ckeditor5-core": "42.0.2-alpha.2",
16
- "@ckeditor/ckeditor5-engine": "42.0.2-alpha.2",
17
- "@ckeditor/ckeditor5-ui": "42.0.2-alpha.2",
18
- "@ckeditor/ckeditor5-utils": "42.0.2-alpha.2",
19
- "ckeditor5": "42.0.2-alpha.2",
15
+ "@ckeditor/ckeditor5-core": "43.0.0-alpha.0",
16
+ "@ckeditor/ckeditor5-engine": "43.0.0-alpha.0",
17
+ "@ckeditor/ckeditor5-ui": "43.0.0-alpha.0",
18
+ "@ckeditor/ckeditor5-utils": "43.0.0-alpha.0",
19
+ "ckeditor5": "43.0.0-alpha.0",
20
20
  "lodash-es": "4.17.21"
21
21
  },
22
22
  "author": "CKSource (http://cksource.com/)",
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import { EditorUI, _initMenuBar } from 'ckeditor5/src/ui.js';
5
+ import { EditorUI } from 'ckeditor5/src/ui.js';
6
6
  import { enablePlaceholder } from 'ckeditor5/src/engine.js';
7
7
  /**
8
8
  * The multi-root editor UI class.
@@ -50,7 +50,7 @@ export default class MultiRootEditorUI extends EditorUI {
50
50
  this.addEditable(editable);
51
51
  }
52
52
  this._initToolbar();
53
- _initMenuBar(this.editor, this.view.menuBarView);
53
+ this._initMenuBar(this.view.menuBarView);
54
54
  this.fire('ready');
55
55
  }
56
56
  /**
@@ -22,15 +22,15 @@ export default class MultiRootEditorUIView extends EditorUIView {
22
22
  * The main toolbar of the multi-root editor UI.
23
23
  */
24
24
  readonly toolbar: ToolbarView;
25
- /**
26
- * Menu bar view instance.
27
- */
28
- readonly menuBarView: MenuBarView;
29
25
  /**
30
26
  * Editable elements used by the multi-root editor UI.
31
27
  */
32
28
  readonly editables: Record<string, InlineEditableUIView>;
33
29
  readonly editable: InlineEditableUIView;
30
+ /**
31
+ * Menu bar view instance.
32
+ */
33
+ menuBarView: MenuBarView;
34
34
  /**
35
35
  * The editing view instance this view is related to.
36
36
  */