@ckeditor/ckeditor5-editor-multi-root 0.0.0-nightly-20240708.0 → 0.0.0-nightly-20240710.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.
@@ -9,7 +9,7 @@
|
|
9
9
|
/**
|
10
10
|
* @module editor-multi-root/multirooteditoruiview
|
11
11
|
*/
|
12
|
-
import { EditorUIView, InlineEditableUIView,
|
12
|
+
import { EditorUIView, InlineEditableUIView, ToolbarView } from 'ckeditor5/src/ui.js';
|
13
13
|
import type { Locale } from 'ckeditor5/src/utils.js';
|
14
14
|
import type { EditingView } from 'ckeditor5/src/engine.js';
|
15
15
|
/**
|
@@ -26,10 +26,6 @@ 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
|
*/
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-editor-multi-root",
|
3
|
-
"version": "0.0.0-nightly-
|
3
|
+
"version": "0.0.0-nightly-20240710.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-
|
15
|
+
"ckeditor5": "0.0.0-nightly-20240710.0",
|
16
16
|
"lodash-es": "4.17.21"
|
17
17
|
},
|
18
18
|
"author": "CKSource (http://cksource.com/)",
|
package/src/multirooteditorui.js
CHANGED
@@ -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
|
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.
|
53
|
+
this._initMenuBar(this.view.menuBarView);
|
54
54
|
this.fire('ready');
|
55
55
|
}
|
56
56
|
/**
|
@@ -5,7 +5,7 @@
|
|
5
5
|
/**
|
6
6
|
* @module editor-multi-root/multirooteditoruiview
|
7
7
|
*/
|
8
|
-
import { EditorUIView, InlineEditableUIView,
|
8
|
+
import { EditorUIView, InlineEditableUIView, ToolbarView } from 'ckeditor5/src/ui.js';
|
9
9
|
import type { Locale } from 'ckeditor5/src/utils.js';
|
10
10
|
import type { EditingView } from 'ckeditor5/src/engine.js';
|
11
11
|
/**
|
@@ -22,10 +22,6 @@ 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
|
*/
|