@ckeditor/ckeditor5-font 37.0.0-alpha.0 → 37.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-font",
3
- "version": "37.0.0-alpha.0",
3
+ "version": "37.0.0-alpha.1",
4
4
  "description": "Font feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,19 +12,19 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "ckeditor5": "^37.0.0-alpha.0"
15
+ "ckeditor5": "^37.0.0-alpha.1"
16
16
  },
17
17
  "devDependencies": {
18
- "@ckeditor/ckeditor5-core": "^37.0.0-alpha.0",
19
- "@ckeditor/ckeditor5-dev-utils": "^34.0.0",
20
- "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.0",
21
- "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.0",
22
- "@ckeditor/ckeditor5-highlight": "^37.0.0-alpha.0",
23
- "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.0",
24
- "@ckeditor/ckeditor5-table": "^37.0.0-alpha.0",
25
- "@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.0",
26
- "@ckeditor/ckeditor5-ui": "^37.0.0-alpha.0",
27
- "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.0",
18
+ "@ckeditor/ckeditor5-core": "^37.0.0-alpha.1",
19
+ "@ckeditor/ckeditor5-dev-utils": "^35.0.0",
20
+ "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.1",
21
+ "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.1",
22
+ "@ckeditor/ckeditor5-highlight": "^37.0.0-alpha.1",
23
+ "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.1",
24
+ "@ckeditor/ckeditor5-table": "^37.0.0-alpha.1",
25
+ "@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.1",
26
+ "@ckeditor/ckeditor5-ui": "^37.0.0-alpha.1",
27
+ "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.1",
28
28
  "typescript": "^4.8.4",
29
29
  "webpack": "^5.58.1",
30
30
  "webpack-cli": "^4.9.0"
@@ -53,7 +53,7 @@
53
53
  ],
54
54
  "scripts": {
55
55
  "dll:build": "webpack",
56
- "build": "tsc -p ./tsconfig.release.json",
56
+ "build": "tsc -p ./tsconfig.json",
57
57
  "postversion": "npm run build"
58
58
  },
59
59
  "types": "src/index.d.ts"
