@ckeditor/ckeditor5-font 38.2.0-alpha.1 → 39.0.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.
Files changed (109) hide show
  1. package/README.md +0 -1
  2. package/build/translations/sq.js +1 -1
  3. package/build/translations/ug.js +1 -1
  4. package/lang/translations/ar.po +0 -4
  5. package/lang/translations/az.po +0 -4
  6. package/lang/translations/bg.po +0 -4
  7. package/lang/translations/bn.po +0 -4
  8. package/lang/translations/bs.po +0 -4
  9. package/lang/translations/ca.po +0 -4
  10. package/lang/translations/cs.po +0 -4
  11. package/lang/translations/da.po +0 -4
  12. package/lang/translations/de-ch.po +0 -4
  13. package/lang/translations/de.po +0 -4
  14. package/lang/translations/el.po +0 -4
  15. package/lang/translations/en-au.po +0 -4
  16. package/lang/translations/en-gb.po +0 -4
  17. package/lang/translations/en.po +0 -4
  18. package/lang/translations/es.po +0 -4
  19. package/lang/translations/et.po +0 -4
  20. package/lang/translations/fa.po +0 -4
  21. package/lang/translations/fi.po +0 -4
  22. package/lang/translations/fr.po +0 -4
  23. package/lang/translations/gl.po +0 -4
  24. package/lang/translations/he.po +0 -4
  25. package/lang/translations/hi.po +0 -4
  26. package/lang/translations/hr.po +0 -4
  27. package/lang/translations/hu.po +0 -4
  28. package/lang/translations/id.po +0 -4
  29. package/lang/translations/it.po +0 -4
  30. package/lang/translations/ja.po +0 -4
  31. package/lang/translations/jv.po +0 -4
  32. package/lang/translations/ko.po +0 -4
  33. package/lang/translations/ku.po +0 -4
  34. package/lang/translations/lt.po +0 -4
  35. package/lang/translations/lv.po +0 -4
  36. package/lang/translations/ms.po +0 -4
  37. package/lang/translations/nb.po +0 -4
  38. package/lang/translations/ne.po +0 -4
  39. package/lang/translations/nl.po +0 -4
  40. package/lang/translations/no.po +0 -4
  41. package/lang/translations/pl.po +0 -4
  42. package/lang/translations/pt-br.po +0 -4
  43. package/lang/translations/pt.po +0 -4
  44. package/lang/translations/ro.po +0 -4
  45. package/lang/translations/ru.po +0 -4
  46. package/lang/translations/sk.po +0 -4
  47. package/lang/translations/sl.po +0 -4
  48. package/lang/translations/sq.po +3 -7
  49. package/lang/translations/sr-latn.po +0 -4
  50. package/lang/translations/sr.po +0 -4
  51. package/lang/translations/sv.po +0 -4
  52. package/lang/translations/th.po +0 -4
  53. package/lang/translations/tk.po +0 -4
  54. package/lang/translations/tr.po +0 -4
  55. package/lang/translations/ug.po +1 -5
  56. package/lang/translations/uk.po +0 -4
  57. package/lang/translations/ur.po +0 -4
  58. package/lang/translations/uz.po +0 -4
  59. package/lang/translations/vi.po +0 -4
  60. package/lang/translations/zh-cn.po +0 -4
  61. package/lang/translations/zh.po +0 -4
  62. package/package.json +2 -3
  63. package/src/augmentation.d.ts +1 -1
  64. package/src/font.d.ts +5 -5
  65. package/src/font.js +5 -5
  66. package/src/fontbackgroundcolor/fontbackgroundcolorcommand.d.ts +2 -2
  67. package/src/fontbackgroundcolor/fontbackgroundcolorcommand.js +2 -2
  68. package/src/fontbackgroundcolor/fontbackgroundcolorediting.d.ts +1 -1
  69. package/src/fontbackgroundcolor/fontbackgroundcolorediting.js +4 -4
  70. package/src/fontbackgroundcolor/fontbackgroundcolorui.d.ts +2 -2
  71. package/src/fontbackgroundcolor/fontbackgroundcolorui.js +2 -2
  72. package/src/fontbackgroundcolor.d.ts +3 -3
  73. package/src/fontbackgroundcolor.js +3 -3
  74. package/src/fontcolor/fontcolorcommand.d.ts +2 -2
  75. package/src/fontcolor/fontcolorcommand.js +2 -2
  76. package/src/fontcolor/fontcolorediting.d.ts +1 -1
  77. package/src/fontcolor/fontcolorediting.js +3 -3
  78. package/src/fontcolor/fontcolorui.d.ts +2 -2
  79. package/src/fontcolor/fontcolorui.js +2 -2
  80. package/src/fontcolor.d.ts +3 -3
  81. package/src/fontcolor.js +3 -3
  82. package/src/fontcommand.d.ts +2 -2
  83. package/src/fontcommand.js +1 -1
  84. package/src/fontconfig.d.ts +2 -2
  85. package/src/fontfamily/fontfamilycommand.d.ts +2 -2
  86. package/src/fontfamily/fontfamilycommand.js +2 -2
  87. package/src/fontfamily/fontfamilyediting.d.ts +1 -1
  88. package/src/fontfamily/fontfamilyediting.js +4 -4
  89. package/src/fontfamily/fontfamilyui.d.ts +1 -1
  90. package/src/fontfamily/fontfamilyui.js +5 -5
  91. package/src/fontfamily/utils.d.ts +1 -1
  92. package/src/fontfamily.d.ts +3 -3
  93. package/src/fontfamily.js +3 -3
  94. package/src/fontsize/fontsizecommand.d.ts +2 -2
  95. package/src/fontsize/fontsizecommand.js +2 -2
  96. package/src/fontsize/fontsizeediting.d.ts +1 -1
  97. package/src/fontsize/fontsizeediting.js +6 -6
  98. package/src/fontsize/fontsizeui.d.ts +1 -1
  99. package/src/fontsize/fontsizeui.js +5 -5
  100. package/src/fontsize/utils.d.ts +1 -1
  101. package/src/fontsize/utils.js +1 -1
  102. package/src/fontsize.d.ts +4 -4
  103. package/src/fontsize.js +4 -4
  104. package/src/index.d.ts +20 -20
  105. package/src/index.js +14 -14
  106. package/src/ui/colorui.d.ts +3 -3
  107. package/src/ui/colorui.js +3 -3
  108. package/src/utils.d.ts +4 -4
  109. package/src/utils.js +1 -1
