@ckeditor/ckeditor5-list 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/augmentation.d.ts +54 -54
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +67 -67
- package/dist/index.js +7187 -8921
- package/dist/index.js.map +1 -1
- package/dist/legacyerrors.d.ts +0 -4
- package/dist/legacylist/legacyconverters.d.ts +184 -184
- package/dist/legacylist/legacyindentcommand.d.ts +33 -33
- package/dist/legacylist/legacylistcommand.d.ts +52 -52
- package/dist/legacylist/legacylistediting.d.ts +32 -32
- package/dist/legacylist/legacylistutils.d.ts +40 -40
- package/dist/legacylist/legacyutils.d.ts +91 -91
- package/dist/legacylist.d.ts +25 -25
- package/dist/legacylistproperties/legacylistpropertiesediting.d.ts +71 -71
- package/dist/legacylistproperties/legacylistreversedcommand.d.ts +33 -33
- package/dist/legacylistproperties/legacyliststartcommand.d.ts +33 -33
- package/dist/legacylistproperties/legacyliststylecommand.d.ts +63 -63
- package/dist/legacylistproperties.d.ts +26 -26
- package/dist/legacytodolist/legacychecktodolistcommand.d.ts +47 -47
- package/dist/legacytodolist/legacytodolistconverters.d.ts +76 -76
- package/dist/legacytodolist/legacytodolistediting.d.ts +46 -46
- package/dist/legacytodolist.d.ts +26 -26
- package/dist/list/adjacentlistssupport.d.ts +16 -16
- package/dist/list/converters.d.ts +68 -68
- package/dist/list/listcommand.d.ts +84 -84
- package/dist/list/listediting.d.ts +213 -219
- package/dist/list/listindentcommand.d.ts +54 -54
- package/dist/list/listmergecommand.d.ts +68 -68
- package/dist/list/listsplitcommand.d.ts +59 -59
- package/dist/list/listui.d.ts +19 -19
- package/dist/list/listutils.d.ts +55 -55
- package/dist/list/utils/listwalker.d.ts +139 -139
- package/dist/list/utils/model.d.ts +202 -202
- package/dist/list/utils/postfixers.d.ts +30 -30
- package/dist/list/utils/view.d.ts +65 -65
- package/dist/list/utils.d.ts +15 -15
- package/dist/list.d.ts +25 -25
- package/dist/listconfig.d.ts +234 -234
- package/dist/listformatting/listitemboldintegration.d.ts +29 -29
- package/dist/listformatting/listitemfontcolorintegration.d.ts +29 -29
- package/dist/listformatting/listitemfontfamilyintegration.d.ts +29 -29
- package/dist/listformatting/listitemfontsizeintegration.d.ts +29 -29
- package/dist/listformatting/listitemitalicintegration.d.ts +29 -29
- package/dist/listformatting.d.ts +66 -66
- package/dist/listproperties/converters.d.ts +15 -15
- package/dist/listproperties/listpropertiesediting.d.ts +91 -91
- package/dist/listproperties/listpropertiesui.d.ts +22 -22
- package/dist/listproperties/listpropertiesutils.d.ts +32 -32
- package/dist/listproperties/listreversedcommand.d.ts +31 -31
- package/dist/listproperties/liststartcommand.d.ts +34 -34
- package/dist/listproperties/liststylecommand.d.ts +67 -67
- package/dist/listproperties/ui/listpropertiesview.d.ts +147 -147
- package/dist/listproperties/utils/config.d.ts +32 -32
- package/dist/listproperties/utils/style.d.ts +31 -31
- package/dist/listproperties.d.ts +26 -26
- package/dist/todolist/checktodolistcommand.d.ts +44 -44
- package/dist/todolist/todocheckboxchangeobserver.d.ts +36 -36
- package/dist/todolist/todolistediting.d.ts +45 -45
- package/dist/todolist/todolistui.d.ts +19 -19
- package/dist/todolist.d.ts +26 -26
- package/package.json +10 -10
package/dist/listconfig.d.ts
CHANGED
|
@@ -1,246 +1,246 @@
|
|
|
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 { type ArrayOrItem } from
|
|
6
|
+
* @module list/listconfig
|
|
7
|
+
*/
|
|
8
|
+
import { type ArrayOrItem } from "@ckeditor/ckeditor5-utils";
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
10
|
+
* The configuration of the {@link module:list/list~List list} feature
|
|
11
|
+
* and the {@link module:list/legacylist~LegacyList legacy list} feature.
|
|
12
|
+
*
|
|
13
|
+
* ```ts
|
|
14
|
+
* ClassicEditor
|
|
15
|
+
* .create( {
|
|
16
|
+
* list: ... // The list feature configuration.
|
|
17
|
+
* } )
|
|
18
|
+
* .then( ... )
|
|
19
|
+
* .catch( ... );
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
23
|
+
*
|
|
24
|
+
* @interface ListConfig
|
|
25
|
+
*/
|
|
26
26
|
export interface ListConfig {
|
|
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
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
27
|
+
/**
|
|
28
|
+
* The configuration of the {@link module:list/listproperties~ListProperties} feature and the
|
|
29
|
+
* {@link module:list/legacylistproperties~LegacyListProperties legacy list properties} feature.
|
|
30
|
+
*
|
|
31
|
+
* Read more in {@link module:list/listconfig~ListPropertiesConfig}.
|
|
32
|
+
*/
|
|
33
|
+
properties?: ListPropertiesConfig;
|
|
34
|
+
/**
|
|
35
|
+
* Allows multiple blocks in single list item.
|
|
36
|
+
*
|
|
37
|
+
* With this option enabled you can have block widgets, for example images or even tables, within a list item.
|
|
38
|
+
*
|
|
39
|
+
* **Note:** This is enabled by default.
|
|
40
|
+
*
|
|
41
|
+
* @default true
|
|
42
|
+
*/
|
|
43
|
+
multiBlock?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Enables list item marker formatting. Current list of integrated formatting plugins includes:
|
|
46
|
+
* * {@link module:list/listformatting/listitemfontfamilyintegration~ListItemFontFamilyIntegration Font family}
|
|
47
|
+
* * {@link module:list/listformatting/listitemfontsizeintegration~ListItemFontSizeIntegration Font size}
|
|
48
|
+
* * {@link module:list/listformatting/listitemfontcolorintegration~ListItemFontColorIntegration Font color}
|
|
49
|
+
* * {@link module:list/listformatting/listitemboldintegration~ListItemBoldIntegration Bold}
|
|
50
|
+
* * {@link module:list/listformatting/listitemitalicintegration~ListItemItalicIntegration Italic}
|
|
51
|
+
*
|
|
52
|
+
* **Note:** This is enabled by default.
|
|
53
|
+
*
|
|
54
|
+
* @default true
|
|
55
|
+
*/
|
|
56
|
+
enableListItemMarkerFormatting?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* When set to `true`, list items can be indented by more than one level relative to their parent.
|
|
59
|
+
* By default, the editor enforces that each nested list item is only one level deeper than its parent.
|
|
60
|
+
*
|
|
61
|
+
* ```ts
|
|
62
|
+
* ClassicEditor
|
|
63
|
+
* .create( editorElement, {
|
|
64
|
+
* list: {
|
|
65
|
+
* enableSkipLevelLists: true
|
|
66
|
+
* }
|
|
67
|
+
* } )
|
|
68
|
+
* .then( ... )
|
|
69
|
+
* .catch( ... );
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @default false
|
|
73
|
+
*/
|
|
74
|
+
enableSkipLevelLists?: boolean;
|
|
75
75
|
}
|
|
76
76
|
/**
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
77
|
+
* The configuration of the {@link module:list/listproperties~ListProperties list properties} feature and the
|
|
78
|
+
* {@link module:list/legacylistproperties~LegacyListProperties legacy list properties} feature.
|
|
79
|
+
*
|
|
80
|
+
* This configuration controls the individual list properties. For instance, it enables or disables specific editor commands
|
|
81
|
+
* operating on lists ({@link module:list/listproperties/liststylecommand~ListStyleCommand `'listStyle'`},
|
|
82
|
+
* {@link module:list/listproperties/liststartcommand~ListStartCommand `'listStart'`},
|
|
83
|
+
* {@link module:list/listproperties/listreversedcommand~ListReversedCommand `'listReversed'`}, or on the legacy lists
|
|
84
|
+
* {@link module:list/legacylistproperties/legacyliststylecommand~LegacyListStyleCommand `'listStyle'`},
|
|
85
|
+
* {@link module:list/legacylistproperties/legacyliststartcommand~LegacyListStartCommand `'listStart'`},
|
|
86
|
+
* {@link module:list/legacylistproperties/legacylistreversedcommand~LegacyListReversedCommand `'listReversed'`}), the look of the UI
|
|
87
|
+
* (`'numberedList'` and `'bulletedList'` dropdowns), and the editor data pipeline (allowed HTML attributes).
|
|
88
|
+
*
|
|
89
|
+
* ```ts
|
|
90
|
+
* ClassicEditor
|
|
91
|
+
* .create( {
|
|
92
|
+
* list: {
|
|
93
|
+
* properties: {
|
|
94
|
+
* styles: true,
|
|
95
|
+
* startIndex: true,
|
|
96
|
+
* reversed: true
|
|
97
|
+
* }
|
|
98
|
+
* }
|
|
99
|
+
* } )
|
|
100
|
+
* .then( ... )
|
|
101
|
+
* .catch( ... );
|
|
102
|
+
* ```
|
|
103
|
+
*/
|
|
104
104
|
export interface ListPropertiesConfig {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
105
|
+
/**
|
|
106
|
+
* When set, the list style feature will be enabled.
|
|
107
|
+
* It allows changing the `list-style-type` style or the `type` HTML attribute of a list.
|
|
108
|
+
*
|
|
109
|
+
* **Note**: Styling using the `type` HTML attribute is only available in
|
|
110
|
+
* {@link module:list/listproperties~ListProperties list properties}
|
|
111
|
+
* ({@link module:list/listconfig~ListPropertiesStyleConfig learn more}).
|
|
112
|
+
*
|
|
113
|
+
* @default true
|
|
114
|
+
*/
|
|
115
|
+
styles?: boolean | ListPropertiesStyleConfig | ArrayOrItem<ListPropertiesStyleListType>;
|
|
116
|
+
/**
|
|
117
|
+
* When set, the list start index feature will be enabled. It allows changing the `start` HTML attribute of the numbered lists. As a
|
|
118
|
+
* result, it will be possible to specify the start value of the first item in an ordered list.
|
|
119
|
+
*
|
|
120
|
+
* **Note**: This configuration does not affect bulleted and to-do lists.
|
|
121
|
+
*
|
|
122
|
+
* @default false
|
|
123
|
+
*/
|
|
124
|
+
startIndex?: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* When set, the reversed list feature will be enabled. It allows changing the `reversed` HTML attribute of the numbered lists. As a
|
|
127
|
+
* result, it will be possible to make the list order descending instead of ascending.
|
|
128
|
+
*
|
|
129
|
+
* **Note**: This configuration does not affect bulleted and to-do lists.
|
|
130
|
+
*
|
|
131
|
+
* @default false
|
|
132
|
+
*/
|
|
133
|
+
reversed?: boolean;
|
|
134
134
|
}
|
|
135
135
|
export interface ListPropertiesStyleConfig {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
136
|
+
/**
|
|
137
|
+
* Enable style feature for the given list type only.
|
|
138
|
+
*
|
|
139
|
+
* ```ts
|
|
140
|
+
* {
|
|
141
|
+
* list: {
|
|
142
|
+
* properties: {
|
|
143
|
+
* styles: {
|
|
144
|
+
* listTypes: 'numbered'
|
|
145
|
+
* }
|
|
146
|
+
*
|
|
147
|
+
* // ...
|
|
148
|
+
* }
|
|
149
|
+
* },
|
|
150
|
+
*
|
|
151
|
+
* // ...
|
|
152
|
+
* }
|
|
153
|
+
* ```
|
|
154
|
+
*
|
|
155
|
+
*
|
|
156
|
+
* **Note**: This configuration works only with
|
|
157
|
+
* {@link module:list/listproperties~ListProperties list properties}.
|
|
158
|
+
*
|
|
159
|
+
* @default ['bulleted','numbered']
|
|
160
|
+
*/
|
|
161
|
+
listTypes?: ArrayOrItem<ListPropertiesStyleListType>;
|
|
162
|
+
/**
|
|
163
|
+
* When set `true`, the list style feature will use the `type` attribute of `<ul>` and `<ol>` elements instead of the `list-style-type`
|
|
164
|
+
* style.
|
|
165
|
+
*
|
|
166
|
+
* ```ts
|
|
167
|
+
* {
|
|
168
|
+
* list: {
|
|
169
|
+
* properties: {
|
|
170
|
+
* styles: {
|
|
171
|
+
* useAttribute: true
|
|
172
|
+
* },
|
|
173
|
+
*
|
|
174
|
+
* // ...
|
|
175
|
+
* }
|
|
176
|
+
* },
|
|
177
|
+
*
|
|
178
|
+
* // ...
|
|
179
|
+
* }
|
|
180
|
+
* ```
|
|
181
|
+
*
|
|
182
|
+
* **Note**: Due to limitations of HTML, the "Decimal with leading zero" style is impossible to set using the `type` attribute.
|
|
183
|
+
*
|
|
184
|
+
* **Note**: This configuration works only with
|
|
185
|
+
* {@link module:list/listproperties~ListProperties list properties}.
|
|
186
|
+
*
|
|
187
|
+
* @default false
|
|
188
|
+
*/
|
|
189
|
+
useAttribute?: boolean;
|
|
190
|
+
/**
|
|
191
|
+
* Defines which list styles should be available in the UI.
|
|
192
|
+
* Accepts a configuration object with numbered and bulleted styles.
|
|
193
|
+
*
|
|
194
|
+
* ```ts
|
|
195
|
+
* {
|
|
196
|
+
* list: {
|
|
197
|
+
* properties: {
|
|
198
|
+
* styles: {
|
|
199
|
+
* listStyleTypes: {
|
|
200
|
+
* numbered: [ 'decimal', 'lower-roman', 'upper-roman' ],
|
|
201
|
+
* bulleted: [ 'disc', 'circle' ]
|
|
202
|
+
* }
|
|
203
|
+
* }
|
|
204
|
+
* }
|
|
205
|
+
* }
|
|
206
|
+
* }
|
|
207
|
+
* ```
|
|
208
|
+
*
|
|
209
|
+
* When the `listTypes` configuration is set, `listStyleTypes` will only take effect for the enabled list types.
|
|
210
|
+
* For example, with the following configuration:
|
|
211
|
+
*
|
|
212
|
+
* ```ts
|
|
213
|
+
* {
|
|
214
|
+
* list: {
|
|
215
|
+
* properties: {
|
|
216
|
+
* styles: {
|
|
217
|
+
* listTypes: 'numbered',
|
|
218
|
+
* listStyleTypes: {
|
|
219
|
+
* numbered: [ 'decimal', 'lower-roman' ],
|
|
220
|
+
* bulleted: [ 'disc', 'circle' ]
|
|
221
|
+
* }
|
|
222
|
+
* }
|
|
223
|
+
* }
|
|
224
|
+
* }
|
|
225
|
+
* }
|
|
226
|
+
* ```
|
|
227
|
+
*
|
|
228
|
+
* Only the numbered list styles will be available in the UI, as the `listTypes` property limits style selection to numbered lists only.
|
|
229
|
+
*
|
|
230
|
+
* **Note**: This configuration works only with
|
|
231
|
+
* {@link module:list/listproperties~ListProperties list properties}.
|
|
232
|
+
*
|
|
233
|
+
* @default `{
|
|
234
|
+
* numbered: [ 'decimal', 'decimal-leading-zero', 'lower-roman', 'upper-roman', 'lower-latin', 'upper-latin' ],
|
|
235
|
+
* bulleted: [ 'disc', 'circle', 'square' ]
|
|
236
|
+
* }`
|
|
237
|
+
*/
|
|
238
|
+
listStyleTypes?: ListStyleTypesConfig;
|
|
239
239
|
}
|
|
240
240
|
export interface ListStyleTypesConfig {
|
|
241
|
-
|
|
242
|
-
|
|
241
|
+
numbered?: Array<NumberedListStyleType>;
|
|
242
|
+
bulleted?: Array<BulletedListStyleType>;
|
|
243
243
|
}
|
|
244
|
-
export type ListPropertiesStyleListType =
|
|
245
|
-
export type NumberedListStyleType =
|
|
246
|
-
export type BulletedListStyleType =
|
|
244
|
+
export type ListPropertiesStyleListType = "numbered" | "bulleted";
|
|
245
|
+
export type NumberedListStyleType = "decimal" | "decimal-leading-zero" | "lower-roman" | "upper-roman" | "lower-latin" | "upper-latin" | "arabic-indic";
|
|
246
|
+
export type BulletedListStyleType = "disc" | "circle" | "square";
|
|
@@ -1,34 +1,34 @@
|
|
|
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 { Plugin } from
|
|
9
|
-
import { ListEditing } from
|
|
6
|
+
* @module list/listformatting/listitemboldintegration
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
9
|
+
import { ListEditing } from "../list/listediting.js";
|
|
10
10
|
/**
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
* The list item bold integration plugin.
|
|
12
|
+
*/
|
|
13
13
|
export declare class ListItemBoldIntegration extends Plugin {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
14
|
+
/**
|
|
15
|
+
* @inheritDoc
|
|
16
|
+
*/
|
|
17
|
+
static get pluginName(): "ListItemBoldIntegration";
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
static override get isOfficialPlugin(): true;
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static get requires(): PluginDependenciesOf<[ListEditing]>;
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
init(): void;
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
33
|
+
afterInit(): void;
|
|
34
34
|
}
|
|
@@ -1,34 +1,34 @@
|
|
|
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 { Plugin } from
|
|
9
|
-
import { ListEditing } from
|
|
6
|
+
* @module list/listformatting/listitemfontcolorintegration
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
9
|
+
import { ListEditing } from "../list/listediting.js";
|
|
10
10
|
/**
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
* The list item font color integration plugin.
|
|
12
|
+
*/
|
|
13
13
|
export declare class ListItemFontColorIntegration extends Plugin {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
14
|
+
/**
|
|
15
|
+
* @inheritDoc
|
|
16
|
+
*/
|
|
17
|
+
static get pluginName(): "ListItemFontColorIntegration";
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
static override get isOfficialPlugin(): true;
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static get requires(): PluginDependenciesOf<[ListEditing]>;
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
init(): void;
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
33
|
+
afterInit(): void;
|
|
34
34
|
}
|