@ckeditor/ckeditor5-editor-decoupled 48.2.0 → 48.3.0-alpha.1
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/decouplededitor.d.ts +280 -280
- package/dist/decouplededitorui.d.ts +37 -37
- package/dist/decouplededitoruiview.d.ts +53 -53
- 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 +8 -8
- package/dist/index.js +254 -263
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/dist/index.css.map +0 -1
|
@@ -1,58 +1,58 @@
|
|
|
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
|
-
import { EditorUIView, InlineEditableUIView, MenuBarView, ToolbarView } from
|
|
9
|
-
import type { Locale } from
|
|
10
|
-
import type { EditingView } from
|
|
11
|
-
import type { ViewRootElementDefinition } from
|
|
6
|
+
* @module editor-decoupled/decouplededitoruiview
|
|
7
|
+
*/
|
|
8
|
+
import { EditorUIView, InlineEditableUIView, MenuBarView, ToolbarView } from "@ckeditor/ckeditor5-ui";
|
|
9
|
+
import type { Locale } from "@ckeditor/ckeditor5-utils";
|
|
10
|
+
import type { EditingView } from "@ckeditor/ckeditor5-engine";
|
|
11
|
+
import type { ViewRootElementDefinition } from "@ckeditor/ckeditor5-core";
|
|
12
12
|
/**
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
13
|
+
* The decoupled editor UI view. It is a virtual view providing an inline
|
|
14
|
+
* {@link module:editor-decoupled/decouplededitoruiview~DecoupledEditorUIView#editable},
|
|
15
|
+
* {@link module:editor-decoupled/decouplededitoruiview~DecoupledEditorUIView#toolbar}, and a
|
|
16
|
+
* {@link module:editor-decoupled/decouplededitoruiview~DecoupledEditorUIView#menuBarView} but without any
|
|
17
|
+
* specific arrangement of the components in the DOM.
|
|
18
|
+
*
|
|
19
|
+
* See {@link module:editor-decoupled/decouplededitor~DecoupledEditor.create `DecoupledEditor.create()`}
|
|
20
|
+
* to learn more about this view.
|
|
21
|
+
*/
|
|
22
22
|
export declare class DecoupledEditorUIView extends EditorUIView {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
23
|
+
/**
|
|
24
|
+
* The main toolbar of the decoupled editor UI.
|
|
25
|
+
*/
|
|
26
|
+
override readonly toolbar: ToolbarView;
|
|
27
|
+
/**
|
|
28
|
+
* The editable of the decoupled editor UI.
|
|
29
|
+
*/
|
|
30
|
+
readonly editable: InlineEditableUIView;
|
|
31
|
+
/**
|
|
32
|
+
* Menu bar view instance.
|
|
33
|
+
*/
|
|
34
|
+
override menuBarView: MenuBarView;
|
|
35
|
+
/**
|
|
36
|
+
* Creates an instance of the decoupled editor UI view.
|
|
37
|
+
*
|
|
38
|
+
* @param locale The {@link module:core/editor/editor~Editor#locale} instance.
|
|
39
|
+
* @param editingView The editing view instance this view is related to.
|
|
40
|
+
* @param options Configuration options for the view instance.
|
|
41
|
+
* @param options.editableElement The editable element. If not specified, it will be automatically created by
|
|
42
|
+
* {@link module:ui/editableui/editableuiview~EditableUIView}. Otherwise, the given element will be used.
|
|
43
|
+
* @param options.shouldToolbarGroupWhenFull When set `true` enables automatic items grouping
|
|
44
|
+
* in the main {@link module:editor-decoupled/decouplededitoruiview~DecoupledEditorUIView#toolbar toolbar}.
|
|
45
|
+
* See {@link module:ui/toolbar/toolbarview~ToolbarOptions#shouldGroupWhenFull} to learn more.
|
|
46
|
+
* @param options.label When set, this value will be used as an accessible `aria-label` of the
|
|
47
|
+
* {@link module:ui/editableui/editableuiview~EditableUIView editable view}.
|
|
48
|
+
*/
|
|
49
|
+
constructor(locale: Locale, editingView: EditingView, options?: {
|
|
50
|
+
editableElement?: HTMLElement | ViewRootElementDefinition;
|
|
51
|
+
shouldToolbarGroupWhenFull?: boolean;
|
|
52
|
+
label?: string | Record<string, string>;
|
|
53
|
+
});
|
|
54
|
+
/**
|
|
55
|
+
* @inheritDoc
|
|
56
|
+
*/
|
|
57
|
+
override render(): void;
|
|
58
58
|
}
|
package/dist/index-content.css
CHANGED
package/dist/index-editor.css
CHANGED
package/dist/index.css
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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 { DecoupledEditor } from
|
|
9
|
-
export { DecoupledEditorUI } from
|
|
10
|
-
export { DecoupledEditorUIView } from
|
|
6
|
+
* @module editor-decoupled
|
|
7
|
+
*/
|
|
8
|
+
export { DecoupledEditor } from "./decouplededitor.js";
|
|
9
|
+
export { DecoupledEditorUI } from "./decouplededitorui.js";
|
|
10
|
+
export { DecoupledEditorUIView } from "./decouplededitoruiview.js";
|