package/src/font.js CHANGED
@@ -5,11 +5,11 @@
5
5
  /**
6
6
  * @module font/font
7
7
  */
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';
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';
13
13
  /**
14
14
  * A plugin that enables a set of text styling features:
15
15
  *
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module font/fontbackgroundcolor/fontbackgroundcolorcommand
7
7
  */
8
- import type { Editor } from 'ckeditor5/src/core.js';
9
- import FontCommand from '../fontcommand.js';
8
+ import type { Editor } from 'ckeditor5/src/core';
9
+ import FontCommand from '../fontcommand';
10
10
  /**
11
11
  * The font background color command. It is used by
12
12
  * {@link module:font/fontbackgroundcolor/fontbackgroundcolorediting~FontBackgroundColorEditing}
@@ -2,8 +2,8 @@
2
2
  * @license Copyright (c) 2003-2023, 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.js';
6
- import { FONT_BACKGROUND_COLOR } from '../utils.js';
5
+ import FontCommand from '../fontcommand';
6
+ import { FONT_BACKGROUND_COLOR } from '../utils';
7
7
  /**
8
8
  * The font background color command. It is used by
9
9
  * {@link module:font/fontbackgroundcolor/fontbackgroundcolorediting~FontBackgroundColorEditing}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module font/fontbackgroundcolor/fontbackgroundcolorediting
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core.js';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core';
9
9
  /**
10
10
  * The font background color editing feature.
11
11
  *
@@ -5,10 +5,10 @@
5
5
  /**
6
6
  * @module font/fontbackgroundcolor/fontbackgroundcolorediting
7
7
  */
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';
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';
12
12
  /**
13
13
  * The font background color editing feature.
14
14
  *
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module font/fontbackgroundcolor/fontbackgroundcolorui
7
7
  */
