@ckeditor/ckeditor5-font 41.3.0-alpha.3 → 41.3.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 (152) hide show
  1. package/build/font.js +1 -1
  2. package/build/translations/es-co.js +1 -0
  3. package/lang/translations/es-co.po +58 -0
  4. package/package.json +2 -3
  5. package/src/fontfamily/fontfamilyui.js +29 -2
  6. package/src/fontsize/fontsizeui.js +29 -2
  7. package/src/ui/colorui.js +51 -1
  8. package/dist/content-index.css +0 -16
  9. package/dist/editor-index.css +0 -4
  10. package/dist/index.css +0 -27
  11. package/dist/index.css.map +0 -1
  12. package/dist/translations/ar.d.ts +0 -8
  13. package/dist/translations/ar.js +0 -5
  14. package/dist/translations/az.d.ts +0 -8
  15. package/dist/translations/az.js +0 -5
  16. package/dist/translations/bg.d.ts +0 -8
  17. package/dist/translations/bg.js +0 -5
  18. package/dist/translations/bn.d.ts +0 -8
  19. package/dist/translations/bn.js +0 -5
  20. package/dist/translations/bs.d.ts +0 -8
  21. package/dist/translations/bs.js +0 -5
  22. package/dist/translations/ca.d.ts +0 -8
  23. package/dist/translations/ca.js +0 -5
  24. package/dist/translations/cs.d.ts +0 -8
  25. package/dist/translations/cs.js +0 -5
  26. package/dist/translations/da.d.ts +0 -8
  27. package/dist/translations/da.js +0 -5
  28. package/dist/translations/de-ch.d.ts +0 -8
  29. package/dist/translations/de-ch.js +0 -5
  30. package/dist/translations/de.d.ts +0 -8
  31. package/dist/translations/de.js +0 -5
  32. package/dist/translations/el.d.ts +0 -8
  33. package/dist/translations/el.js +0 -5
  34. package/dist/translations/en-au.d.ts +0 -8
  35. package/dist/translations/en-au.js +0 -5
  36. package/dist/translations/en-gb.d.ts +0 -8
  37. package/dist/translations/en-gb.js +0 -5
  38. package/dist/translations/en.d.ts +0 -8
  39. package/dist/translations/en.js +0 -5
  40. package/dist/translations/es.d.ts +0 -8
  41. package/dist/translations/es.js +0 -5
  42. package/dist/translations/et.d.ts +0 -8
  43. package/dist/translations/et.js +0 -5
  44. package/dist/translations/fa.d.ts +0 -8
  45. package/dist/translations/fa.js +0 -5
  46. package/dist/translations/fi.d.ts +0 -8
  47. package/dist/translations/fi.js +0 -5
  48. package/dist/translations/fr.d.ts +0 -8
  49. package/dist/translations/fr.js +0 -5
  50. package/dist/translations/gl.d.ts +0 -8
  51. package/dist/translations/gl.js +0 -5
  52. package/dist/translations/he.d.ts +0 -8
  53. package/dist/translations/he.js +0 -5
  54. package/dist/translations/hi.d.ts +0 -8
  55. package/dist/translations/hi.js +0 -5
  56. package/dist/translations/hr.d.ts +0 -8
  57. package/dist/translations/hr.js +0 -5
  58. package/dist/translations/hu.d.ts +0 -8
  59. package/dist/translations/hu.js +0 -5
  60. package/dist/translations/id.d.ts +0 -8
  61. package/dist/translations/id.js +0 -5
  62. package/dist/translations/it.d.ts +0 -8
  63. package/dist/translations/it.js +0 -5
  64. package/dist/translations/ja.d.ts +0 -8
  65. package/dist/translations/ja.js +0 -5
  66. package/dist/translations/jv.d.ts +0 -8
  67. package/dist/translations/jv.js +0 -5
  68. package/dist/translations/ko.d.ts +0 -8
  69. package/dist/translations/ko.js +0 -5
  70. package/dist/translations/ku.d.ts +0 -8
  71. package/dist/translations/ku.js +0 -5
  72. package/dist/translations/lt.d.ts +0 -8
  73. package/dist/translations/lt.js +0 -5
  74. package/dist/translations/lv.d.ts +0 -8
  75. package/dist/translations/lv.js +0 -5
  76. package/dist/translations/ms.d.ts +0 -8
  77. package/dist/translations/ms.js +0 -5
  78. package/dist/translations/nb.d.ts +0 -8
  79. package/dist/translations/nb.js +0 -5
  80. package/dist/translations/ne.d.ts +0 -8
  81. package/dist/translations/ne.js +0 -5
  82. package/dist/translations/nl.d.ts +0 -8
  83. package/dist/translations/nl.js +0 -5
  84. package/dist/translations/no.d.ts +0 -8
  85. package/dist/translations/no.js +0 -5
  86. package/dist/translations/pl.d.ts +0 -8
  87. package/dist/translations/pl.js +0 -5
  88. package/dist/translations/pt-br.d.ts +0 -8
  89. package/dist/translations/pt-br.js +0 -5
  90. package/dist/translations/pt.d.ts +0 -8
  91. package/dist/translations/pt.js +0 -5
  92. package/dist/translations/ro.d.ts +0 -8
  93. package/dist/translations/ro.js +0 -5
  94. package/dist/translations/ru.d.ts +0 -8
  95. package/dist/translations/ru.js +0 -5
  96. package/dist/translations/sk.d.ts +0 -8
  97. package/dist/translations/sk.js +0 -5
  98. package/dist/translations/sl.d.ts +0 -8
  99. package/dist/translations/sl.js +0 -5
  100. package/dist/translations/sq.d.ts +0 -8
  101. package/dist/translations/sq.js +0 -5
  102. package/dist/translations/sr-latn.d.ts +0 -8
  103. package/dist/translations/sr-latn.js +0 -5
  104. package/dist/translations/sr.d.ts +0 -8
  105. package/dist/translations/sr.js +0 -5
  106. package/dist/translations/sv.d.ts +0 -8
  107. package/dist/translations/sv.js +0 -5
  108. package/dist/translations/th.d.ts +0 -8
  109. package/dist/translations/th.js +0 -5
  110. package/dist/translations/tk.d.ts +0 -8
  111. package/dist/translations/tk.js +0 -5
  112. package/dist/translations/tr.d.ts +0 -8
  113. package/dist/translations/tr.js +0 -5
  114. package/dist/translations/ug.d.ts +0 -8
  115. package/dist/translations/ug.js +0 -5
  116. package/dist/translations/uk.d.ts +0 -8
  117. package/dist/translations/uk.js +0 -5
  118. package/dist/translations/ur.d.ts +0 -8
  119. package/dist/translations/ur.js +0 -5
  120. package/dist/translations/uz.d.ts +0 -8
  121. package/dist/translations/uz.js +0 -5
  122. package/dist/translations/vi.d.ts +0 -8
  123. package/dist/translations/vi.js +0 -5
  124. package/dist/translations/zh-cn.d.ts +0 -8
  125. package/dist/translations/zh-cn.js +0 -5
  126. package/dist/translations/zh.d.ts +0 -8
  127. package/dist/translations/zh.js +0 -5
  128. package/dist/types/augmentation.d.ts +0 -62
  129. package/dist/types/font.d.ts +0 -37
  130. package/dist/types/fontbackgroundcolor/fontbackgroundcolorcommand.d.ts +0 -30
  131. package/dist/types/fontbackgroundcolor/fontbackgroundcolorediting.d.ts +0 -30
  132. package/dist/types/fontbackgroundcolor/fontbackgroundcolorui.d.ts +0 -26
  133. package/dist/types/fontbackgroundcolor.d.ts +0 -34
  134. package/dist/types/fontcolor/fontcolorcommand.d.ts +0 -29
  135. package/dist/types/fontcolor/fontcolorediting.d.ts +0 -30
  136. package/dist/types/fontcolor/fontcolorui.d.ts +0 -26
  137. package/dist/types/fontcolor.d.ts +0 -33
  138. package/dist/types/fontcommand.d.ts +0 -52
  139. package/dist/types/fontconfig.d.ts +0 -377
  140. package/dist/types/fontfamily/fontfamilycommand.d.ts +0 -29
  141. package/dist/types/fontfamily/fontfamilyediting.d.ts +0 -43
  142. package/dist/types/fontfamily/fontfamilyui.d.ts +0 -34
  143. package/dist/types/fontfamily/utils.d.ts +0 -19
  144. package/dist/types/fontfamily.d.ts +0 -33
  145. package/dist/types/fontsize/fontsizecommand.d.ts +0 -29
  146. package/dist/types/fontsize/fontsizeediting.d.ts +0 -48
  147. package/dist/types/fontsize/fontsizeui.d.ts +0 -35
  148. package/dist/types/fontsize/utils.d.ts +0 -16
  149. package/dist/types/fontsize.d.ts +0 -41
  150. package/dist/types/index.d.ts +0 -31
  151. package/dist/types/ui/colorui.d.ts +0 -67
  152. package/dist/types/utils.d.ts +0 -84
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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 default {"sq":{"dictionary":{"Font Size":"Madhësia tekstit","Tiny":"I vocërr","Small":"I vogël","Big":"I madh","Huge":"I stërmadh","Font Family":"Familja e fontit","Default":"Parazgjedhur","Font Color":"Ngjyra e tekstit","Font Background Color":"Ngjyra e tekstit të prapavijës","Document colors":"Ngjyra e dokumentit"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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 default {"sr-latn":{"dictionary":{"Font Size":"Veličina fonta","Tiny":"Sitno","Small":"Malo","Big":"Veliko","Huge":"Ogromno","Font Family":"Font","Default":"Оsnovni","Font Color":"Boja slova","Font Background Color":"Boja pozadine slova","Document colors":"Boje dokumenta"},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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 default {"sr":{"dictionary":{"Font Size":"Величина фонта","Tiny":"Ситно","Small":"Мало","Big":"Велико","Huge":"Огромно","Font Family":"Фонт","Default":"Основни","Font Color":"Боја слова","Font Background Color":"Боја позадине слова","Document colors":"Боје документа"},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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 default {"sv":{"dictionary":{"Font Size":"Teckenstorlek","Tiny":"Mycket liten","Small":"Liten","Big":"Stor","Huge":"Enorm","Font Family":"Typsnitt","Default":"Standard","Font Color":"Teckenfärg","Font Background Color":"Tecknens bakgrundsfärg","Document colors":"Dokumentfärger"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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 default {"th":{"dictionary":{"Font Size":"ขนาดข้อความ","Tiny":"เล็กมาก","Small":"เล็ก","Big":"ใหญ่","Huge":"ใหญ่มาก","Font Family":"แบบอักษร","Default":"ค่าเริ่มต้น","Font Color":"สีข้อความ","Font Background Color":"สีพื้นหลังข้อความ","Document colors":"สีเอกสาร"},getPluralForm(n){return 0;}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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 default {"tk":{"dictionary":{"Font Size":"Şrift ölçegi","Tiny":"Kiçijik","Small":"Kiçi","Big":"Uly","Huge":"Ägirt","Font Family":"Şrift maşgalasy","Default":"Bellenen","Font Color":"Şriftiň reňki","Font Background Color":"Şriftiň fon reňki","Document colors":"Resminamanyň reňkleri"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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 default {"tr":{"dictionary":{"Font Size":"Yazı Boyutu","Tiny":"Çok Küçük","Small":"Küçük","Big":"Büyük","Huge":"Çok Büyük","Font Family":"Yazı Tipi Ailesi","Default":"Varsayılan","Font Color":"Yazı Tipi Rengi","Font Background Color":"Yazı Tipi Arkaplan Rengi","Document colors":"Belge Rengi"},getPluralForm(n){return (n > 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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 default {"ug":{"dictionary":{"Font Size":"خەت چوڭلۇقى","Tiny":"ئەڭ كىچىك","Small":"كىچىك","Big":"چوڭ","Huge":"زور","Font Family":"خەت نۇسخىسى","Default":"سۈكۈتتىكى","Font Color":"خەت رەڭگى","Font Background Color":"خەت تەگلىك رەڭگى","Document colors":"پۈتۈك رەڭگى"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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 default {"uk":{"dictionary":{"Font Size":"Розмір шрифту","Tiny":"Крихітний","Small":"Маленький","Big":"Великий","Huge":"Величезний","Font Family":"Сімейство шрифтів","Default":"За замовчуванням","Font Color":"Колір шрифту","Font Background Color":"Колір тла шрифту","Document colors":"Кольори документу"},getPluralForm(n){return (n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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 default {"ur":{"dictionary":{"Font Size":"فانٹ کا حجم","Tiny":"ننھا","Small":"چھوٹا","Big":"بڑا","Huge":"جسيم","Font Family":"فانٹ خاندان","Default":"طے شدہ","Font Color":"فانٹ کا رنگ","Font Background Color":"فانٹ کے پس منظر کا رنگ","Document colors":"دستاویز کے رنگ"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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 default {"uz":{"dictionary":{"Font Size":"Shrift hajmi","Tiny":"Juda kichik","Small":"Kichik","Big":"Katta","Huge":"Juda katta","Font Family":"Shriftlar oilasi","Default":"Standart","Font Color":"Shrift rangi","Font Background Color":"Fon rangi","Document colors":"Sahifa rangi"},getPluralForm(n){return 0;}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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 default {"vi":{"dictionary":{"Font Size":"Cỡ chữ","Tiny":"Bé","Small":"Nhỏ","Big":"Lớn","Huge":"Khổng lồ","Font Family":"Họ chữ","Default":"Mặc định","Font Color":"Màu chữ","Font Background Color":"Màu nền chữ","Document colors":"Màu văn bản"},getPluralForm(n){return 0;}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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 default {"zh-cn":{"dictionary":{"Font Size":"字体大小","Tiny":"极小","Small":"小","Big":"大","Huge":"极大","Font Family":"字体","Default":"默认","Font Color":"字体颜色","Font Background Color":"字体背景色","Document colors":"文档中的颜色"},getPluralForm(n){return 0;}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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 default {"zh":{"dictionary":{"Font Size":"字體大小","Tiny":"特小","Small":"小","Big":"大","Huge":"特大","Font Family":"字型","Default":"預設","Font Color":"字體顏色","Font Background Color":"前景顏色","Document colors":"文件顏色"},getPluralForm(n){return 0;}}}
@@ -1,62 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- 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';
10
- declare module '@ckeditor/ckeditor5-core' {
11
- interface EditorConfig {
12
- /**
13
- * The configuration of the font background color feature.
14
- * It is introduced by the {@link module:font/fontbackgroundcolor/fontbackgroundcolorediting~FontBackgroundColorEditing} feature.
15
- *
16
- * Read more in {@link module:font/fontconfig~FontColorConfig}.
17
- */
18
- fontBackgroundColor?: FontColorConfig;
19
- /**
20
- * The configuration of the font color feature.
21
- * It is introduced by the {@link module:font/fontcolor/fontcolorediting~FontColorEditing} feature.
22
- *
23
- * Read more in {@link module:font/fontconfig~FontColorConfig}.
24
- */
25
- fontColor?: FontColorConfig;
26
- /**
27
- * The configuration of the font family feature.
28
- * It is introduced by the {@link module:font/fontfamily/fontfamilyediting~FontFamilyEditing} feature.
29
- *
30
- * Read more in {@link module:font/fontconfig~FontFamilyConfig}.
31
- */
32
- fontFamily?: FontFamilyConfig;
33
- /**
34
- * The configuration of the font size feature.
35
- * It is introduced by the {@link module:font/fontsize/fontsizeediting~FontSizeEditing} feature.
36
- *
37
- * Read more in {@link module:font/fontconfig~FontSizeConfig}.
38
- */
39
- fontSize?: FontSizeConfig;
40
- }
41
- interface PluginsMap {
42
- [Font.pluginName]: Font;
43
- [FontBackgroundColor.pluginName]: FontBackgroundColor;
44
- [FontBackgroundColorEditing.pluginName]: FontBackgroundColorEditing;
45
- [FontBackgroundColorUI.pluginName]: FontBackgroundColorUI;
46
- [FontColor.pluginName]: FontColor;
47
- [FontColorEditing.pluginName]: FontColorEditing;
48
- [FontColorUI.pluginName]: FontColorUI;
49
- [FontFamily.pluginName]: FontFamily;
50
- [FontFamilyEditing.pluginName]: FontFamilyEditing;
51
- [FontFamilyUI.pluginName]: FontFamilyUI;
52
- [FontSize.pluginName]: FontSize;
53
- [FontSizeEditing.pluginName]: FontSizeEditing;
54
- [FontSizeUI.pluginName]: FontSizeUI;
55
- }
56
- interface CommandsMap {
57
- [FONT_SIZE]: FontSizeCommand;
58
- [FONT_FAMILY]: FontFamilyCommand;
59
- [FONT_COLOR]: FontColorCommand;
60
- [FONT_BACKGROUND_COLOR]: FontBackgroundColorCommand;
61
- }
62
- }
@@ -1,37 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module font/font
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- import FontFamily from './fontfamily.js';
14
- import FontSize from './fontsize.js';
15
- import FontColor from './fontcolor.js';
16
- import FontBackgroundColor from './fontbackgroundcolor.js';
17
- /**
18
- * A plugin that enables a set of text styling features:
19
- *
20
- * * {@link module:font/fontsize~FontSize},
21
- * * {@link module:font/fontfamily~FontFamily}.
22
- * * {@link module:font/fontcolor~FontColor},
23
- * * {@link module:font/fontbackgroundcolor~FontBackgroundColor}.
24
- *
25
- * For a detailed overview, check the {@glink features/font Font feature} documentation
26
- * and the {@glink api/font package page}.
27
- */
28
- export default class Font extends Plugin {
29
- /**
30
- * @inheritDoc
31
- */
32
- static get requires(): readonly [typeof FontFamily, typeof FontSize, typeof FontColor, typeof FontBackgroundColor];
33
- /**
34
- * @inheritDoc
35
- */
36
- static get pluginName(): "Font";
37
- }
@@ -1,30 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module font/fontbackgroundcolor/fontbackgroundcolorcommand
11
- */
12
- import type { Editor } from 'ckeditor5/src/core.js';
13
- import FontCommand from '../fontcommand.js';
14
- /**
15
- * The font background color command. It is used by
16
- * {@link module:font/fontbackgroundcolor/fontbackgroundcolorediting~FontBackgroundColorEditing}
17
- * to apply the font background color.
18
- *
19
- * ```ts
20
- * editor.execute( 'fontBackgroundColor', { value: 'rgb(250, 20, 20)' } );
21
- * ```
22
- *
23
- * **Note**: Executing the command with the `null` value removes the attribute from the model.
24
- */
25
- export default class FontBackgroundColorCommand extends FontCommand {
26
- /**
27
- * @inheritDoc
28
- */
29
- constructor(editor: Editor);
30
- }
@@ -1,30 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module font/fontbackgroundcolor/fontbackgroundcolorediting
11
- */
12
- import { Plugin, type Editor } from 'ckeditor5/src/core.js';
13
- /**
14
- * The font background color editing feature.
15
- *
16
- * It introduces the {@link module:font/fontbackgroundcolor/fontbackgroundcolorcommand~FontBackgroundColorCommand command} and
17
- * the `fontBackgroundColor` attribute in the {@link module:engine/model/model~Model model} which renders
18
- * in the {@link module:engine/view/view view} as a `<span>` element (`<span style="background-color: ...">`),
19
- * depending on the {@link module:font/fontconfig~FontColorConfig configuration}.
20
- */
21
- export default class FontBackgroundColorEditing extends Plugin {
22
- /**
23
- * @inheritDoc
24
- */
25
- static get pluginName(): "FontBackgroundColorEditing";
26
- /**
27
- * @inheritDoc
28
- */
29
- constructor(editor: Editor);
30
- }
@@ -1,26 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module font/fontbackgroundcolor/fontbackgroundcolorui
11
- */
12
- import ColorUI from '../ui/colorui.js';
13
- import type { Editor } from 'ckeditor5/src/core.js';
14
- /**
15
- * The font background color UI plugin. It introduces the `'fontBackgroundColor'` dropdown.
16
- */
17
- export default class FontBackgroundColorUI extends ColorUI {
18
- /**
19
- * @inheritDoc
20
- */
21
- constructor(editor: Editor);
22
- /**
23
- * @inheritDoc
24
- */
25
- static get pluginName(): "FontBackgroundColorUI";
26
- }
@@ -1,34 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module font/fontbackgroundcolor
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- import FontBackgroundColorEditing from './fontbackgroundcolor/fontbackgroundcolorediting.js';
14
- import FontBackgroundColorUI from './fontbackgroundcolor/fontbackgroundcolorui.js';
15
- /**
16
- * The font background color plugin.
17
- *
18
- * For a detailed overview, check the {@glink features/font font feature} documentation
19
- * and the {@glink api/font package page}.
20
- *
21
- * This is a "glue" plugin which loads
22
- * the {@link module:font/fontbackgroundcolor/fontbackgroundcolorediting~FontBackgroundColorEditing} and
23
- * {@link module:font/fontbackgroundcolor/fontbackgroundcolorui~FontBackgroundColorUI} features in the editor.
24
- */
25
- export default class FontBackgroundColor extends Plugin {
26
- /**
27
- * @inheritDoc
28
- */
29
- static get requires(): readonly [typeof FontBackgroundColorEditing, typeof FontBackgroundColorUI];
30
- /**
31
- * @inheritDoc
32
- */
33
- static get pluginName(): "FontBackgroundColor";
34
- }
@@ -1,29 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module font/fontcolor/fontcolorcommand
11
- */
12
- import type { Editor } from 'ckeditor5/src/core.js';
13
- import FontCommand from '../fontcommand.js';
14
- /**
15
- * The font color command. It is used by {@link module:font/fontcolor/fontcolorediting~FontColorEditing}
16
- * to apply the font color.
17
- *
18
- * ```ts
19
- * editor.execute( 'fontColor', { value: 'rgb(250, 20, 20)' } );
20
- * ```
21
- *
22
- * **Note**: Executing the command with the `null` value removes the attribute from the model.
23
- */
24
- export default class FontColorCommand extends FontCommand {
25
- /**
26
- * @inheritDoc
27
- */
28
- constructor(editor: Editor);
29
- }
@@ -1,30 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module font/fontcolor/fontcolorediting
11
- */
12
- import { Plugin, type Editor } from 'ckeditor5/src/core.js';
13
- /**
14
- * The font color editing feature.
15
- *
16
- * It introduces the {@link module:font/fontcolor/fontcolorcommand~FontColorCommand command} and
17
- * the `fontColor` attribute in the {@link module:engine/model/model~Model model} which renders
18
- * in the {@link module:engine/view/view view} as a `<span>` element (`<span style="color: ...">`),
19
- * depending on the {@link module:font/fontconfig~FontColorConfig configuration}.
20
- */
21
- export default class FontColorEditing extends Plugin {
22
- /**
23
- * @inheritDoc
24
- */
25
- static get pluginName(): "FontColorEditing";
26
- /**
27
- * @inheritDoc
28
- */
29
- constructor(editor: Editor);
30
- }
@@ -1,26 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module font/fontcolor/fontcolorui
11
- */
12
- import ColorUI from '../ui/colorui.js';
13
- import type { Editor } from 'ckeditor5/src/core.js';
14
- /**
15
- * The font color UI plugin. It introduces the `'fontColor'` dropdown.
16
- */
17
- export default class FontColorUI extends ColorUI {
18
- /**
19
- * @inheritDoc
20
- */
21
- constructor(editor: Editor);
22
- /**
23
- * @inheritDoc
24
- */
25
- static get pluginName(): "FontColorUI";
26
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, 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
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module font/fontcolor
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- import FontColorEditing from './fontcolor/fontcolorediting.js';
14
- import FontColorUI from './fontcolor/fontcolorui.js';
15
- /**
16
- * The font color plugin.
17
- *
18
- * For a detailed overview, check the {@glink features/font font feature} documentation
19
- * and the {@glink api/font package page}.
20
- *
21
- * This is a "glue" plugin which loads the {@link module:font/fontcolor/fontcolorediting~FontColorEditing} and
22
- * {@link module:font/fontcolor/fontcolorui~FontColorUI} features in the editor.
23
- */
24
- export default class FontColor extends Plugin {
25
- /**
26
- * @inheritDoc
27
- */
28
- static get requires(): readonly [typeof FontColorEditing, typeof FontColorUI];
29
- /**
30
- * @inheritDoc
31
- */
32
- static get pluginName(): "FontColor";
33
- }