@@ -0,0 +1,58 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ import type { Font, FontBackgroundColor, FontBackgroundColorEditing, FontBackgroundColorUI, FontBackgroundColorCommand, FontColor, FontColorEditing, FontColorUI, FontColorCommand, FontColorConfig, FontFamily, FontFamilyEditing, FontFamilyUI, FontFamilyCommand, FontFamilyConfig, FontSize, FontSizeEditing, FontSizeUI, FontSizeCommand, FontSizeConfig, FONT_BACKGROUND_COLOR, FONT_COLOR, FONT_FAMILY, FONT_SIZE } from './index';
6
+ declare module '@ckeditor/ckeditor5-core' {
7
+ interface EditorConfig {
8
+ /**
9
+ * The configuration of the font background color feature.
10
+ * It is introduced by the {@link module:font/fontbackgroundcolor/fontbackgroundcolorediting~FontBackgroundColorEditing} feature.
11
+ *
12
+ * Read more in {@link module:font/fontconfig~FontColorConfig}.
13
+ */
14
+ fontBackgroundColor?: FontColorConfig;
15
+ /**
16
+ * The configuration of the font color feature.
17
+ * It is introduced by the {@link module:font/fontcolor/fontcolorediting~FontColorEditing} feature.
18
+ *
19
+ * Read more in {@link module:font/fontconfig~FontColorConfig}.
20
+ */
21
+ fontColor?: FontColorConfig;
22
+ /**
23
+ * The configuration of the font family feature.
24
+ * It is introduced by the {@link module:font/fontfamily/fontfamilyediting~FontFamilyEditing} feature.
25
+ *
26
+ * Read more in {@link module:font/fontconfig~FontFamilyConfig}.
27
+ */
28
+ fontFamily?: FontFamilyConfig;
29
+ /**
30
+ * The configuration of the font size feature.
31
+ * It is introduced by the {@link module:font/fontsize/fontsizeediting~FontSizeEditing} feature.
32
+ *
33
+ * Read more in {@link module:font/fontconfig~FontSizeConfig}.
34
+ */
35
+ fontSize?: FontSizeConfig;
36
+ }
37
+ interface PluginsMap {
38
+ [Font.pluginName]: Font;
39
+ [FontBackgroundColor.pluginName]: FontBackgroundColor;
40
+ [FontBackgroundColorEditing.pluginName]: FontBackgroundColorEditing;
41
+ [FontBackgroundColorUI.pluginName]: FontBackgroundColorUI;
42
+ [FontColor.pluginName]: FontColor;
43
+ [FontColorEditing.pluginName]: FontColorEditing;
44
+ [FontColorUI.pluginName]: FontColorUI;
45
+ [FontFamily.pluginName]: FontFamily;
46
+ [FontFamilyEditing.pluginName]: FontFamilyEditing;
47
+ [FontFamilyUI.pluginName]: FontFamilyUI;
48
+ [FontSize.pluginName]: FontSize;
49
+ [FontSizeEditing.pluginName]: FontSizeEditing;
50
+ [FontSizeUI.pluginName]: FontSizeUI;
51
+ }
52
+ interface CommandsMap {
53
+ [FONT_SIZE]: FontSizeCommand;
54
+ [FONT_FAMILY]: FontFamilyCommand;
55
+ [FONT_COLOR]: FontColorCommand;
56
+ [FONT_BACKGROUND_COLOR]: FontBackgroundColorCommand;
57
+ }
58
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export {};
@@ -6,7 +6,7 @@
6
6
  * @module font/documentcolorcollection
7
7
  */
8
8
  import type { ColorDefinition } from 'ckeditor5/src/ui';
9
- import { Collection } from 'ckeditor5/src/utils';
9
+ import { Collection, type CollectionAddEvent, type CollectionRemoveEvent, type CollectionChangeEvent } from 'ckeditor5/src/utils';
10
10
  declare const DocumentColorCollection_base: import("ckeditor5/src/utils").Mixed<{
11
11
  new (options?: {
12
12
  readonly idProperty?: string | undefined;
@@ -30,7 +30,7 @@ export default class DocumentColorCollection extends DocumentColorCollection_bas
30
30
  * Adds a color to the document color collection.
31
31
  *
32
32
  * This method ensures that no color duplicates are inserted (compared using
33
- * the color value of the {@link module:ui/colorgrid/colorgrid~ColorDefinition}).
33
+ * the color value of the {@link module:ui/colorgrid/colorgridview~ColorDefinition}).
34
34
  *
35
35
  * If the item does not have an ID, it will be automatically generated and set on the item.
36
36
  *
@@ -44,4 +44,27 @@ export default class DocumentColorCollection extends DocumentColorCollection_bas
44
44
  */
45
45
  hasColor(color: string): boolean;
46
46
  }
47
+ /**
48
+ * Fired when the collection was changed due to adding or removing items.
49
+ *
50
+ * @eventName ~DocumentColorCollection#change
51
+ * @param data Changed items.
52
+ */
53
+ export type DocumentColorCollectionChangeEvent = CollectionChangeEvent;
54
+ /**
55
+ * Fired when an item is added to the collection.
56
+ *
57
+ * @eventName ~DocumentColorCollection#add
58
+ * @param item The added item.
59
+ * @param index An index where the addition occurred.
60
+ */
61
+ export type DocumentColorCollectionAddEvent = CollectionAddEvent;
62
+ /**
63
+ * Fired when an item is removed from the collection.
64
+ *
65
+ * @eventName ~DocumentColorCollection#remove
66
+ * @param item The removed item.
67
+ * @param index Index from which item was removed.
68
+ */
69
+ export type DocumentColorCollectionRemoveEvent = CollectionRemoveEvent;
47
70
  export {};
@@ -18,7 +18,7 @@ export default class DocumentColorCollection extends ObservableMixin((Collection
18
18
  * Adds a color to the document color collection.
19
19
  *
20
20
  * This method ensures that no color duplicates are inserted (compared using
21
- * the color value of the {@link module:ui/colorgrid/colorgrid~ColorDefinition}).
21
+ * the color value of the {@link module:ui/colorgrid/colorgridview~ColorDefinition}).
22
22
  *
23
23
  * If the item does not have an ID, it will be automatically generated and set on the item.
24
24
  *
package/src/font.d.ts CHANGED
@@ -27,8 +27,3 @@ export default class Font extends Plugin {
27
27
  */
28
28
  static get pluginName(): 'Font';
29
29
  }
30
- declare module '@ckeditor/ckeditor5-core' {
31
- interface PluginsMap {
32
- [Font.pluginName]: Font;
33
- }
34
- }
@@ -7,7 +7,6 @@
7
7
  */
8
8
  import type { Editor } from 'ckeditor5/src/core';
9
9
  import FontCommand from '../fontcommand';
10
- import { FONT_BACKGROUND_COLOR } from '../utils';
11
10
  /**
12
11
  * The font background color command. It is used by
13
12
  * {@link module:font/fontbackgroundcolor/fontbackgroundcolorediting~FontBackgroundColorEditing}
@@ -25,8 +24,3 @@ export default class FontBackgroundColorCommand extends FontCommand {
25
24
  */
26
25
  constructor(editor: Editor);
27
26
  }
28
- declare module '@ckeditor/ckeditor5-core' {
29
- interface CommandsMap {
30
- [FONT_BACKGROUND_COLOR]: FontBackgroundColorCommand;
31
- }
32
- }
@@ -12,7 +12,7 @@ import { Plugin, type Editor } from 'ckeditor5/src/core';
12
12
  * It introduces the {@link module:font/fontbackgroundcolor/fontbackgroundcolorcommand~FontBackgroundColorCommand command} and
13
13
  * the `fontBackgroundColor` attribute in the {@link module:engine/model/model~Model model} which renders
14
14
  * in the {@link module:engine/view/view view} as a `<span>` element (`<span style="background-color: ...">`),
15
- * depending on the {@link module:font/fontbackgroundcolor~FontBackgroundColorConfig configuration}.
15
+ * depending on the {@link module:font/fontconfig~FontColorConfig configuration}.
16
16
  */
17
17
  export default class FontBackgroundColorEditing extends Plugin {
18
18
  /**
@@ -24,8 +24,3 @@ export default class FontBackgroundColorEditing extends Plugin {
24
24
  */
25
25
  constructor(editor: Editor);
26
26
  }
27
- declare module '@ckeditor/ckeditor5-core' {
28
- interface PluginsMap {
29
- [FontBackgroundColorEditing.pluginName]: FontBackgroundColorEditing;
30
- }
31
- }
@@ -15,7 +15,7 @@ import { FONT_BACKGROUND_COLOR, renderDowncastElement, renderUpcastAttribute } f
15
15
  * It introduces the {@link module:font/fontbackgroundcolor/fontbackgroundcolorcommand~FontBackgroundColorCommand command} and
16
16
  * the `fontBackgroundColor` attribute in the {@link module:engine/model/model~Model model} which renders
17
17
  * in the {@link module:engine/view/view view} as a `<span>` element (`<span style="background-color: ...">`),
18
- * depending on the {@link module:font/fontbackgroundcolor~FontBackgroundColorConfig configuration}.
18
+ * depending on the {@link module:font/fontconfig~FontColorConfig configuration}.
19
19
  */
20
20
  export default class FontBackgroundColorEditing extends Plugin {
21
21
  /**
@@ -20,8 +20,3 @@ export default class FontBackgroundColorUI extends ColorUI {
20
20
  */
21
21
  static get pluginName(): 'FontBackgroundColorUI';
22
22
  }
23
- declare module '@ckeditor/ckeditor5-core' {
24
- interface PluginsMap {
25
- [FontBackgroundColorUI.pluginName]: FontBackgroundColorUI;
26
- }
27
- }
@@ -26,8 +26,3 @@ export default class FontBackgroundColor extends Plugin {
26
26
  */
27
27
  static get pluginName(): 'FontBackgroundColor';
28
28
  }
29
- declare module '@ckeditor/ckeditor5-core' {
30
- interface PluginsMap {
31
- [FontBackgroundColor.pluginName]: FontBackgroundColor;
32
- }
33
- }
@@ -7,7 +7,6 @@
7
7
  */
8
8
  import type { Editor } from 'ckeditor5/src/core';
9
9
  import FontCommand from '../fontcommand';
10
- import { FONT_COLOR } from '../utils';
11
10
  /**
12
11
  * The font color command. It is used by {@link module:font/fontcolor/fontcolorediting~FontColorEditing}
13
12
  * to apply the font color.
@@ -24,8 +23,3 @@ export default class FontColorCommand extends FontCommand {
24
23
  */
25
24
  constructor(editor: Editor);
26
25
  }
27
- declare module '@ckeditor/ckeditor5-core' {
28
- interface CommandsMap {
29
- [FONT_COLOR]: FontColorCommand;
30
- }
31
- }
@@ -24,8 +24,3 @@ export default class FontColorEditing extends Plugin {
24
24
  */
25
25
  constructor(editor: Editor);
26
26
  }
27
- declare module '@ckeditor/ckeditor5-core' {
28
- interface PluginsMap {
29
- [FontColorEditing.pluginName]: FontColorEditing;
30
- }
31
- }
@@ -20,8 +20,3 @@ export default class FontColorUI extends ColorUI {
20
20
  */
21
21
  static get pluginName(): 'FontColorUI';
22
22
  }
23
- declare module '@ckeditor/ckeditor5-core' {
24
- interface PluginsMap {
25
- [FontColorUI.pluginName]: FontColorUI;
26
- }
27
- }
@@ -22,8 +22,3 @@ export default class FontColor extends Plugin {
22
22
  */
23
23
  static get pluginName(): 'FontColor';
24
24
  }
25
- declare module '@ckeditor/ckeditor5-core' {
26
- interface PluginsMap {
27
- [FontColor.pluginName]: FontColor;
28
- }
29
- }
@@ -365,35 +365,3 @@ export interface FontSizeOption {
365
365
  */
366
366
  upcastAlso?: Array<MatcherPattern>;
367
367
  }
368
- declare module '@ckeditor/ckeditor5-core' {
369
- interface EditorConfig {
370
- /**
371
- * The configuration of the font background color feature.
372
- * It is introduced by the {@link module:font/fontbackgroundcolor/fontbackgroundcolorediting~FontBackgroundColorEditing} feature.
373
- *
374
- * Read more in {@link module:font/fontconfig~FontColorConfig}.
375
- */
376
- fontBackgroundColor?: FontColorConfig;
377
- /**
378
- * The configuration of the font color feature.
379
- * It is introduced by the {@link module:font/fontcolor/fontcolorediting~FontColorEditing} feature.
380
- *
381
- * Read more in {@link module:font/fontconfig~FontColorConfig}.
382
- */
383
- fontColor?: FontColorConfig;
384
- /**
385
- * The configuration of the font family feature.
386
- * It is introduced by the {@link module:font/fontfamily/fontfamilyediting~FontFamilyEditing} feature.
387
- *
388
- * Read more in {@link module:font/fontconfig~FontFamilyConfig}.
389
- */
390
- fontFamily?: FontFamilyConfig;
391
- /**
392
- * The configuration of the font size feature.
393
- * It is introduced by the {@link module:font/fontsize/fontsizeediting~FontSizeEditing} feature.
394
- *
395
- * Read more in {@link module:font/fontconfig~FontSizeConfig}.
396
- */
397
- fontSize?: FontSizeConfig;
398
- }
399
- }
@@ -7,7 +7,6 @@
7
7
  */
8
8
  import type { Editor } from 'ckeditor5/src/core';
9
9
  import FontCommand from '../fontcommand';
10
- import { FONT_FAMILY } from '../utils';
11
10
  /**
12
11
  * The font family command. It is used by {@link module:font/fontfamily/fontfamilyediting~FontFamilyEditing}
13
12
  * to apply the font family.
@@ -24,8 +23,3 @@ export default class FontFamilyCommand extends FontCommand {
24
23
  */
25
24
  constructor(editor: Editor);
26
25
  }
