@ckeditor/ckeditor5-font 48.2.0 → 48.3.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.
- package/dist/augmentation.d.ts +56 -56
- package/dist/font.d.ts +32 -32
- package/dist/fontbackgroundcolor/fontbackgroundcolorcommand.d.ts +21 -21
- package/dist/fontbackgroundcolor/fontbackgroundcolorediting.d.ts +25 -25
- package/dist/fontbackgroundcolor/fontbackgroundcolorui.d.ts +15 -15
- package/dist/fontbackgroundcolor.d.ts +29 -29
- package/dist/fontcolor/fontcolorcommand.d.ts +20 -20
- package/dist/fontcolor/fontcolorediting.d.ts +25 -25
- package/dist/fontcolor/fontcolorui.d.ts +15 -15
- package/dist/fontcolor.d.ts +28 -28
- package/dist/fontcommand.d.ts +43 -43
- package/dist/fontconfig.d.ts +356 -356
- package/dist/fontfamily/fontfamilycommand.d.ts +20 -20
- package/dist/fontfamily/fontfamilyediting.d.ts +38 -38
- package/dist/fontfamily/fontfamilyui.d.ts +29 -29
- package/dist/fontfamily/utils.d.ts +16 -16
- package/dist/fontfamily.d.ts +28 -28
- package/dist/fontsize/fontsizecommand.d.ts +20 -20
- package/dist/fontsize/fontsizeediting.d.ts +43 -43
- package/dist/fontsize/fontsizeui.d.ts +30 -30
- package/dist/fontsize/utils.d.ts +10 -10
- package/dist/fontsize.d.ts +36 -36
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +29 -29
- package/dist/index.js +1584 -1570
- package/dist/index.js.map +1 -1
- package/dist/ui/colorui.d.ts +59 -59
- package/dist/utils.d.ts +69 -69
- package/package.json +6 -6
package/dist/fontcommand.d.ts
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
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 { Command, type Editor } from
|
|
9
|
-
import { type Batch } from
|
|
6
|
+
* @module font/fontcommand
|
|
7
|
+
*/
|
|
8
|
+
import { Command, type Editor } from "@ckeditor/ckeditor5-core";
|
|
9
|
+
import { type Batch } from "@ckeditor/ckeditor5-engine";
|
|
10
10
|
/**
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
* The base font command.
|
|
12
|
+
*/
|
|
13
13
|
export declare abstract class FontCommand extends Command {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
-
|
|
14
|
+
/**
|
|
15
|
+
* When set, it reflects the {@link #attributeKey} value of the selection.
|
|
16
|
+
*
|
|
17
|
+
* @observable
|
|
18
|
+
* @readonly
|
|
19
|
+
*/
|
|
20
|
+
value: string;
|
|
21
|
+
/**
|
|
22
|
+
* A model attribute on which this command operates.
|
|
23
|
+
*/
|
|
24
|
+
readonly attributeKey: string;
|
|
25
|
+
/**
|
|
26
|
+
* Creates an instance of the command.
|
|
27
|
+
*
|
|
28
|
+
* @param editor Editor instance.
|
|
29
|
+
* @param attributeKey The name of a model attribute on which this command operates.
|
|
30
|
+
*/
|
|
31
|
+
constructor(editor: Editor, attributeKey: string);
|
|
32
|
+
/**
|
|
33
|
+
* @inheritDoc
|
|
34
|
+
*/
|
|
35
|
+
override refresh(): void;
|
|
36
|
+
/**
|
|
37
|
+
* Executes the command. Applies the `value` of the {@link #attributeKey} to the selection.
|
|
38
|
+
* If no `value` is passed, it removes the attribute from the selection.
|
|
39
|
+
*
|
|
40
|
+
* @param options Options for the executed command.
|
|
41
|
+
* @param options.value The value to apply.
|
|
42
|
+
* @fires execute
|
|
43
|
+
*/
|
|
44
|
+
override execute(options?: {
|
|
45
|
+
value?: string;
|
|
46
|
+
batch?: Batch;
|
|
47
|
+
}): void;
|
|
48
48
|
}
|