@ckeditor/ckeditor5-font 40.1.0 → 41.0.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.
Files changed (113) hide show
  1. package/CHANGELOG.md +19 -19
  2. package/LICENSE.md +1 -1
  3. package/build/font.js +2 -2
  4. package/lang/translations/ar.po +1 -1
  5. package/lang/translations/az.po +1 -1
  6. package/lang/translations/bg.po +1 -1
  7. package/lang/translations/bn.po +1 -1
  8. package/lang/translations/bs.po +1 -1
  9. package/lang/translations/ca.po +1 -1
  10. package/lang/translations/cs.po +1 -1
  11. package/lang/translations/da.po +1 -1
  12. package/lang/translations/de-ch.po +1 -1
  13. package/lang/translations/de.po +1 -1
  14. package/lang/translations/el.po +1 -1
  15. package/lang/translations/en-au.po +1 -1
  16. package/lang/translations/en-gb.po +1 -1
  17. package/lang/translations/en.po +1 -1
  18. package/lang/translations/es.po +1 -1
  19. package/lang/translations/et.po +1 -1
  20. package/lang/translations/fa.po +1 -1
  21. package/lang/translations/fi.po +1 -1
  22. package/lang/translations/fr.po +1 -1
  23. package/lang/translations/gl.po +1 -1
  24. package/lang/translations/he.po +1 -1
  25. package/lang/translations/hi.po +1 -1
  26. package/lang/translations/hr.po +1 -1
  27. package/lang/translations/hu.po +1 -1
  28. package/lang/translations/id.po +1 -1
  29. package/lang/translations/it.po +1 -1
  30. package/lang/translations/ja.po +1 -1
  31. package/lang/translations/jv.po +1 -1
  32. package/lang/translations/ko.po +1 -1
  33. package/lang/translations/ku.po +1 -1
  34. package/lang/translations/lt.po +1 -1
  35. package/lang/translations/lv.po +1 -1
  36. package/lang/translations/ms.po +1 -1
  37. package/lang/translations/nb.po +1 -1
  38. package/lang/translations/ne.po +1 -1
  39. package/lang/translations/nl.po +1 -1
  40. package/lang/translations/no.po +1 -1
  41. package/lang/translations/pl.po +1 -1
  42. package/lang/translations/pt-br.po +1 -1
  43. package/lang/translations/pt.po +1 -1
  44. package/lang/translations/ro.po +1 -1
  45. package/lang/translations/ru.po +1 -1
  46. package/lang/translations/sk.po +1 -1
  47. package/lang/translations/sl.po +1 -1
  48. package/lang/translations/sq.po +1 -1
  49. package/lang/translations/sr-latn.po +1 -1
  50. package/lang/translations/sr.po +1 -1
  51. package/lang/translations/sv.po +1 -1
  52. package/lang/translations/th.po +1 -1
  53. package/lang/translations/tk.po +1 -1
  54. package/lang/translations/tr.po +1 -1
  55. package/lang/translations/ug.po +1 -1
  56. package/lang/translations/uk.po +1 -1
  57. package/lang/translations/ur.po +1 -1
  58. package/lang/translations/uz.po +1 -1
  59. package/lang/translations/vi.po +1 -1
  60. package/lang/translations/zh-cn.po +1 -1
  61. package/lang/translations/zh.po +1 -1
  62. package/package.json +3 -2
  63. package/src/augmentation.d.ts +2 -2
  64. package/src/augmentation.js +1 -1
  65. package/src/font.d.ts +6 -6
  66. package/src/font.js +6 -6
  67. package/src/fontbackgroundcolor/fontbackgroundcolorcommand.d.ts +3 -3
  68. package/src/fontbackgroundcolor/fontbackgroundcolorcommand.js +3 -3
  69. package/src/fontbackgroundcolor/fontbackgroundcolorediting.d.ts +2 -2
  70. package/src/fontbackgroundcolor/fontbackgroundcolorediting.js +5 -5
  71. package/src/fontbackgroundcolor/fontbackgroundcolorui.d.ts +3 -3
  72. package/src/fontbackgroundcolor/fontbackgroundcolorui.js +3 -3
  73. package/src/fontbackgroundcolor.d.ts +4 -4
  74. package/src/fontbackgroundcolor.js +4 -4
  75. package/src/fontcolor/fontcolorcommand.d.ts +3 -3
  76. package/src/fontcolor/fontcolorcommand.js +3 -3
  77. package/src/fontcolor/fontcolorediting.d.ts +2 -2
  78. package/src/fontcolor/fontcolorediting.js +4 -4
  79. package/src/fontcolor/fontcolorui.d.ts +3 -3
  80. package/src/fontcolor/fontcolorui.js +3 -3
  81. package/src/fontcolor.d.ts +4 -4
  82. package/src/fontcolor.js +4 -4
  83. package/src/fontcommand.d.ts +3 -3
  84. package/src/fontcommand.js +2 -2
  85. package/src/fontconfig.d.ts +3 -3
  86. package/src/fontconfig.js +1 -1
  87. package/src/fontfamily/fontfamilycommand.d.ts +3 -3
  88. package/src/fontfamily/fontfamilycommand.js +3 -3
  89. package/src/fontfamily/fontfamilyediting.d.ts +2 -2
  90. package/src/fontfamily/fontfamilyediting.js +5 -5
  91. package/src/fontfamily/fontfamilyui.d.ts +2 -2
  92. package/src/fontfamily/fontfamilyui.js +7 -7
  93. package/src/fontfamily/utils.d.ts +2 -2
  94. package/src/fontfamily/utils.js +1 -1
  95. package/src/fontfamily.d.ts +4 -4
  96. package/src/fontfamily.js +4 -4
  97. package/src/fontsize/fontsizecommand.d.ts +3 -3
  98. package/src/fontsize/fontsizecommand.js +3 -3
  99. package/src/fontsize/fontsizeediting.d.ts +2 -2
  100. package/src/fontsize/fontsizeediting.js +7 -7
  101. package/src/fontsize/fontsizeui.d.ts +2 -2
  102. package/src/fontsize/fontsizeui.js +7 -7
  103. package/src/fontsize/utils.d.ts +2 -2
  104. package/src/fontsize/utils.js +2 -2
  105. package/src/fontsize.d.ts +5 -5
  106. package/src/fontsize.js +5 -5
  107. package/src/index.d.ts +21 -21
  108. package/src/index.js +15 -15
  109. package/src/ui/colorui.d.ts +4 -4
  110. package/src/ui/colorui.js +4 -4
  111. package/src/utils.d.ts +5 -5
  112. package/src/utils.js +2 -2
  113. package/theme/fontsize.css +1 -1
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-font",
3
- "version": "40.1.0",
3
+ "version": "41.0.0",
4
4
  "description": "Font feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -10,9 +10,10 @@