27
- declare module '@ckeditor/ckeditor5-core' {
28
- interface CommandsMap {
29
- [FONT_FAMILY]: FontFamilyCommand;
30
- }
31
- }
@@ -6,7 +6,6 @@
6
6
  * @module font/fontfamily/fontfamilyediting
7
7
  */
8
8
  import { type Editor, Plugin } from 'ckeditor5/src/core';
9
- import '../fontconfig';
10
9
  /**
11
10
  * The font family editing feature.
12
11
  *
@@ -38,8 +37,3 @@ export default class FontFamilyEditing extends Plugin {
38
37
  */
39
38
  private _prepareCompatibilityConverter;
40
39
  }
41
- declare module '@ckeditor/ckeditor5-core' {
42
- interface PluginsMap {
43
- [FontFamilyEditing.pluginName]: FontFamilyEditing;
44
- }
45
- }
@@ -9,7 +9,6 @@ import { Plugin } from 'ckeditor5/src/core';
9
9
  import FontFamilyCommand from './fontfamilycommand';
10
10
  import { normalizeOptions } from './utils';
11
11
  import { buildDefinition, FONT_FAMILY } from '../utils';
12
- import '../fontconfig';
13
12
  /**
14
13
  * The font family editing feature.
15
14
  *
@@ -28,8 +28,3 @@ export default class FontFamilyUI extends Plugin {
28
28
  */
