@ckeditor/ckeditor5-font 44.1.0 → 44.2.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (373) hide show
  1. package/LICENSE.md +1 -1
  2. package/build/font.js +1 -1
  3. package/dist/index-content.css +2 -2
  4. package/dist/index-editor.css +2 -2
  5. package/dist/index.css +3 -3
  6. package/dist/index.css.map +1 -1
  7. package/dist/index.js +3 -3
  8. package/dist/index.js.map +1 -1
  9. package/dist/translations/af.d.ts +2 -2
  10. package/dist/translations/af.js +2 -2
  11. package/dist/translations/af.umd.js +2 -2
  12. package/dist/translations/ar.d.ts +2 -2
  13. package/dist/translations/ar.js +2 -2
  14. package/dist/translations/ar.umd.js +2 -2
  15. package/dist/translations/ast.d.ts +2 -2
  16. package/dist/translations/ast.js +2 -2
  17. package/dist/translations/ast.umd.js +2 -2
  18. package/dist/translations/az.d.ts +2 -2
  19. package/dist/translations/az.js +2 -2
  20. package/dist/translations/az.umd.js +2 -2
  21. package/dist/translations/bg.d.ts +2 -2
  22. package/dist/translations/bg.js +2 -2
  23. package/dist/translations/bg.umd.js +2 -2
  24. package/dist/translations/bn.d.ts +2 -2
  25. package/dist/translations/bn.js +2 -2
  26. package/dist/translations/bn.umd.js +2 -2
  27. package/dist/translations/bs.d.ts +2 -2
  28. package/dist/translations/bs.js +2 -2
  29. package/dist/translations/bs.umd.js +2 -2
  30. package/dist/translations/ca.d.ts +2 -2
  31. package/dist/translations/ca.js +2 -2
  32. package/dist/translations/ca.umd.js +2 -2
  33. package/dist/translations/cs.d.ts +2 -2
  34. package/dist/translations/cs.js +2 -2
  35. package/dist/translations/cs.umd.js +2 -2
  36. package/dist/translations/da.d.ts +2 -2
  37. package/dist/translations/da.js +2 -2
  38. package/dist/translations/da.umd.js +2 -2
  39. package/dist/translations/de-ch.d.ts +2 -2
  40. package/dist/translations/de-ch.js +2 -2
  41. package/dist/translations/de-ch.umd.js +2 -2
  42. package/dist/translations/de.d.ts +2 -2
  43. package/dist/translations/de.js +2 -2
  44. package/dist/translations/de.umd.js +2 -2
  45. package/dist/translations/el.d.ts +2 -2
  46. package/dist/translations/el.js +2 -2
  47. package/dist/translations/el.umd.js +2 -2
  48. package/dist/translations/en-au.d.ts +2 -2
  49. package/dist/translations/en-au.js +2 -2
  50. package/dist/translations/en-au.umd.js +2 -2
  51. package/dist/translations/en-gb.d.ts +2 -2
  52. package/dist/translations/en-gb.js +2 -2
  53. package/dist/translations/en-gb.umd.js +2 -2
  54. package/dist/translations/en.d.ts +2 -2
  55. package/dist/translations/en.js +2 -2
  56. package/dist/translations/en.umd.js +2 -2
  57. package/dist/translations/eo.d.ts +2 -2
  58. package/dist/translations/eo.js +2 -2
  59. package/dist/translations/eo.umd.js +2 -2
  60. package/dist/translations/es-co.d.ts +2 -2
  61. package/dist/translations/es-co.js +2 -2
  62. package/dist/translations/es-co.umd.js +2 -2
  63. package/dist/translations/es.d.ts +2 -2
  64. package/dist/translations/es.js +2 -2
  65. package/dist/translations/es.umd.js +2 -2
  66. package/dist/translations/et.d.ts +2 -2
  67. package/dist/translations/et.js +2 -2
  68. package/dist/translations/et.umd.js +2 -2
  69. package/dist/translations/eu.d.ts +2 -2
  70. package/dist/translations/eu.js +2 -2
  71. package/dist/translations/eu.umd.js +2 -2
  72. package/dist/translations/fa.d.ts +2 -2
  73. package/dist/translations/fa.js +2 -2
  74. package/dist/translations/fa.umd.js +2 -2
  75. package/dist/translations/fi.d.ts +2 -2
  76. package/dist/translations/fi.js +2 -2
  77. package/dist/translations/fi.umd.js +2 -2
  78. package/dist/translations/fr.d.ts +2 -2
  79. package/dist/translations/fr.js +2 -2
  80. package/dist/translations/fr.umd.js +2 -2
  81. package/dist/translations/gl.d.ts +2 -2
  82. package/dist/translations/gl.js +2 -2
  83. package/dist/translations/gl.umd.js +2 -2
  84. package/dist/translations/gu.d.ts +2 -2
  85. package/dist/translations/gu.js +2 -2
  86. package/dist/translations/gu.umd.js +2 -2
  87. package/dist/translations/he.d.ts +2 -2
  88. package/dist/translations/he.js +2 -2
  89. package/dist/translations/he.umd.js +2 -2
  90. package/dist/translations/hi.d.ts +2 -2
  91. package/dist/translations/hi.js +2 -2
  92. package/dist/translations/hi.umd.js +2 -2
  93. package/dist/translations/hr.d.ts +2 -2
  94. package/dist/translations/hr.js +2 -2
  95. package/dist/translations/hr.umd.js +2 -2
  96. package/dist/translations/hu.d.ts +2 -2
  97. package/dist/translations/hu.js +2 -2
  98. package/dist/translations/hu.umd.js +2 -2
  99. package/dist/translations/hy.d.ts +2 -2
  100. package/dist/translations/hy.js +2 -2
  101. package/dist/translations/hy.umd.js +2 -2
  102. package/dist/translations/id.d.ts +2 -2
  103. package/dist/translations/id.js +2 -2
  104. package/dist/translations/id.umd.js +2 -2
  105. package/dist/translations/it.d.ts +2 -2
  106. package/dist/translations/it.js +2 -2
  107. package/dist/translations/it.umd.js +2 -2
  108. package/dist/translations/ja.d.ts +2 -2
  109. package/dist/translations/ja.js +2 -2
  110. package/dist/translations/ja.umd.js +2 -2
  111. package/dist/translations/jv.d.ts +2 -2
  112. package/dist/translations/jv.js +2 -2
  113. package/dist/translations/jv.umd.js +2 -2
  114. package/dist/translations/kk.d.ts +2 -2
  115. package/dist/translations/kk.js +2 -2
  116. package/dist/translations/kk.umd.js +2 -2
  117. package/dist/translations/km.d.ts +2 -2
  118. package/dist/translations/km.js +2 -2
  119. package/dist/translations/km.umd.js +2 -2
  120. package/dist/translations/kn.d.ts +2 -2
  121. package/dist/translations/kn.js +2 -2
  122. package/dist/translations/kn.umd.js +2 -2
  123. package/dist/translations/ko.d.ts +2 -2
  124. package/dist/translations/ko.js +2 -2
  125. package/dist/translations/ko.umd.js +2 -2
  126. package/dist/translations/ku.d.ts +2 -2
  127. package/dist/translations/ku.js +2 -2
  128. package/dist/translations/ku.umd.js +2 -2
  129. package/dist/translations/lt.d.ts +2 -2
  130. package/dist/translations/lt.js +2 -2
  131. package/dist/translations/lt.umd.js +2 -2
  132. package/dist/translations/lv.d.ts +2 -2
  133. package/dist/translations/lv.js +2 -2
  134. package/dist/translations/lv.umd.js +2 -2
  135. package/dist/translations/ms.d.ts +2 -2
  136. package/dist/translations/ms.js +2 -2
  137. package/dist/translations/ms.umd.js +2 -2
  138. package/dist/translations/nb.d.ts +2 -2
  139. package/dist/translations/nb.js +2 -2
  140. package/dist/translations/nb.umd.js +2 -2
  141. package/dist/translations/ne.d.ts +2 -2
  142. package/dist/translations/ne.js +2 -2
  143. package/dist/translations/ne.umd.js +2 -2
  144. package/dist/translations/nl.d.ts +2 -2
  145. package/dist/translations/nl.js +2 -2
  146. package/dist/translations/nl.umd.js +2 -2
  147. package/dist/translations/no.d.ts +2 -2
  148. package/dist/translations/no.js +2 -2
  149. package/dist/translations/no.umd.js +2 -2
  150. package/dist/translations/oc.d.ts +2 -2
  151. package/dist/translations/oc.js +2 -2
  152. package/dist/translations/oc.umd.js +2 -2
  153. package/dist/translations/pl.d.ts +2 -2
  154. package/dist/translations/pl.js +2 -2
  155. package/dist/translations/pl.umd.js +2 -2
  156. package/dist/translations/pt-br.d.ts +2 -2
  157. package/dist/translations/pt-br.js +2 -2
  158. package/dist/translations/pt-br.umd.js +2 -2
  159. package/dist/translations/pt.d.ts +2 -2
  160. package/dist/translations/pt.js +2 -2
  161. package/dist/translations/pt.umd.js +2 -2
  162. package/dist/translations/ro.d.ts +2 -2
  163. package/dist/translations/ro.js +2 -2
  164. package/dist/translations/ro.umd.js +2 -2
  165. package/dist/translations/ru.d.ts +2 -2
  166. package/dist/translations/ru.js +2 -2
  167. package/dist/translations/ru.umd.js +2 -2
  168. package/dist/translations/si.d.ts +2 -2
  169. package/dist/translations/si.js +2 -2
  170. package/dist/translations/si.umd.js +2 -2
  171. package/dist/translations/sk.d.ts +2 -2
  172. package/dist/translations/sk.js +2 -2
  173. package/dist/translations/sk.umd.js +2 -2
  174. package/dist/translations/sl.d.ts +2 -2
  175. package/dist/translations/sl.js +2 -2
  176. package/dist/translations/sl.umd.js +2 -2
  177. package/dist/translations/sq.d.ts +2 -2
  178. package/dist/translations/sq.js +2 -2
  179. package/dist/translations/sq.umd.js +2 -2
  180. package/dist/translations/sr-latn.d.ts +2 -2
  181. package/dist/translations/sr-latn.js +2 -2
  182. package/dist/translations/sr-latn.umd.js +2 -2
  183. package/dist/translations/sr.d.ts +2 -2
  184. package/dist/translations/sr.js +2 -2
  185. package/dist/translations/sr.umd.js +2 -2
  186. package/dist/translations/sv.d.ts +2 -2
  187. package/dist/translations/sv.js +2 -2
  188. package/dist/translations/sv.umd.js +2 -2
  189. package/dist/translations/th.d.ts +2 -2
  190. package/dist/translations/th.js +2 -2
  191. package/dist/translations/th.umd.js +2 -2
  192. package/dist/translations/ti.d.ts +2 -2
  193. package/dist/translations/ti.js +2 -2
  194. package/dist/translations/ti.umd.js +2 -2
  195. package/dist/translations/tk.d.ts +2 -2
  196. package/dist/translations/tk.js +2 -2
  197. package/dist/translations/tk.umd.js +2 -2
  198. package/dist/translations/tr.d.ts +2 -2
  199. package/dist/translations/tr.js +2 -2
  200. package/dist/translations/tr.umd.js +2 -2
  201. package/dist/translations/tt.d.ts +2 -2
  202. package/dist/translations/tt.js +2 -2
  203. package/dist/translations/tt.umd.js +2 -2
  204. package/dist/translations/ug.d.ts +2 -2
  205. package/dist/translations/ug.js +2 -2
  206. package/dist/translations/ug.umd.js +2 -2
  207. package/dist/translations/uk.d.ts +2 -2
  208. package/dist/translations/uk.js +2 -2
  209. package/dist/translations/uk.umd.js +2 -2
  210. package/dist/translations/ur.d.ts +2 -2
  211. package/dist/translations/ur.js +2 -2
  212. package/dist/translations/ur.umd.js +2 -2
  213. package/dist/translations/uz.d.ts +2 -2
  214. package/dist/translations/uz.js +2 -2
  215. package/dist/translations/uz.umd.js +2 -2
  216. package/dist/translations/vi.d.ts +2 -2
  217. package/dist/translations/vi.js +2 -2
  218. package/dist/translations/vi.umd.js +2 -2
  219. package/dist/translations/zh-cn.d.ts +2 -2
  220. package/dist/translations/zh-cn.js +2 -2
  221. package/dist/translations/zh-cn.umd.js +2 -2
  222. package/dist/translations/zh.d.ts +2 -2
  223. package/dist/translations/zh.js +2 -2
  224. package/dist/translations/zh.umd.js +2 -2
  225. package/lang/translations/af.po +1 -1
  226. package/lang/translations/ar.po +1 -1
  227. package/lang/translations/ast.po +1 -1
  228. package/lang/translations/az.po +1 -1
  229. package/lang/translations/bg.po +1 -1
  230. package/lang/translations/bn.po +1 -1
  231. package/lang/translations/bs.po +1 -1
  232. package/lang/translations/ca.po +1 -1
  233. package/lang/translations/cs.po +1 -1
  234. package/lang/translations/da.po +1 -1
  235. package/lang/translations/de-ch.po +1 -1
  236. package/lang/translations/de.po +1 -1
  237. package/lang/translations/el.po +1 -1
  238. package/lang/translations/en-au.po +1 -1
  239. package/lang/translations/en-gb.po +1 -1
  240. package/lang/translations/en.po +1 -1
  241. package/lang/translations/eo.po +1 -1
  242. package/lang/translations/es-co.po +1 -1
  243. package/lang/translations/es.po +1 -1
  244. package/lang/translations/et.po +1 -1
  245. package/lang/translations/eu.po +1 -1
  246. package/lang/translations/fa.po +1 -1
  247. package/lang/translations/fi.po +1 -1
  248. package/lang/translations/fr.po +1 -1
  249. package/lang/translations/gl.po +1 -1
  250. package/lang/translations/gu.po +1 -1
  251. package/lang/translations/he.po +1 -1
  252. package/lang/translations/hi.po +1 -1
  253. package/lang/translations/hr.po +1 -1
  254. package/lang/translations/hu.po +1 -1
  255. package/lang/translations/hy.po +1 -1
  256. package/lang/translations/id.po +1 -1
  257. package/lang/translations/it.po +1 -1
  258. package/lang/translations/ja.po +1 -1
  259. package/lang/translations/jv.po +1 -1
  260. package/lang/translations/kk.po +1 -1
  261. package/lang/translations/km.po +1 -1
  262. package/lang/translations/kn.po +1 -1
  263. package/lang/translations/ko.po +1 -1
  264. package/lang/translations/ku.po +1 -1
  265. package/lang/translations/lt.po +1 -1
  266. package/lang/translations/lv.po +1 -1
  267. package/lang/translations/ms.po +1 -1
  268. package/lang/translations/nb.po +1 -1
  269. package/lang/translations/ne.po +1 -1
  270. package/lang/translations/nl.po +1 -1
  271. package/lang/translations/no.po +1 -1
  272. package/lang/translations/oc.po +1 -1
  273. package/lang/translations/pl.po +1 -1
  274. package/lang/translations/pt-br.po +1 -1
  275. package/lang/translations/pt.po +1 -1
  276. package/lang/translations/ro.po +1 -1
  277. package/lang/translations/ru.po +1 -1
  278. package/lang/translations/si.po +1 -1
  279. package/lang/translations/sk.po +1 -1
  280. package/lang/translations/sl.po +1 -1
  281. package/lang/translations/sq.po +1 -1
  282. package/lang/translations/sr-latn.po +1 -1
  283. package/lang/translations/sr.po +1 -1
  284. package/lang/translations/sv.po +1 -1
  285. package/lang/translations/th.po +1 -1
  286. package/lang/translations/ti.po +1 -1
  287. package/lang/translations/tk.po +1 -1
  288. package/lang/translations/tr.po +1 -1
  289. package/lang/translations/tt.po +1 -1
  290. package/lang/translations/ug.po +1 -1
  291. package/lang/translations/uk.po +1 -1
  292. package/lang/translations/ur.po +1 -1
  293. package/lang/translations/uz.po +1 -1
  294. package/lang/translations/vi.po +1 -1
  295. package/lang/translations/zh-cn.po +1 -1
  296. package/lang/translations/zh.po +1 -1
  297. package/package.json +29 -7
  298. package/src/augmentation.d.ts +1 -1
  299. package/src/augmentation.js +1 -1
  300. package/src/font.d.ts +1 -1
  301. package/src/font.js +1 -1
  302. package/src/fontbackgroundcolor/fontbackgroundcolorcommand.d.ts +1 -1
  303. package/src/fontbackgroundcolor/fontbackgroundcolorcommand.js +1 -1
  304. package/src/fontbackgroundcolor/fontbackgroundcolorediting.d.ts +1 -1
  305. package/src/fontbackgroundcolor/fontbackgroundcolorediting.js +1 -1
  306. package/src/fontbackgroundcolor/fontbackgroundcolorui.d.ts +1 -1
  307. package/src/fontbackgroundcolor/fontbackgroundcolorui.js +1 -1
  308. package/src/fontbackgroundcolor.d.ts +1 -1
  309. package/src/fontbackgroundcolor.js +1 -1
  310. package/src/fontcolor/fontcolorcommand.d.ts +1 -1
  311. package/src/fontcolor/fontcolorcommand.js +1 -1
  312. package/src/fontcolor/fontcolorediting.d.ts +1 -1
  313. package/src/fontcolor/fontcolorediting.js +1 -1
  314. package/src/fontcolor/fontcolorui.d.ts +1 -1
  315. package/src/fontcolor/fontcolorui.js +1 -1
  316. package/src/fontcolor.d.ts +1 -1
  317. package/src/fontcolor.js +1 -1
  318. package/src/fontcommand.d.ts +1 -1
  319. package/src/fontcommand.js +1 -1
  320. package/src/fontconfig.d.ts +1 -1
  321. package/src/fontconfig.js +1 -1
  322. package/src/fontfamily/fontfamilycommand.d.ts +1 -1
  323. package/src/fontfamily/fontfamilycommand.js +1 -1
  324. package/src/fontfamily/fontfamilyediting.d.ts +1 -1
  325. package/src/fontfamily/fontfamilyediting.js +1 -1
  326. package/src/fontfamily/fontfamilyui.d.ts +1 -1
  327. package/src/fontfamily/fontfamilyui.js +1 -1
  328. package/src/fontfamily/utils.d.ts +1 -1
  329. package/src/fontfamily/utils.js +1 -1
  330. package/src/fontfamily.d.ts +1 -1
  331. package/src/fontfamily.js +1 -1
  332. package/src/fontsize/fontsizecommand.d.ts +1 -1
  333. package/src/fontsize/fontsizecommand.js +1 -1
  334. package/src/fontsize/fontsizeediting.d.ts +1 -1
  335. package/src/fontsize/fontsizeediting.js +1 -1
  336. package/src/fontsize/fontsizeui.d.ts +1 -1
  337. package/src/fontsize/fontsizeui.js +1 -1
  338. package/src/fontsize/utils.d.ts +1 -1
  339. package/src/fontsize/utils.js +1 -1
  340. package/src/fontsize.d.ts +1 -1
  341. package/src/fontsize.js +1 -1
  342. package/src/index.d.ts +2 -2
  343. package/src/index.js +1 -1
  344. package/src/ui/colorui.d.ts +1 -1
  345. package/src/ui/colorui.js +1 -1
  346. package/src/utils.d.ts +1 -1
  347. package/src/utils.js +1 -1
  348. package/theme/fontsize.css +1 -1
  349. package/dist/augmentation.d.ts +0 -62
  350. package/dist/font.d.ts +0 -41
  351. package/dist/fontbackgroundcolor/fontbackgroundcolorcommand.d.ts +0 -30
  352. package/dist/fontbackgroundcolor/fontbackgroundcolorediting.d.ts +0 -34
  353. package/dist/fontbackgroundcolor/fontbackgroundcolorui.d.ts +0 -26
  354. package/dist/fontbackgroundcolor.d.ts +0 -38
  355. package/dist/fontcolor/fontcolorcommand.d.ts +0 -29
  356. package/dist/fontcolor/fontcolorediting.d.ts +0 -34
  357. package/dist/fontcolor/fontcolorui.d.ts +0 -26
  358. package/dist/fontcolor.d.ts +0 -37
  359. package/dist/fontcommand.d.ts +0 -52
  360. package/dist/fontconfig.d.ts +0 -377
  361. package/dist/fontfamily/fontfamilycommand.d.ts +0 -29
  362. package/dist/fontfamily/fontfamilyediting.d.ts +0 -47
  363. package/dist/fontfamily/fontfamilyui.d.ts +0 -38
  364. package/dist/fontfamily/utils.d.ts +0 -19
  365. package/dist/fontfamily.d.ts +0 -37
  366. package/dist/fontsize/fontsizecommand.d.ts +0 -29
  367. package/dist/fontsize/fontsizeediting.d.ts +0 -52
  368. package/dist/fontsize/fontsizeui.d.ts +0 -39
  369. package/dist/fontsize/utils.d.ts +0 -16
  370. package/dist/fontsize.d.ts +0 -45
  371. package/dist/index.d.ts +0 -31
  372. package/dist/ui/colorui.d.ts +0 -67
  373. package/dist/utils.d.ts +0 -84