8
- import ColorUI from '../ui/colorui.js';
9
- import type { Editor } from 'ckeditor5/src/core.js';
8
+ import ColorUI from '../ui/colorui';
9
+ import type { Editor } from 'ckeditor5/src/core';
10
10
  /**
11
11
  * The font background color UI plugin. It introduces the `'fontBackgroundColor'` dropdown.
12
12
  */
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module font/fontbackgroundcolor/fontbackgroundcolorui
7
7
  */
8
- import ColorUI from '../ui/colorui.js';
9
- import { FONT_BACKGROUND_COLOR } from '../utils.js';
8
+ import ColorUI from '../ui/colorui';
9
+ import { FONT_BACKGROUND_COLOR } from '../utils';
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.
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module font/fontbackgroundcolor
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import FontBackgroundColorEditing from './fontbackgroundcolor/fontbackgroundcolorediting.js';
10
- import FontBackgroundColorUI from './fontbackgroundcolor/fontbackgroundcolorui.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import FontBackgroundColorEditing from './fontbackgroundcolor/fontbackgroundcolorediting';
10
+ import FontBackgroundColorUI from './fontbackgroundcolor/fontbackgroundcolorui';
11
11
  /**
12
12
  * The font background color plugin.
13
13
  *
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module font/fontbackgroundcolor
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import FontBackgroundColorEditing from './fontbackgroundcolor/fontbackgroundcolorediting.js';
10
- import FontBackgroundColorUI from './fontbackgroundcolor/fontbackgroundcolorui.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import FontBackgroundColorEditing from './fontbackgroundcolor/fontbackgroundcolorediting';
10
+ import FontBackgroundColorUI from './fontbackgroundcolor/fontbackgroundcolorui';
11
11
  /**
12
12
  * The font background color plugin.
13
13
  *
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module font/fontcolor/fontcolorcommand
7
7
  */
8
- import type { Editor } from 'ckeditor5/src/core.js';
9
- import FontCommand from '../fontcommand.js';
8
+ import type { Editor } from 'ckeditor5/src/core';
9
+ import FontCommand from '../fontcommand';
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.
@@ -2,8 +2,8 @@
2
2
  * @license Copyright (c) 2003-2023, 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.js';
6
- import { FONT_COLOR } from '../utils.js';
5
+ import FontCommand from '../fontcommand';
6
+ import { FONT_COLOR } from '../utils';
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.
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module font/fontcolor/fontcolorediting
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core.js';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core';
9
9
  /**
10
10
  * The font color editing feature.
11
11
  *
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module font/fontcolor/fontcolorediting
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import FontColorCommand from './fontcolorcommand.js';
10
- import { FONT_COLOR, renderDowncastElement, renderUpcastAttribute } from '../utils.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import FontColorCommand from './fontcolorcommand';
10
+ import { FONT_COLOR, renderDowncastElement, renderUpcastAttribute } from '../utils';
11
11
  /**
12
12
  * The font color editing feature.
13
13
  *
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module font/fontcolor/fontcolorui
7
7
  */
8
- import ColorUI from '../ui/colorui.js';
9
- import type { Editor } from 'ckeditor5/src/core.js';
8
+ import ColorUI from '../ui/colorui';
9
+ import type { Editor } from 'ckeditor5/src/core';
10
10
  /**
11
11
  * The font color UI plugin. It introduces the `'fontColor'` dropdown.
12
12
  */
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module font/fontcolor/fontcolorui
7
7
  */
8
- import ColorUI from '../ui/colorui.js';
9
- import { FONT_COLOR } from '../utils.js';
8
+ import ColorUI from '../ui/colorui';
9
+ import { FONT_COLOR } from '../utils';
10
10
  import fontColorIcon from '../../theme/icons/font-color.svg';