29
29
  private _getLocalizedOptions;
30
30
  }
31
- declare module '@ckeditor/ckeditor5-core' {
32
- interface PluginsMap {
33
- [FontFamilyUI.pluginName]: FontFamilyUI;
34
- }
35
- }
@@ -22,8 +22,3 @@ export default class FontFamily extends Plugin {
22
22
  */
23
23
  static get pluginName(): 'FontFamily';
24
24
  }
25
- declare module '@ckeditor/ckeditor5-core' {
26
- interface PluginsMap {
27
- [FontFamily.pluginName]: FontFamily;
28
- }
29
- }
@@ -7,7 +7,6 @@
7
7
  */
8
8
  import type { Editor } from 'ckeditor5/src/core';
9
9
  import FontCommand from '../fontcommand';
10
- import { FONT_SIZE } from '../utils';
11
10
  /**
12
11
  * The font size command. It is used by {@link module:font/fontsize/fontsizeediting~FontSizeEditing}
13
12
  * to apply the font size.
@@ -24,8 +23,3 @@ export default class FontSizeCommand extends FontCommand {
24
23
  */
25
24
  constructor(editor: Editor);
26
25
  }
27
- declare module '@ckeditor/ckeditor5-core' {
28
- interface CommandsMap {
29
- [FONT_SIZE]: FontSizeCommand;
30
- }
31
- }
@@ -6,7 +6,6 @@
6
6
  * @module font/fontsize/fontsizeediting
