@ckeditor/ckeditor5-basic-styles 0.0.0-nightly-20260602.0 → 0.0.0-nightly-20260604.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.
- package/dist/utils.d.ts +22 -1
- package/package.json +7 -7
package/dist/utils.d.ts
CHANGED
|
@@ -1 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
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
|
+
/**
|
|
6
|
+
* @module basic-styles/utils
|
|
7
|
+
*/
|
|
8
|
+
import type { Editor, Plugin } from "@ckeditor/ckeditor5-core";
|
|
9
|
+
import { MenuBarMenuListItemButtonView, type ButtonView } from "@ckeditor/ckeditor5-ui";
|
|
10
|
+
/**
|
|
11
|
+
* Returns a function that creates a (toolbar or menu bar) button for a basic style feature.
|
|
12
|
+
*
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
export declare function getButtonCreator({ editor, commandName, plugin, icon, label, keystroke }: {
|
|
16
|
+
editor: Editor;
|
|
17
|
+
commandName: string;
|
|
18
|
+
icon: string;
|
|
19
|
+
label: string;
|
|
20
|
+
plugin: Plugin;
|
|
21
|
+
keystroke?: string;
|
|
22
|
+
}): <T extends typeof ButtonView | typeof MenuBarMenuListItemButtonView>(ButtonClass: T) => InstanceType<T>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-basic-styles",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20260604.0",
|
|
4
4
|
"description": "Basic styles feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"./package.json": "./package.json"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
30
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
31
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
32
|
-
"@ckeditor/ckeditor5-typing": "0.0.0-nightly-
|
|
33
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
34
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
29
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20260604.0",
|
|
30
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20260604.0",
|
|
31
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20260604.0",
|
|
32
|
+
"@ckeditor/ckeditor5-typing": "0.0.0-nightly-20260604.0",
|
|
33
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20260604.0",
|
|
34
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20260604.0"
|
|
35
35
|
},
|
|
36
36
|
"files": [
|
|
37
37
|
"dist",
|