11
11
  /**
12
12
  * The font color UI plugin. It introduces the `'fontColor'` dropdown.
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module font/fontcolor
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import FontColorEditing from './fontcolor/fontcolorediting.js';
10
- import FontColorUI from './fontcolor/fontcolorui.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import FontColorEditing from './fontcolor/fontcolorediting';
10
+ import FontColorUI from './fontcolor/fontcolorui';
11
11
  /**
12
12
  * The font color plugin.
13
13
  *
package/src/fontcolor.js CHANGED
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module font/fontcolor
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import FontColorEditing from './fontcolor/fontcolorediting.js';
10
- import FontColorUI from './fontcolor/fontcolorui.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import FontColorEditing from './fontcolor/fontcolorediting';
10
+ import FontColorUI from './fontcolor/fontcolorui';
11
11
  /**
12
12
  * The font color plugin.
13
13
  *
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module font/fontcommand
7
7
  */
8
- import { Command, type Editor } from 'ckeditor5/src/core.js';
9
- import { type Batch } from 'ckeditor5/src/engine.js';
8
+ import { Command, type Editor } from 'ckeditor5/src/core';
9
+ import { type Batch } from 'ckeditor5/src/engine';
10
10
  /**
11
11
  * The base font command.
12
12
  */
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module font/fontcommand
7
7
  */
8
- import { Command } from 'ckeditor5/src/core.js';
8
+ import { Command } from 'ckeditor5/src/core';
9
9
  /**
10
10
  * The base font command.
11
11
  */
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module font/fontconfig
7
7
  */
8
- import type { ColorOption, ColorPickerConfig } from 'ckeditor5/src/ui.js';
9
- import type { MatcherPattern, ViewElementDefinition } from 'ckeditor5/src/engine.js';
8
+ import type { ColorOption, ColorPickerConfig } from 'ckeditor5/src/ui';
9
+ import type { MatcherPattern, ViewElementDefinition } from 'ckeditor5/src/engine';
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
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module font/fontfamily/fontfamilycommand
7
7
  */
8
- import type { Editor } from 'ckeditor5/src/core.js';
9
- import FontCommand from '../fontcommand.js';
8
+ import type { Editor } from 'ckeditor5/src/core';
9
+ import FontCommand from '../fontcommand';
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.
@@ -2,8 +2,8 @@
2
2
  * @license Copyright (c) 2003-2023, 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.js';
6
- import { FONT_FAMILY } from '../utils.js';
5
+ import FontCommand from '../fontcommand';
6
+ import { FONT_FAMILY } from '../utils';
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.
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module font/fontfamily/fontfamilyediting
7
7
  */
8
- import { type Editor, Plugin } from 'ckeditor5/src/core.js';
8
+ import { type Editor, Plugin } from 'ckeditor5/src/core';
9
9
  /**
10
10
  * The font family editing feature.
11
11
  *
@@ -5,10 +5,10 @@
5
5
  /**
6
6
  * @module font/fontfamily/fontfamilyediting
7
7
  */
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';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import FontFamilyCommand from './fontfamilycommand';
10
+ import { normalizeOptions } from './utils';
11
+ import { buildDefinition, FONT_FAMILY } from '../utils';
12
12
  /**
13
13
  * The font family editing feature.
14
14
  *
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module font/fontfamily/fontfamilyui
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
9
  /**
10
10
  * The font family UI plugin. It introduces the `'fontFamily'` dropdown.
11
11
  */