7
7
  */
8
8
  import { Plugin, type Editor } from 'ckeditor5/src/core';
9
- import '../fontconfig';
10
9
  /**
11
10
  * The font size editing feature.
12
11
  *
@@ -43,8 +42,3 @@ export default class FontSizeEditing extends Plugin {
43
42
  */
44
43
  private _prepareCompatibilityConverter;
45
44
  }
46
- declare module '@ckeditor/ckeditor5-core' {
47
- interface PluginsMap {
48
- [FontSizeEditing.pluginName]: FontSizeEditing;
49
- }
50
- }
@@ -11,7 +11,6 @@ import { isLength, isPercentage } from 'ckeditor5/src/engine';
11
11
  import FontSizeCommand from './fontsizecommand';
12
12
  import { normalizeOptions } from './utils';
13
13
  import { buildDefinition, FONT_SIZE } from '../utils';
14
- import '../fontconfig';
15
14
  // Mapping of `<font size="..">` styling to CSS's `font-size` values.
16
15
  const styleFontSize = [
17
16
  'x-small',
@@ -29,8 +29,3 @@ export default class FontSizeUI extends Plugin {
29
29
  */
30
30
  private _getLocalizedOptions;
31
31
  }
32
- declare module '@ckeditor/ckeditor5-core' {
33
- interface PluginsMap {
34
- [FontSizeUI.pluginName]: FontSizeUI;
35
- }
36
- }
package/src/fontsize.d.ts CHANGED
@@ -33,8 +33,3 @@ export default class FontSize extends Plugin {
33
33
  */
34
34
  normalizeSizeOptions(options: Array<string | number | FontSizeOption>): Array<FontSizeOption>;
35
35
  }
36
- declare module '@ckeditor/ckeditor5-core' {
37
- interface PluginsMap {
38
- [FontSize.pluginName]: FontSize;
39
- }
40
- }
package/src/index.d.ts CHANGED
@@ -18,3 +18,10 @@ export { default as FontFamilyEditing } from './fontfamily/fontfamilyediting';
18
18
  export { default as FontFamilyUI } from './fontfamily/fontfamilyui';
19
19
  export { default as FontSizeEditing } from './fontsize/fontsizeediting';
20
20
  export { default as FontSizeUI } from './fontsize/fontsizeui';
21
+ export type { default as FontBackgroundColorCommand } from './fontbackgroundcolor/fontbackgroundcolorcommand';
22
+ export type { default as FontColorCommand } from './fontcolor/fontcolorcommand';
23
+ export type { default as FontFamilyCommand } from './fontfamily/fontfamilycommand';
24
+ export type { default as FontSizeCommand } from './fontsize/fontsizecommand';
25
+ export type { FONT_BACKGROUND_COLOR, FONT_COLOR, FONT_FAMILY, FONT_SIZE } from './utils';
26
+ export type { FontColorConfig, FontFamilyConfig, FontSizeConfig } from './fontconfig';
27
+ import './augmentation';
package/src/index.js CHANGED
@@ -18,3 +18,4 @@ export { default as FontFamilyEditing } from './fontfamily/fontfamilyediting';
18
18
  export { default as FontFamilyUI } from './fontfamily/fontfamilyui';
19
19
  export { default as FontSizeEditing } from './fontsize/fontsizeediting';
20
20
  export { default as FontSizeUI } from './fontsize/fontsizeui';
21
+ import './augmentation';
@@ -11,8 +11,8 @@ import '../../theme/fontcolor.css';
11
11
  * A class which represents a view with the following sub–components:
12
12
  *
13
13
  * * A remove color button,
14
- * * A static {@link module:ui/colorgrid/colorgrid~ColorGridView} of colors defined in the configuration,
15
- * * A dynamic {@link module:ui/colorgrid/colorgrid~ColorGridView} of colors used in the document.
14
+ * * A static {@link module:ui/colorgrid/colorgridview~ColorGridView} of colors defined in the configuration,
15
+ * * A dynamic {@link module:ui/colorgrid/colorgridview~ColorGridView} of colors used in the document.
16
16
  */
17
17
  export default class ColorTableView extends View {
18
18
  /**
@@ -75,7 +75,7 @@ export default class ColorTableView extends View {
75
75
  */
76
76
  selectedColor?: string;
77
77
  /**
78
- * Preserves the reference to {@link module:ui/colorgrid/colorgrid~ColorGridView} used to create
78
+ * Preserves the reference to {@link module:ui/colorgrid/colorgridview~ColorGridView} used to create
79
79
  * the default (static) color set.
80
80
  *
81
81
  * The property is loaded once the the parent dropdown is opened the first time.
@@ -84,7 +84,7 @@ export default class ColorTableView extends View {
84
84
  */
85
85
  staticColorsGrid: ColorGridView | undefined;
86
86
  /**
87
- * Preserves the reference to {@link module:ui/colorgrid/colorgrid~ColorGridView} used to create
87
+ * Preserves the reference to {@link module:ui/colorgrid/colorgridview~ColorGridView} used to create
88
88
  * the document colors. It remains undefined if the document colors feature is disabled.
89
89
  *
90
90
  * The property is loaded once the the parent dropdown is opened the first time.
@@ -120,7 +120,7 @@ export default class ColorTableView extends View {
120
120
  */
121
121
  updateDocumentColors(model: Model, attributeName: string): void;
122
122
  /**
123
- * Refreshes the state of the selected color in one or both {@link module:ui/colorgrid/colorgrid~ColorGridView}s
123
+ * Refreshes the state of the selected color in one or both {@link module:ui/colorgrid/colorgridview~ColorGridView}s
124
124
  * available in the {@link module:font/ui/colortableview~ColorTableView}. It guarantees that the selection will occur only in one
125
125
  * of them.
126
126
  */
@@ -14,8 +14,8 @@ import '../../theme/fontcolor.css';
14
14
  * A class which represents a view with the following sub–components:
15
15
  *
16
16
  * * A remove color button,
17
- * * A static {@link module:ui/colorgrid/colorgrid~ColorGridView} of colors defined in the configuration,
18
- * * A dynamic {@link module:ui/colorgrid/colorgrid~ColorGridView} of colors used in the document.
17
+ * * A static {@link module:ui/colorgrid/colorgridview~ColorGridView} of colors defined in the configuration,
18
+ * * A dynamic {@link module:ui/colorgrid/colorgridview~ColorGridView} of colors used in the document.
19
19
  */
20
20
  export default class ColorTableView extends View {
21
21
  /**
@@ -91,7 +91,7 @@ export default class ColorTableView extends View {
91
91
  }
92
92
  }
93
93
  /**
94
- * Refreshes the state of the selected color in one or both {@link module:ui/colorgrid/colorgrid~ColorGridView}s
94
+ * Refreshes the state of the selected color in one or both {@link module:ui/colorgrid/colorgridview~ColorGridView}s
95
95
  * available in the {@link module:font/ui/colortableview~ColorTableView}. It guarantees that the selection will occur only in one
96
96
  * of them.
97
97
  */
@@ -8,7 +8,6 @@
8
8
  import { Plugin, type Editor } from 'ckeditor5/src/core';
9
9
  import { type FONT_BACKGROUND_COLOR, type FONT_COLOR } from '../utils';
10
10
  import type ColorTableView from './colortableview';
11
- import '../fontconfig';
12
11
  /**
13
12
  * The color UI plugin which isolates the common logic responsible for displaying dropdowns with color grids.
14
13
  *
package/src/ui/colorui.js CHANGED
@@ -8,7 +8,6 @@
8
8
  import { Plugin } from 'ckeditor5/src/core';
9
9
  import { createDropdown, normalizeColorOptions, getLocalizedColorOptions, focusChildOnDropdownOpen } from 'ckeditor5/src/ui';
10
10
  import { addColorTableToDropdown } from '../utils';
11
- import '../fontconfig';
12
11
  /**
13
12
  * The color UI plugin which isolates the common logic responsible for displaying dropdowns with color grids.
14
13
  *