10
10
  "ckeditor5-plugin",
11
11
  "ckeditor5-dll"
12
12
  ],
13
+ "type": "module",
13
14
  "main": "src/index.js",
14
15
  "dependencies": {
15
- "ckeditor5": "40.1.0"
16
+ "ckeditor5": "41.0.0"
16
17
  },
17
18
  "author": "CKSource (http://cksource.com/)",
18
19
  "license": "GPL-2.0-or-later",
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
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';
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.js';
6
6
  declare module '@ckeditor/ckeditor5-core' {
7
7
  interface EditorConfig {
8
8
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  export {};
package/src/font.d.ts CHANGED
@@ -1,15 +1,15 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/font
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import FontFamily from './fontfamily';
10
- import FontSize from './fontsize';
11
- import FontColor from './fontcolor';
12
- import FontBackgroundColor from './fontbackgroundcolor';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import FontFamily from './fontfamily.js';
10
+ import FontSize from './fontsize.js';
11
+ import FontColor from './fontcolor.js';
12
+ import FontBackgroundColor from './fontbackgroundcolor.js';
13
13
  /**
14
14
  * A plugin that enables a set of text styling features:
15
15
  *
package/src/font.js CHANGED
@@ -1,15 +1,15 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/font
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import FontFamily from './fontfamily';
10
- import FontSize from './fontsize';
11
- import FontColor from './fontcolor';
12
- import FontBackgroundColor from './fontbackgroundcolor';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import FontFamily from './fontfamily.js';
10
+ import FontSize from './fontsize.js';
11
+ import FontColor from './fontcolor.js';
12
+ import FontBackgroundColor from './fontbackgroundcolor.js';
13
13
  /**
14
14
  * A plugin that enables a set of text styling features:
15
15
  *
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontbackgroundcolor/fontbackgroundcolorcommand
7
7
  */
8
- import type { Editor } from 'ckeditor5/src/core';
9
- import FontCommand from '../fontcommand';
8
+ import type { Editor } from 'ckeditor5/src/core.js';
9
+ import FontCommand from '../fontcommand.js';
10
10
  /**
11
11
  * The font background color command. It is used by
12
12
  * {@link module:font/fontbackgroundcolor/fontbackgroundcolorediting~FontBackgroundColorEditing}
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import FontCommand from '../fontcommand';
6
- import { FONT_BACKGROUND_COLOR } from '../utils';
5
+ import FontCommand from '../fontcommand.js';
6
+ import { FONT_BACKGROUND_COLOR } from '../utils.js';
7
7
  /**
8
8
  * The font background color command. It is used by
9
9
  * {@link module:font/fontbackgroundcolor/fontbackgroundcolorediting~FontBackgroundColorEditing}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontbackgroundcolor/fontbackgroundcolorediting
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The font background color editing feature.
11
11
  *
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontbackgroundcolor/fontbackgroundcolorediting
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { addBackgroundRules } from 'ckeditor5/src/engine';
10
- import FontBackgroundColorCommand from './fontbackgroundcolorcommand';
11
- import { FONT_BACKGROUND_COLOR, renderDowncastElement, renderUpcastAttribute } from '../utils';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { addBackgroundRules } from 'ckeditor5/src/engine.js';
10
+ import FontBackgroundColorCommand from './fontbackgroundcolorcommand.js';
11
+ import { FONT_BACKGROUND_COLOR, renderDowncastElement, renderUpcastAttribute } from '../utils.js';
12
12
  /**
13
13
  * The font background color editing feature.
14
14
  *
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontbackgroundcolor/fontbackgroundcolorui
7
7
  */
8
- import ColorUI from '../ui/colorui';
9
- import type { Editor } from 'ckeditor5/src/core';
8
+ import ColorUI from '../ui/colorui.js';
9
+ import type { Editor } from 'ckeditor5/src/core.js';
10
10
  /**
11
11
  * The font background color UI plugin. It introduces the `'fontBackgroundColor'` dropdown.
12
12
  */
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontbackgroundcolor/fontbackgroundcolorui
7
7
  */
8
- import ColorUI from '../ui/colorui';
9
- import { FONT_BACKGROUND_COLOR } from '../utils';
8
+ import ColorUI from '../ui/colorui.js';
9
+ import { FONT_BACKGROUND_COLOR } from '../utils.js';
10
10
  import fontBackgroundColorIcon from '../../theme/icons/font-background.svg';
11
11
  /**
12
12
  * The font background color UI plugin. It introduces the `'fontBackgroundColor'` dropdown.
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontbackgroundcolor
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import FontBackgroundColorEditing from './fontbackgroundcolor/fontbackgroundcolorediting';
10
- import FontBackgroundColorUI from './fontbackgroundcolor/fontbackgroundcolorui';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import FontBackgroundColorEditing from './fontbackgroundcolor/fontbackgroundcolorediting.js';
10
+ import FontBackgroundColorUI from './fontbackgroundcolor/fontbackgroundcolorui.js';
11
11
  /**
12
12
  * The font background color plugin.
13
13
  *
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontbackgroundcolor
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import FontBackgroundColorEditing from './fontbackgroundcolor/fontbackgroundcolorediting';
10
- import FontBackgroundColorUI from './fontbackgroundcolor/fontbackgroundcolorui';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import FontBackgroundColorEditing from './fontbackgroundcolor/fontbackgroundcolorediting.js';
10
+ import FontBackgroundColorUI from './fontbackgroundcolor/fontbackgroundcolorui.js';
11
11
  /**
12
12
  * The font background color plugin.
13
13
  *
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontcolor/fontcolorcommand
7
7
  */
8
- import type { Editor } from 'ckeditor5/src/core';
9
- import FontCommand from '../fontcommand';
8
+ import type { Editor } from 'ckeditor5/src/core.js';
9
+ import FontCommand from '../fontcommand.js';
10
10
  /**
11
11
  * The font color command. It is used by {@link module:font/fontcolor/fontcolorediting~FontColorEditing}
12
12
  * to apply the font color.
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import FontCommand from '../fontcommand';
6
- import { FONT_COLOR } from '../utils';
5
+ import FontCommand from '../fontcommand.js';
6
+ import { FONT_COLOR } from '../utils.js';
7
7
  /**
8
8
  * The font color command. It is used by {@link module:font/fontcolor/fontcolorediting~FontColorEditing}
9
9
  * to apply the font color.
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontcolor/fontcolorediting
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The font color editing feature.
11
11
  *
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontcolor/fontcolorediting
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import FontColorCommand from './fontcolorcommand';
10
- import { FONT_COLOR, renderDowncastElement, renderUpcastAttribute } from '../utils';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import FontColorCommand from './fontcolorcommand.js';
10
+ import { FONT_COLOR, renderDowncastElement, renderUpcastAttribute } from '../utils.js';
11
11
  /**
12
12
  * The font color editing feature.
13
13
  *
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontcolor/fontcolorui
7
7
  */
8
- import ColorUI from '../ui/colorui';
9
- import type { Editor } from 'ckeditor5/src/core';
8
+ import ColorUI from '../ui/colorui.js';
9
+ import type { Editor } from 'ckeditor5/src/core.js';
10
10
  /**
11
11
  * The font color UI plugin. It introduces the `'fontColor'` dropdown.
12
12
  */
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontcolor/fontcolorui
7
7
  */
8
- import ColorUI from '../ui/colorui';
9
- import { FONT_COLOR } from '../utils';
8
+ import ColorUI from '../ui/colorui.js';
9
+ import { FONT_COLOR } from '../utils.js';
10
10
  import fontColorIcon from '../../theme/icons/font-color.svg';
11
11
  /**
12
12
  * The font color UI plugin. It introduces the `'fontColor'` dropdown.
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontcolor
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import FontColorEditing from './fontcolor/fontcolorediting';
10
- import FontColorUI from './fontcolor/fontcolorui';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import FontColorEditing from './fontcolor/fontcolorediting.js';
10
+ import FontColorUI from './fontcolor/fontcolorui.js';
11
11
  /**
12
12
  * The font color plugin.
13
13
  *
package/src/fontcolor.js CHANGED
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontcolor
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import FontColorEditing from './fontcolor/fontcolorediting';
10
- import FontColorUI from './fontcolor/fontcolorui';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import FontColorEditing from './fontcolor/fontcolorediting.js';
10
+ import FontColorUI from './fontcolor/fontcolorui.js';
11
11
  /**
12
12
  * The font color plugin.
13
13
  *
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontcommand
7
7
  */
8
- import { Command, type Editor } from 'ckeditor5/src/core';
9
- import { type Batch } from 'ckeditor5/src/engine';
8
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
9
+ import { type Batch } from 'ckeditor5/src/engine.js';
10
10
  /**
11
11
  * The base font command.
12
12
  */
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontcommand
7
7
  */
8
- import { Command } from 'ckeditor5/src/core';
8
+ import { Command } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The base font command.
11
11
  */
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontconfig
7
7
  */
8
- import type { ColorOption, ColorPickerConfig } from 'ckeditor5/src/ui';
9
- import type { MatcherPattern, ViewElementDefinition } from 'ckeditor5/src/engine';
8
+ import type { ColorOption, ColorPickerConfig } from 'ckeditor5/src/ui.js';
9
+ import type { MatcherPattern, ViewElementDefinition } from 'ckeditor5/src/engine.js';
10
10
  /**
11
11
  * The configuration of the font color and font background color features.
12
12
  * This option is used by the {@link module:font/fontcolor/fontcolorediting~FontColorEditing} and
package/src/fontconfig.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  export {};
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontfamily/fontfamilycommand
7
7
  */
8
- import type { Editor } from 'ckeditor5/src/core';
9
- import FontCommand from '../fontcommand';
8
+ import type { Editor } from 'ckeditor5/src/core.js';
9
+ import FontCommand from '../fontcommand.js';
10
10
  /**
11
11
  * The font family command. It is used by {@link module:font/fontfamily/fontfamilyediting~FontFamilyEditing}
12
12
  * to apply the font family.
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import FontCommand from '../fontcommand';
6
- import { FONT_FAMILY } from '../utils';
5
+ import FontCommand from '../fontcommand.js';
6
+ import { FONT_FAMILY } from '../utils.js';
7
7
  /**
8
8
  * The font family command. It is used by {@link module:font/fontfamily/fontfamilyediting~FontFamilyEditing}
9
9
  * to apply the font family.
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontfamily/fontfamilyediting
7
7
  */
8
- import { type Editor, Plugin } from 'ckeditor5/src/core';
8
+ import { type Editor, Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The font family editing feature.
11
11
  *
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontfamily/fontfamilyediting
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import FontFamilyCommand from './fontfamilycommand';
10
- import { normalizeOptions } from './utils';
11
- import { buildDefinition, FONT_FAMILY } from '../utils';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import FontFamilyCommand from './fontfamilycommand.js';
10
+ import { normalizeOptions } from './utils.js';
11
+ import { buildDefinition, FONT_FAMILY } from '../utils.js';
12
12
  /**
13
13
  * The font family editing feature.
14
14
  *
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module font/fontfamily/fontfamilyui
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The font family UI plugin. It introduces the `'fontFamily'` dropdown.
11
11
  */