@@ -5,11 +5,11 @@
5
5
  /**
6
6
  * @module font/fontfamily/fontfamilyui
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import { Collection } from 'ckeditor5/src/utils.js';
10
- import { Model, createDropdown, addListToDropdown } from 'ckeditor5/src/ui.js';
11
- import { normalizeOptions } from './utils.js';
12
- import { FONT_FAMILY } from '../utils.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import { Collection } from 'ckeditor5/src/utils';
10
+ import { Model, createDropdown, addListToDropdown } from 'ckeditor5/src/ui';
11
+ import { normalizeOptions } from './utils';
12
+ import { FONT_FAMILY } from '../utils';
13
13
  import fontFamilyIcon from '../../theme/icons/font-family.svg';
14
14
  /**
15
15
  * The font family UI plugin. It introduces the `'fontFamily'` dropdown.
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2023, 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 { FontFamilyOption } from '../fontconfig.js';
5
+ import type { FontFamilyOption } from '../fontconfig';
6
6
  /**
7
7
  * @module font/fontfamily/utils
8
8
  */
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module font/fontfamily
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import FontFamilyEditing from './fontfamily/fontfamilyediting.js';
10
- import FontFamilyUI from './fontfamily/fontfamilyui.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import FontFamilyEditing from './fontfamily/fontfamilyediting';
10
+ import FontFamilyUI from './fontfamily/fontfamilyui';
11
11
  /**
12
12
  * The font family plugin.
13
13
  *
package/src/fontfamily.js CHANGED
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module font/fontfamily
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import FontFamilyEditing from './fontfamily/fontfamilyediting.js';
10
- import FontFamilyUI from './fontfamily/fontfamilyui.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import FontFamilyEditing from './fontfamily/fontfamilyediting';
10
+ import FontFamilyUI from './fontfamily/fontfamilyui';
11
11
  /**
12
12
  * The font family plugin.
13
13
  *
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module font/fontsize/fontsizecommand
7
7
  */
8
- import type { Editor } from 'ckeditor5/src/core.js';
9
- import FontCommand from '../fontcommand.js';
8
+ import type { Editor } from 'ckeditor5/src/core';
9
+ import FontCommand from '../fontcommand';
10
10
  /**
11
11
  * The font size command. It is used by {@link module:font/fontsize/fontsizeediting~FontSizeEditing}
12
12
  * to apply the font size.
@@ -2,8 +2,8 @@
2
2
  * @license Copyright (c) 2003-2023, 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.js';
6
- import { FONT_SIZE } from '../utils.js';
5
+ import FontCommand from '../fontcommand';
6
+ import { FONT_SIZE } from '../utils';
7
7
  /**
8
8
  * The font size command. It is used by {@link module:font/fontsize/fontsizeediting~FontSizeEditing}
9
9
  * to apply the font size.
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module font/fontsize/fontsizeediting
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core.js';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core';
9
9
  /**
10
10
  * The font size editing feature.
11
11
  *
@@ -5,12 +5,12 @@
5
5
  /**
6
6
  * @module font/fontsize/fontsizeediting
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import { CKEditorError } from 'ckeditor5/src/utils.js';
10
- import { isLength, isPercentage } from 'ckeditor5/src/engine.js';
11
- import FontSizeCommand from './fontsizecommand.js';
12
- import { normalizeOptions } from './utils.js';
13
- import { buildDefinition, FONT_SIZE } from '../utils.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import { CKEditorError } from 'ckeditor5/src/utils';
10
+ import { isLength, isPercentage } from 'ckeditor5/src/engine';
11
+ import FontSizeCommand from './fontsizecommand';
12
+ import { normalizeOptions } from './utils';
13
+ import { buildDefinition, FONT_SIZE } from '../utils';
14
14
  // Mapping of `<font size="..">` styling to CSS's `font-size` values.
15
15
  const styleFontSize = [
16
16
  'x-small',
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module font/fontsize/fontsizeui
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
9
  import '../../theme/fontsize.css';
10
10
  /**
11
11
  * The font size UI plugin. It introduces the `'fontSize'` dropdown.
@@ -5,11 +5,11 @@
5
5
  /**
6
6
  * @module font/fontsize/fontsizeui
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import { Model, createDropdown, addListToDropdown } from 'ckeditor5/src/ui.js';
10
- import { Collection } from 'ckeditor5/src/utils.js';
11
- import { normalizeOptions } from './utils.js';
12
- import { FONT_SIZE } from '../utils.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import { Model, createDropdown, addListToDropdown } from 'ckeditor5/src/ui';
10
+ import { Collection } from 'ckeditor5/src/utils';
11
+ import { normalizeOptions } from './utils';
12
+ import { FONT_SIZE } from '../utils';
13
13
  import '../../theme/fontsize.css';
14
14
  import fontSizeIcon from '../../theme/icons/font-size.svg';
15
15
  /**
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2023, 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 FontSizeOption } from '../fontconfig.js';
5
+ import { type FontSizeOption } from '../fontconfig';
6
6
  /**
7
7
  * Normalizes and translates the {@link module:font/fontconfig~FontSizeConfig#options configuration options}
8
8
  * to the {@link module:font/fontconfig~FontSizeOption} format.
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module font/fontsize/utils
7
7
  */