package/LICENSE.md CHANGED
@@ -2,7 +2,7 @@ Software License Agreement
2
2
  ==========================
3
3
 
4
4
  **CKEditor&nbsp;5 Font feature** (https://github.com/ckeditor/ckeditor5)<br>
5
- Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
5
+ Copyright (c) 2003–2025, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
6
 
7
7
  Licensed under a dual-license model, this software is available under:
8
8
 
package/build/font.js CHANGED
@@ -1,5 +1,5 @@
1
1
  !function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{Big:"Big",Default:"Default","Document colors":"Document colors","Font Background Color":"Font Background Color","Font Color":"Font Color","Font Family":"Font Family","Font Size":"Font Size",Huge:"Huge",Small:"Small",Tiny:"Tiny"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
2
2
  /*!
3
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
5
  */(()=>{var e={485:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(758),r=o.n(n),i=o(935),l=o.n(i)()(r());l.push([e.id,".ck-content .text-tiny{font-size:.7em}.ck-content .text-small{font-size:.85em}.ck-content .text-big{font-size:1.4em}.ck-content .text-huge{font-size:1.8em}",""]);const s=l},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,n,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var l={};if(n)for(var s=0;s<this.length;s++){var a=this[s][0];null!=a&&(l[a]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);n&&l[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),o&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=o):u[2]=o),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},758:e=>{"use strict";e.exports=function(e){return e[1]}},591:e=>{"use strict";var t=[];function o(e){for(var o=-1,n=0;n<t.length;n++)if(t[n].identifier===e){o=n;break}return o}function n(e,n){for(var i={},l=[],s=0;s<e.length;s++){var a=e[s],c=n.base?a[0]+n.base:a[0],u=i[c]||0,d="".concat(c," ").concat(u);i[c]=u+1;var m=o(d),p={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==m)t[m].references++,t[m].updater(p);else{var g=r(p,n);n.byIndex=s,t.splice(s,0,{identifier:d,updater:g,references:1})}l.push(d)}return l}function r(e,t){var o=t.domAPI(t);o.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;o.update(e=t)}else o.remove()}}e.exports=function(e,r){var i=n(e=e||[],r=r||{});return function(e){e=e||[];for(var l=0;l<i.length;l++){var s=o(i[l]);t[s].references--}for(var a=n(e,r),c=0;c<i.length;c++){var u=o(i[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=a}}},128:e=>{"use strict";var t={};e.exports=function(e,o){var n=function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(o)}},51:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},21:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach((function(o){e.setAttribute(o,t[o])}))}},639:e=>{"use strict";var t,o=(t=[],function(e,o){return t[e]=o,t.filter(Boolean).join("\n")});function n(e,t,n,r){var i;if(n)i="";else{i="",r.supports&&(i+="@supports (".concat(r.supports,") {")),r.media&&(i+="@media ".concat(r.media," {"));var l=void 0!==r.layer;l&&(i+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),i+=r.css,l&&(i+="}"),r.media&&(i+="}"),r.supports&&(i+="}")}if(e.styleSheet)e.styleSheet.cssText=o(t,i);else{var s=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(s,a[t]):e.appendChild(s)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,o=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){n(o,t,!1,e)},remove:function(e){n(o,t,!0,e)}}}},782:(e,t,o)=>{e.exports=o(237)("./src/core.js")},783:(e,t,o)=>{e.exports=o(237)("./src/engine.js")},311:(e,t,o)=>{e.exports=o(237)("./src/ui.js")},584:(e,t,o)=>{e.exports=o(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={id:n,exports:{}};return e[n](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";o.r(n),o.d(n,{Font:()=>X,FontBackgroundColor:()=>Q,FontBackgroundColorEditing:()=>Y,FontBackgroundColorUI:()=>J,FontColor:()=>U,FontColorEditing:()=>R,FontColorUI:()=>q,FontFamily:()=>y,FontFamilyEditing:()=>h,FontFamilyUI:()=>w,FontSize:()=>$,FontSizeEditing:()=>P,FontSizeUI:()=>j});var e=o(782);class t extends e.Command{constructor(e,t){super(e),this.attributeKey=t}refresh(){const e=this.editor.model,t=e.document;this.value=t.selection.getAttribute(this.attributeKey),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,this.attributeKey)}execute(e={}){const t=this.editor.model,o=t.document.selection,n=e.value,r=e.batch,i=e=>{if(o.isCollapsed)n?e.setSelectionAttribute(this.attributeKey,n):e.removeSelectionAttribute(this.attributeKey);else{const r=t.schema.getValidRanges(o.getRanges(),this.attributeKey);for(const t of r)n?e.setAttribute(this.attributeKey,n,t):e.removeAttribute(this.attributeKey,t)}};r?t.enqueueChange(r,(e=>{i(e)})):t.change((e=>{i(e)}))}}var r=o(311);const i="fontSize",l="fontFamily",s="fontColor",a="fontBackgroundColor";function c(e,t){const o={model:{key:e,values:[]},view:{},upcastAlso:{}};for(const e of t)o.model.values.push(e.model),o.view[e.model]=e.view,e.upcastAlso&&(o.upcastAlso[e.model]=e.upcastAlso);return o}function u(e){return t=>t.getStyle(e).replace(/\s/g,"")}function d(e){return(t,{writer:o})=>o.createAttributeElement("span",{style:`${e}:${t}`},{priority:7})}class m extends t{constructor(e){super(e,l)}}function p(e){return e.map(g).filter((e=>void 0!==e))}function g(e){return"object"==typeof e?e:"default"===e?{title:"Default",model:void 0}:"string"==typeof e?function(e){const t=e.replace(/"|'/g,"").split(","),o=t[0],n=t.map(f).join(", ");return{title:o,model:n,view:{name:"span",styles:{"font-family":n},priority:7}}}(e):void 0}function f(e){return(e=e.trim()).indexOf(" ")>0&&(e=`'${e}'`),e}class h extends e.Plugin{static get pluginName(){return"FontFamilyEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(l,{options:["default","Arial, Helvetica, sans-serif","Courier New, Courier, monospace","Georgia, serif","Lucida Sans Unicode, Lucida Grande, sans-serif","Tahoma, Geneva, sans-serif","Times New Roman, Times, serif","Trebuchet MS, Helvetica, sans-serif","Verdana, Geneva, sans-serif"],supportAllValues:!1})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:l}),e.model.schema.setAttributeProperties(l,{isFormatting:!0,copyOnEnter:!0});const t=p(e.config.get("fontFamily.options")).filter((e=>e.model)),o=c(l,t);e.config.get("fontFamily.supportAllValues")?(this._prepareAnyValueConverters(),this._prepareCompatibilityConverter()):e.conversion.attributeToElement(o),e.commands.add(l,new m(e))}_prepareAnyValueConverters(){const e=this.editor;e.conversion.for("downcast").attributeToElement({model:l,view:(e,{writer:t})=>t.createAttributeElement("span",{style:"font-family:"+e},{priority:7})}),e.conversion.for("upcast").elementToAttribute({model:{key:l,value:e=>e.getStyle("font-family")},view:{name:"span",styles:{"font-family":/.*/}}})}_prepareCompatibilityConverter(){this.editor.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{face:/.*/}},model:{key:l,value:e=>e.getAttribute("face")}})}}var b=o(584);const v='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.03 3h6.149a.75.75 0 1 1 0 1.5h-5.514L11.03 3zm1.27 3h4.879a.75.75 0 1 1 0 1.5h-4.244L12.3 6zm1.27 3h3.609a.75.75 0 1 1 0 1.5h-2.973L13.57 9zm-2.754 2.5L8.038 4.785 5.261 11.5h5.555zm.62 1.5H4.641l-1.666 4.028H1.312l5.789-14h1.875l5.789 14h-1.663L11.436 13z"/></svg>';class w extends e.Plugin{static get pluginName(){return"FontFamilyUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t,o=this._getLocalizedOptions(),n=e.commands.get(l),i=t("Font Family"),s=function(e,t){const o=new b.Collection;for(const n of e){const e={type:"button",model:new r.ViewModel({commandName:l,commandParam:n.model,label:n.title,role:"menuitemradio",withText:!0})};e.model.bind("isOn").to(t,"value",(e=>e===n.model||!(!e||!n.model)&&e.split(",")[0].replace(/'/g,"").toLowerCase()===n.model.toLowerCase())),n.view&&"string"!=typeof n.view&&n.view.styles&&e.model.set("labelStyle",`font-family: ${n.view.styles["font-family"]}`),o.add(e)}return o}(o,n);e.ui.componentFactory.add(l,(t=>{const o=(0,r.createDropdown)(t);return(0,r.addListToDropdown)(o,s,{role:"menu",ariaLabel:i}),o.buttonView.set({label:i,icon:v,tooltip:!0}),o.extendTemplate({attributes:{class:"ck-font-family-dropdown"}}),o.bind("isEnabled").to(n),this.listenTo(o,"execute",(t=>{e.execute(t.source.commandName,{value:t.source.commandParam}),e.editing.view.focus()})),o})),e.ui.componentFactory.add(`menuBar:${l}`,(t=>{const o=new r.MenuBarMenuView(t);o.buttonView.set({label:i,icon:v}),o.bind("isEnabled").to(n);const l=new r.MenuBarMenuListView(t);for(const n of s){const i=new r.MenuBarMenuListItemView(t,o),s=new r.MenuBarMenuListItemButtonView(t);s.set({role:"menuitemradio",isToggleable:!0}),s.bind(...Object.keys(n.model)).to(n.model),s.delegate("execute").to(o),s.on("execute",(()=>{e.execute(n.model.commandName,{value:n.model.commandParam}),e.editing.view.focus()})),i.children.add(s),l.items.add(i)}return o.panelView.children.add(l),o}))}_getLocalizedOptions(){const e=this.editor,t=e.t;return p(e.config.get(l).options).map((e=>("Default"===e.title&&(e.title=t("Default")),e)))}}class y extends e.Plugin{static get requires(){return[h,w]}static get pluginName(){return"FontFamily"}static get isOfficialPlugin(){return!0}}var x=o(783);class C extends t{constructor(e){super(e,i)}}function F(e){return e.map((e=>function(e){"number"==typeof e&&(e=String(e));if("object"==typeof e&&(t=e,t.title&&t.model&&t.view))return L(e);var t;const o=function(e){return"string"==typeof e?S[e]:S[e.model]}(e);if(o)return L(o);if("default"===e)return{model:void 0,title:"Default"};if(function(e){let t;if("object"==typeof e){if(!e.model)throw new b.CKEditorError("font-size-invalid-definition",null,e);t=parseFloat(e.model)}else t=parseFloat(e);return isNaN(t)}(e))return;return function(e){"string"==typeof e&&(e={title:e,model:`${parseFloat(e)}px`});return e.view={name:"span",styles:{"font-size":e.model}},L(e)}(e)}(e))).filter((e=>void 0!==e))}const S={get tiny(){return{title:"Tiny",model:"tiny",view:{name:"span",classes:"text-tiny",priority:7}}},get small(){return{title:"Small",model:"small",view:{name:"span",classes:"text-small",priority:7}}},get big(){return{title:"Big",model:"big",view:{name:"span",classes:"text-big",priority:7}}},get huge(){return{title:"Huge",model:"huge",view:{name:"span",classes:"text-huge",priority:7}}}};function L(e){return e.view&&"string"!=typeof e.view&&!e.view.priority&&(e.view.priority=7),e}const B=["x-small","x-small","small","medium","large","x-large","xx-large","xxx-large"];class P extends e.Plugin{static get pluginName(){return"FontSizeEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(i,{options:["tiny","small","default","big","huge"],supportAllValues:!1})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:i}),e.model.schema.setAttributeProperties(i,{isFormatting:!0,copyOnEnter:!0});const t=e.config.get("fontSize.supportAllValues"),o=F(this.editor.config.get("fontSize.options")).filter((e=>e.model)),n=c(i,o);t?(this._prepareAnyValueConverters(n),this._prepareCompatibilityConverter()):e.conversion.attributeToElement(n),e.commands.add(i,new C(e))}_prepareAnyValueConverters(e){const t=this.editor,o=e.model.values.filter((e=>!(0,x.isLength)(String(e))&&!(0,x.isPercentage)(String(e))));if(o.length)throw new b.CKEditorError("font-size-invalid-use-of-named-presets",null,{presets:o});t.conversion.for("downcast").attributeToElement({model:i,view:(e,{writer:t})=>{if(e)return t.createAttributeElement("span",{style:"font-size:"+e},{priority:7})}}),t.conversion.for("upcast").elementToAttribute({model:{key:i,value:e=>e.getStyle("font-size")},view:{name:"span",styles:{"font-size":/.*/}}})}_prepareCompatibilityConverter(){this.editor.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{size:/^[+-]?\d{1,3}$/}},model:{key:i,value:e=>{const t=e.getAttribute("size"),o="-"===t[0]||"+"===t[0];let n=parseInt(t,10);o&&(n=3+n);const r=B.length-1,i=Math.min(Math.max(n,0),r);return B[i]}}})}}var A=o(591),k=o.n(A),z=o(639),O=o.n(z),T=o(128),N=o.n(T),V=o(21),E=o.n(V),M=o(51),D=o.n(M),I=o(485),_={attributes:{"data-cke":!0}};_.setAttributes=E(),_.insert=N().bind(null,"head"),_.domAPI=O(),_.insertStyleElement=D();k()(I.A,_);I.A&&I.A.locals&&I.A.locals;const H='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.816 11.5 7.038 4.785 4.261 11.5h5.555zm.62 1.5H3.641l-1.666 4.028H.312l5.789-14h1.875l5.789 14h-1.663L10.436 13zm7.55 2.279.779-.779.707.707-2.265 2.265-2.193-2.265.707-.707.765.765V4.825c0-.042 0-.083.002-.123l-.77.77-.707-.707L17.207 2.5l2.265 2.265-.707.707-.782-.782c.002.043.003.089.003.135v10.454z"/></svg>';class j extends e.Plugin{static get pluginName(){return"FontSizeUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t,o=this._getLocalizedOptions(),n=e.commands.get(i),l=t("Font Size"),s=function(e,t){const o=new b.Collection;for(const n of e){const e={type:"button",model:new r.ViewModel({commandName:i,commandParam:n.model,label:n.title,class:"ck-fontsize-option",role:"menuitemradio",withText:!0})};n.view&&"string"!=typeof n.view&&(n.view.styles&&e.model.set("labelStyle",`font-size:${n.view.styles["font-size"]}`),n.view.classes&&e.model.set("class",`${e.model.class} ${n.view.classes}`)),e.model.bind("isOn").to(t,"value",(e=>e===n.model)),o.add(e)}return o}(o,n);e.ui.componentFactory.add(i,(t=>{const o=(0,r.createDropdown)(t);return(0,r.addListToDropdown)(o,s,{role:"menu",ariaLabel:l}),o.buttonView.set({label:l,icon:H,tooltip:!0}),o.extendTemplate({attributes:{class:["ck-font-size-dropdown"]}}),o.bind("isEnabled").to(n),this.listenTo(o,"execute",(t=>{e.execute(t.source.commandName,{value:t.source.commandParam}),e.editing.view.focus()})),o})),e.ui.componentFactory.add(`menuBar:${i}`,(t=>{const o=new r.MenuBarMenuView(t);o.buttonView.set({label:l,icon:H}),o.bind("isEnabled").to(n);const i=new r.MenuBarMenuListView(t);for(const n of s){const l=new r.MenuBarMenuListItemView(t,o),s=new r.MenuBarMenuListItemButtonView(t);s.set({role:"menuitemradio",isToggleable:!0}),s.bind(...Object.keys(n.model)).to(n.model),s.delegate("execute").to(o),s.on("execute",(()=>{e.execute(n.model.commandName,{value:n.model.commandParam}),e.editing.view.focus()})),l.children.add(s),i.items.add(l)}return o.panelView.children.add(i),o}))}_getLocalizedOptions(){const e=this.editor,t=e.t,o={Default:t("Default"),Tiny:t("Tiny"),Small:t("Small"),Big:t("Big"),Huge:t("Huge")};return F(e.config.get(i).options).map((e=>{const t=o[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e}))}}class $ extends e.Plugin{static get requires(){return[P,j]}static get pluginName(){return"FontSize"}static get isOfficialPlugin(){return!0}normalizeSizeOptions(e){return F(e)}}class K extends t{constructor(e){super(e,s)}}class R extends e.Plugin{static get pluginName(){return"FontColorEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(s,{colors:[{color:"hsl(0, 0%, 0%)",label:"Black"},{color:"hsl(0, 0%, 30%)",label:"Dim grey"},{color:"hsl(0, 0%, 60%)",label:"Grey"},{color:"hsl(0, 0%, 90%)",label:"Light grey"},{color:"hsl(0, 0%, 100%)",label:"White",hasBorder:!0},{color:"hsl(0, 75%, 60%)",label:"Red"},{color:"hsl(30, 75%, 60%)",label:"Orange"},{color:"hsl(60, 75%, 60%)",label:"Yellow"},{color:"hsl(90, 75%, 60%)",label:"Light green"},{color:"hsl(120, 75%, 60%)",label:"Green"},{color:"hsl(150, 75%, 60%)",label:"Aquamarine"},{color:"hsl(180, 75%, 60%)",label:"Turquoise"},{color:"hsl(210, 75%, 60%)",label:"Light blue"},{color:"hsl(240, 75%, 60%)",label:"Blue"},{color:"hsl(270, 75%, 60%)",label:"Purple"}],columns:5}),e.conversion.for("upcast").elementToAttribute({view:{name:"span",styles:{color:/[\s\S]+/}},model:{key:s,value:u("color")}}),e.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{color:/^#?\w+$/}},model:{key:s,value:e=>e.getAttribute("color")}}),e.conversion.for("downcast").attributeToElement({model:s,view:d("color")}),e.commands.add(s,new K(e)),e.model.schema.extend("$text",{allowAttributes:s}),e.model.schema.setAttributeProperties(s,{isFormatting:!0,copyOnEnter:!0})}}class G extends e.Plugin{constructor(e,{commandName:t,componentName:o,icon:n,dropdownLabel:r}){super(e),this.commandName=t,this.componentName=o,this.icon=n,this.dropdownLabel=r,this.columns=e.config.get(`${this.componentName}.columns`)}init(){const e=this.editor,t=e.locale,o=t.t,n=e.commands.get(this.commandName),i=e.config.get(this.componentName),l=(0,r.normalizeColorOptions)(i.colors),s=(0,r.getLocalizedColorOptions)(t,l),a=i.documentColors,c=!1!==i.colorPicker;e.ui.componentFactory.add(this.componentName,(t=>{const l=(0,r.createDropdown)(t);let u=!1;const d=function({dropdownView:e,colors:t,columns:o,removeButtonLabel:n,colorPickerLabel:i,documentColorsLabel:l,documentColorsCount:s,colorPickerViewConfig:a}){const c=e.locale,u=new r.ColorSelectorView(c,{colors:t,columns:o,removeButtonLabel:n,colorPickerLabel:i,documentColorsLabel:l,documentColorsCount:s,colorPickerViewConfig:a});return e.colorSelectorView=u,e.panelView.children.add(u),u}({dropdownView:l,colors:s.map((e=>({label:e.label,color:e.model,options:{hasBorder:e.hasBorder}}))),columns:this.columns,removeButtonLabel:o("Remove color"),colorPickerLabel:o("Color picker"),documentColorsLabel:0!==a?o("Document colors"):"",documentColorsCount:void 0===a?this.columns:a,colorPickerViewConfig:!!c&&(i.colorPicker||{})});return d.bind("selectedColor").to(n,"value"),l.buttonView.set({label:this.dropdownLabel,icon:this.icon,tooltip:!0}),l.extendTemplate({attributes:{class:"ck-color-ui-dropdown"}}),l.bind("isEnabled").to(n),d.on("execute",((t,o)=>{l.isOpen&&e.execute(this.commandName,{value:o.value,batch:this._undoStepBatch}),"colorPicker"!==o.source&&e.editing.view.focus(),"colorPickerSaveButton"===o.source&&(l.isOpen=!1)})),d.on("colorPicker:show",(()=>{this._undoStepBatch=e.model.createBatch()})),d.on("colorPicker:cancel",(()=>{this._undoStepBatch.operations.length&&(l.isOpen=!1,e.execute("undo",this._undoStepBatch)),e.editing.view.focus()})),l.on("change:isOpen",((t,o,n)=>{u||(u=!0,l.colorSelectorView.appendUI()),n&&(0!==a&&d.updateDocumentColors(e.model,this.componentName),d.updateSelectedColors(),d.showColorGridsFragment())})),(0,r.focusChildOnDropdownOpen)(l,(()=>l.colorSelectorView.colorGridsFragmentView.staticColorsGrid.items.find((e=>e.isOn)))),l})),e.ui.componentFactory.add(`menuBar:${this.componentName}`,(t=>{const i=new r.MenuBarMenuView(t);i.buttonView.set({label:this.dropdownLabel,icon:this.icon}),i.bind("isEnabled").to(n);let l=!1;const c=new r.ColorSelectorView(t,{colors:s.map((e=>({label:e.label,color:e.model,options:{hasBorder:e.hasBorder}}))),columns:this.columns,removeButtonLabel:o("Remove color"),colorPickerLabel:o("Color picker"),documentColorsLabel:0!==a?o("Document colors"):"",documentColorsCount:void 0===a?this.columns:a,colorPickerViewConfig:!1});return c.bind("selectedColor").to(n,"value"),c.delegate("execute").to(i),c.on("execute",((t,o)=>{e.execute(this.commandName,{value:o.value,batch:this._undoStepBatch}),e.editing.view.focus()})),i.on("change:isOpen",((t,o,n)=>{l||(l=!0,c.appendUI()),n&&(0!==a&&c.updateDocumentColors(e.model,this.componentName),c.updateSelectedColors(),c.showColorGridsFragment())})),i.panelView.children.add(c),i}))}}class q extends G{constructor(e){const t=e.locale.t;super(e,{commandName:s,componentName:s,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12.4 10.3 10 4.5l-2.4 5.8h4.8zm.5 1.2H7.1L5.7 15H4.2l5-12h1.6l5 12h-1.5L13 11.5zm3.1 7H4a1 1 0 0 1 0-2h12a1 1 0 0 1 0 2z"/></svg>',dropdownLabel:t("Font Color")})}static get pluginName(){return"FontColorUI"}}class U extends e.Plugin{static get requires(){return[R,q]}static get pluginName(){return"FontColor"}static get isOfficialPlugin(){return!0}}class W extends t{constructor(e){super(e,a)}}class Y extends e.Plugin{static get pluginName(){return"FontBackgroundColorEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(a,{colors:[{color:"hsl(0, 0%, 0%)",label:"Black"},{color:"hsl(0, 0%, 30%)",label:"Dim grey"},{color:"hsl(0, 0%, 60%)",label:"Grey"},{color:"hsl(0, 0%, 90%)",label:"Light grey"},{color:"hsl(0, 0%, 100%)",label:"White",hasBorder:!0},{color:"hsl(0, 75%, 60%)",label:"Red"},{color:"hsl(30, 75%, 60%)",label:"Orange"},{color:"hsl(60, 75%, 60%)",label:"Yellow"},{color:"hsl(90, 75%, 60%)",label:"Light green"},{color:"hsl(120, 75%, 60%)",label:"Green"},{color:"hsl(150, 75%, 60%)",label:"Aquamarine"},{color:"hsl(180, 75%, 60%)",label:"Turquoise"},{color:"hsl(210, 75%, 60%)",label:"Light blue"},{color:"hsl(240, 75%, 60%)",label:"Blue"},{color:"hsl(270, 75%, 60%)",label:"Purple"}],columns:5}),e.data.addStyleProcessorRules(x.addBackgroundRules),e.conversion.for("upcast").elementToAttribute({view:{name:"span",styles:{"background-color":/[\s\S]+/}},model:{key:a,value:u("background-color")}}),e.conversion.for("downcast").attributeToElement({model:a,view:d("background-color")}),e.commands.add(a,new W(e)),e.model.schema.extend("$text",{allowAttributes:a}),e.model.schema.setAttributeProperties(a,{isFormatting:!0,copyOnEnter:!0})}}class J extends G{constructor(e){const t=e.locale.t;super(e,{commandName:a,componentName:a,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4 2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm8.38 9.262H7.62L10 5.506l2.38 5.756zm.532 1.285L14.34 16h1.426L10.804 4H9.196L4.234 16H5.66l1.428-3.453h5.824z"/></svg>',dropdownLabel:t("Font Background Color")})}static get pluginName(){return"FontBackgroundColorUI"}}class Q extends e.Plugin{static get requires(){return[Y,J]}static get pluginName(){return"FontBackgroundColor"}static get isOfficialPlugin(){return!0}}class X extends e.Plugin{static get requires(){return[y,$,U,Q]}static get pluginName(){return"Font"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).font=n})();
@@ -1,6 +1,6 @@
1
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
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  .ck-content .text-tiny{
6
6
  font-size:.7em;
@@ -1,4 +1,4 @@
1
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
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
package/dist/index.css CHANGED
@@ -1,9 +1,9 @@
1
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
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /*
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../theme/fontsize.css","index.css"],"names":[],"mappings":";;;;AAAA,CAAA;ACCA,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ;AAC3E,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC;AAClF,CAAC,CDAC;;AAEF,CAAA,CAAA,CAAA,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,CAAA,YAAA,CAAA,IAAA,CAAA,GAAA,CAAA,CAAA,sBAAA,CAAA,CAAA,MAAA,CAAA,EAAA,CAAA,GAAA,CAAA,CAAA,CAAA,GAAA,CAAA,QAAA,CAAA,KAAA,CAAA,EAAA,CAAA,CAAA,IAAA,CAAA,CAAA,CAAqH;;AAErH,CAAA,CAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,CAAA,QAAA,CAAA,IAAA,CAAA,GAAA,CAAA,CAAA,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,KAAA;ACCA,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,CDAC;AAEtD,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,IAAA,CAAA;ACAD,CAAC,CDCC,IAAA,CAAA,IAAA,CAAA,CAAA,CAAA,GAAe;ACAjB,CDCC;AAEA,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,KAAA,CAAA;ACDD,CAAC,CDEC,IAAA,CAAA,IAAA,CAAA,CAAA,CAAA,IAAgB;ACDlB,CDEC;AAEA,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,GAAA,CAAA;ACFD,CAAC,CDGC,IAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA,GAAgB;ACFlB,CDGC;AAEA,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,IAAA,CAAA;ACHD,CAAC,CDIC,IAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA,GAAgB;ACHlB,CDIC;;ACFD,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* The values should be synchronized with the \"FONT_SIZE_PRESET_UNITS\" object in the \"/src/fontsize/utils.js\" file. */\n\n/* Styles should be prefixed with the `.ck-content` class.\nSee https://github.com/ckeditor/ckeditor5/issues/6636 */\n.ck-content {\n\t& .text-tiny {\n\t\tfont-size: .7em;\n\t}\n\n\t& .text-small {\n\t\tfont-size: .85em;\n\t}\n\n\t& .text-big {\n\t\tfont-size: 1.4em;\n\t}\n\n\t& .text-huge {\n\t\tfont-size: 1.8em;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* The values should be synchronized with the \"FONT_SIZE_PRESET_UNITS\" object in the \"/src/fontsize/utils.js\" file. */\n\n/* Styles should be prefixed with the `.ck-content` class.\nSee https://github.com/ckeditor/ckeditor5/issues/6636 */\n.ck-content .text-tiny {\n\t\tfont-size: .7em;\n\t}\n.ck-content .text-small {\n\t\tfont-size: .85em;\n\t}\n.ck-content .text-big {\n\t\tfont-size: 1.4em;\n\t}\n.ck-content .text-huge {\n\t\tfont-size: 1.8em;\n\t}\n\n/*# sourceMappingURL=index.css.map */"]}
1
+ {"version":3,"sources":["../theme/fontsize.css","index.css"],"names":[],"mappings":";;;;AAAA,CAAA;ACCA,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ;AAC3E,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC;AAClF,CAAC,CDAC;;AAEF,CAAA,CAAA,CAAA,GAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,CAAA,YAAA,CAAA,IAAA,CAAA,GAAA,CAAA,CAAA,sBAAA,CAAA,CAAA,MAAA,CAAA,EAAA,CAAA,GAAA,CAAA,CAAA,CAAA,GAAA,CAAA,QAAA,CAAA,KAAA,CAAA,EAAA,CAAA,CAAA,IAAA,CAAA,CAAA,CAAqH;;AAErH,CAAA,CAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,CAAA,QAAA,CAAA,IAAA,CAAA,GAAA,CAAA,CAAA,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,KAAA;ACCA,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,CDAC;AAEtD,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,IAAA,CAAA;ACAD,CAAC,CDCC,IAAA,CAAA,IAAA,CAAA,CAAA,CAAA,GAAe;ACAjB,CDCC;AAEA,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,KAAA,CAAA;ACDD,CAAC,CDEC,IAAA,CAAA,IAAA,CAAA,CAAA,CAAA,IAAgB;ACDlB,CDEC;AAEA,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,GAAA,CAAA;ACFD,CAAC,CDGC,IAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA,GAAgB;ACFlB,CDGC;AAEA,CAAA,EAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,IAAA,CAAA;ACHD,CAAC,CDIC,IAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA,GAAgB;ACHlB,CDIC;;ACFD,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* The values should be synchronized with the \"FONT_SIZE_PRESET_UNITS\" object in the \"/src/fontsize/utils.js\" file. */\n\n/* Styles should be prefixed with the `.ck-content` class.\nSee https://github.com/ckeditor/ckeditor5/issues/6636 */\n.ck-content {\n\t& .text-tiny {\n\t\tfont-size: .7em;\n\t}\n\n\t& .text-small {\n\t\tfont-size: .85em;\n\t}\n\n\t& .text-big {\n\t\tfont-size: 1.4em;\n\t}\n\n\t& .text-huge {\n\t\tfont-size: 1.8em;\n\t}\n}\n","/*\n * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* The values should be synchronized with the \"FONT_SIZE_PRESET_UNITS\" object in the \"/src/fontsize/utils.js\" file. */\n\n/* Styles should be prefixed with the `.ck-content` class.\nSee https://github.com/ckeditor/ckeditor5/issues/6636 */\n.ck-content .text-tiny {\n\t\tfont-size: .7em;\n\t}\n.ck-content .text-small {\n\t\tfont-size: .85em;\n\t}\n.ck-content .text-big {\n\t\tfont-size: 1.4em;\n\t}\n.ck-content .text-huge {\n\t\tfont-size: 1.8em;\n\t}\n\n/*# sourceMappingURL=index.css.map */"]}
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
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
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import { Command, Plugin } from '@ckeditor/ckeditor5-core/dist/index.js';
6
6
  import { ColorSelectorView, createDropdown, addListToDropdown, MenuBarMenuView, MenuBarMenuListView, MenuBarMenuListItemView, MenuBarMenuListItemButtonView, ViewModel, normalizeColorOptions, getLocalizedColorOptions, focusChildOnDropdownOpen } from '@ckeditor/ckeditor5-ui/dist/index.js';
@@ -178,7 +178,7 @@ import { isLength, isPercentage, addBackgroundRules } from '@ckeditor/ckeditor5-
178
178
  }
179
179
 
180
180
  /**
181
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
181
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
182
182
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
183
183
  */ /**
184
184
  * @module font/fontfamily/utils