8
- import { CKEditorError } from 'ckeditor5/src/utils.js';
8
+ import { CKEditorError } from 'ckeditor5/src/utils';
9
9
  /**
10
10
  * Normalizes and translates the {@link module:font/fontconfig~FontSizeConfig#options configuration options}
11
11
  * to the {@link module:font/fontconfig~FontSizeOption} format.
package/src/fontsize.d.ts CHANGED
@@ -5,10 +5,10 @@
5
5
  /**
6
6
  * @module font/fontsize
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import FontSizeEditing from './fontsize/fontsizeediting.js';
10
- import FontSizeUI from './fontsize/fontsizeui.js';
11
- import type { FontSizeOption } from './fontconfig.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import FontSizeEditing from './fontsize/fontsizeediting';
10
+ import FontSizeUI from './fontsize/fontsizeui';
11
+ import type { FontSizeOption } from './fontconfig';
12
12
  /**
13
13
  * The font size plugin.
14
14
  *
package/src/fontsize.js CHANGED
@@ -5,10 +5,10 @@
5
5
  /**
6
6
  * @module font/fontsize
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import FontSizeEditing from './fontsize/fontsizeediting.js';
10
- import FontSizeUI from './fontsize/fontsizeui.js';
11
- import { normalizeOptions } from './fontsize/utils.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import FontSizeEditing from './fontsize/fontsizeediting';
10
+ import FontSizeUI from './fontsize/fontsizeui';
11
+ import { normalizeOptions } from './fontsize/utils';
12
12
  /**
13
13
  * The font size plugin.
14
14
  *
package/src/index.d.ts CHANGED
@@ -5,23 +5,23 @@
5
5
  /**
6
6
  * @module font
7
7
  */
8
- export { default as Font } from './font.js';
9
- export { default as FontBackgroundColor } from './fontbackgroundcolor.js';
10
- export { default as FontColor } from './fontcolor.js';
11
- export { default as FontFamily } from './fontfamily.js';
12
- export { default as FontSize } from './fontsize.js';
13
- export { default as FontBackgroundColorEditing } from './fontbackgroundcolor/fontbackgroundcolorediting.js';
14
- export { default as FontBackgroundColorUI } from './fontbackgroundcolor/fontbackgroundcolorui.js';
15
- export { default as FontColorEditing } from './fontcolor/fontcolorediting.js';
16
- export { default as FontColorUI } from './fontcolor/fontcolorui.js';
17
- export { default as FontFamilyEditing } from './fontfamily/fontfamilyediting.js';
18
- export { default as FontFamilyUI } from './fontfamily/fontfamilyui.js';
19
- export { default as FontSizeEditing } from './fontsize/fontsizeediting.js';
20
- export { default as FontSizeUI } from './fontsize/fontsizeui.js';
21
- export type { default as FontBackgroundColorCommand } from './fontbackgroundcolor/fontbackgroundcolorcommand.js';
22
- export type { default as FontColorCommand } from './fontcolor/fontcolorcommand.js';
23
- export type { default as FontFamilyCommand } from './fontfamily/fontfamilycommand.js';
24
- export type { default as FontSizeCommand } from './fontsize/fontsizecommand.js';
25
- export type { FONT_BACKGROUND_COLOR, FONT_COLOR, FONT_FAMILY, FONT_SIZE } from './utils.js';
26
- export type { FontColorConfig, FontFamilyConfig, FontSizeConfig } from './fontconfig.js';
27
- import './augmentation.js';
8
+ export { default as Font } from './font';
9
+ export { default as FontBackgroundColor } from './fontbackgroundcolor';
10
+ export { default as FontColor } from './fontcolor';
11
+ export { default as FontFamily } from './fontfamily';
12
+ export { default as FontSize } from './fontsize';
13
+ export { default as FontBackgroundColorEditing } from './fontbackgroundcolor/fontbackgroundcolorediting';
14
+ export { default as FontBackgroundColorUI } from './fontbackgroundcolor/fontbackgroundcolorui';
15
+ export { default as FontColorEditing } from './fontcolor/fontcolorediting';
16
+ export { default as FontColorUI } from './fontcolor/fontcolorui';
17
+ export { default as FontFamilyEditing } from './fontfamily/fontfamilyediting';
18
+ export { default as FontFamilyUI } from './fontfamily/fontfamilyui';
19
+ export { default as FontSizeEditing } from './fontsize/fontsizeediting';
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
@@ -5,17 +5,17 @@
5
5
  /**
6
6
  * @module font
7
7
  */
8
- export { default as Font } from './font.js';
9
- export { default as FontBackgroundColor } from './fontbackgroundcolor.js';
10
- export { default as FontColor } from './fontcolor.js';
11
- export { default as FontFamily } from './fontfamily.js';
12
- export { default as FontSize } from './fontsize.js';
13
- export { default as FontBackgroundColorEditing } from './fontbackgroundcolor/fontbackgroundcolorediting.js';
14
- export { default as FontBackgroundColorUI } from './fontbackgroundcolor/fontbackgroundcolorui.js';
15
- export { default as FontColorEditing } from './fontcolor/fontcolorediting.js';
16
- export { default as FontColorUI } from './fontcolor/fontcolorui.js';
17
- export { default as FontFamilyEditing } from './fontfamily/fontfamilyediting.js';
18
- export { default as FontFamilyUI } from './fontfamily/fontfamilyui.js';
19
- export { default as FontSizeEditing } from './fontsize/fontsizeediting.js';
20
- export { default as FontSizeUI } from './fontsize/fontsizeui.js';
21
- import './augmentation.js';
8
+ export { default as Font } from './font';
9
+ export { default as FontBackgroundColor } from './fontbackgroundcolor';
10
+ export { default as FontColor } from './fontcolor';
11
+ export { default as FontFamily } from './fontfamily';
12
+ export { default as FontSize } from './fontsize';
13
+ export { default as FontBackgroundColorEditing } from './fontbackgroundcolor/fontbackgroundcolorediting';
14
+ export { default as FontBackgroundColorUI } from './fontbackgroundcolor/fontbackgroundcolorui';
15
+ export { default as FontColorEditing } from './fontcolor/fontcolorediting';
16
+ export { default as FontColorUI } from './fontcolor/fontcolorui';
17
+ export { default as FontFamilyEditing } from './fontfamily/fontfamilyediting';
18
+ export { default as FontFamilyUI } from './fontfamily/fontfamilyui';
19
+ export { default as FontSizeEditing } from './fontsize/fontsizeediting';
20
+ export { default as FontSizeUI } from './fontsize/fontsizeui';
21
+ import './augmentation';
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module font/ui/colorui
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
- import { type ColorSelectorView } from 'ckeditor5/src/ui.js';
10
- import { type FONT_BACKGROUND_COLOR, type FONT_COLOR } from '../utils.js';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core';
9
+ import { type ColorSelectorView } from 'ckeditor5/src/ui';
10
+ import { type FONT_BACKGROUND_COLOR, type FONT_COLOR } from '../utils';
11
11
  /**
12
12
  * The color UI plugin which isolates the common logic responsible for displaying dropdowns with color grids.
13
13
  *
package/src/ui/colorui.js CHANGED
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module font/ui/colorui
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import { createDropdown, normalizeColorOptions, getLocalizedColorOptions, focusChildOnDropdownOpen } from 'ckeditor5/src/ui.js';
10
- import { addColorSelectorToDropdown } from '../utils.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import { createDropdown, normalizeColorOptions, getLocalizedColorOptions, focusChildOnDropdownOpen } from 'ckeditor5/src/ui';
10
+ import { addColorSelectorToDropdown } from '../utils';
11
11
  /**
12
12
  * The color UI plugin which isolates the common logic responsible for displaying dropdowns with color grids.
13
13
  *