@ckeditor/ckeditor5-basic-styles 0.0.0-internal-20241017.0 → 0.0.0-internal-20251210.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 (387) hide show
  1. package/LICENSE.md +11 -6
  2. package/README.md +19 -8
  3. package/build/basic-styles.js +2 -2
  4. package/build/translations/be.js +1 -0
  5. package/build/translations/kk.js +1 -0
  6. package/ckeditor5-metadata.json +7 -7
  7. package/dist/index-content.css +2 -2
  8. package/dist/index-editor.css +2 -2
  9. package/dist/index.css +4 -4
  10. package/dist/index.css.map +1 -1
  11. package/dist/index.js +19 -33
  12. package/dist/index.js.map +1 -1
  13. package/dist/translations/af.d.ts +2 -2
  14. package/dist/translations/af.js +2 -2
  15. package/dist/translations/af.umd.js +2 -2
  16. package/dist/translations/ar.d.ts +2 -2
  17. package/dist/translations/ar.js +3 -3
  18. package/dist/translations/ar.umd.js +3 -3
  19. package/dist/translations/ast.d.ts +2 -2
  20. package/dist/translations/ast.js +2 -2
  21. package/dist/translations/ast.umd.js +2 -2
  22. package/dist/translations/az.d.ts +2 -2
  23. package/dist/translations/az.js +2 -2
  24. package/dist/translations/az.umd.js +2 -2
  25. package/dist/translations/be.d.ts +8 -0
  26. package/dist/translations/be.js +5 -0
  27. package/dist/translations/be.umd.js +11 -0
  28. package/dist/translations/bg.d.ts +2 -2
  29. package/dist/translations/bg.js +2 -2
  30. package/dist/translations/bg.umd.js +2 -2
  31. package/dist/translations/bn.d.ts +2 -2
  32. package/dist/translations/bn.js +2 -2
  33. package/dist/translations/bn.umd.js +2 -2
  34. package/dist/translations/bs.d.ts +2 -2
  35. package/dist/translations/bs.js +3 -3
  36. package/dist/translations/bs.umd.js +3 -3
  37. package/dist/translations/ca.d.ts +2 -2
  38. package/dist/translations/ca.js +2 -2
  39. package/dist/translations/ca.umd.js +2 -2
  40. package/dist/translations/cs.d.ts +2 -2
  41. package/dist/translations/cs.js +3 -3
  42. package/dist/translations/cs.umd.js +3 -3
  43. package/dist/translations/da.d.ts +2 -2
  44. package/dist/translations/da.js +2 -2
  45. package/dist/translations/da.umd.js +2 -2
  46. package/dist/translations/de-ch.d.ts +2 -2
  47. package/dist/translations/de-ch.js +2 -2
  48. package/dist/translations/de-ch.umd.js +2 -2
  49. package/dist/translations/de.d.ts +2 -2
  50. package/dist/translations/de.js +2 -2
  51. package/dist/translations/de.umd.js +2 -2
  52. package/dist/translations/el.d.ts +2 -2
  53. package/dist/translations/el.js +2 -2
  54. package/dist/translations/el.umd.js +2 -2
  55. package/dist/translations/en-au.d.ts +2 -2
  56. package/dist/translations/en-au.js +2 -2
  57. package/dist/translations/en-au.umd.js +2 -2
  58. package/dist/translations/en-gb.d.ts +2 -2
  59. package/dist/translations/en-gb.js +2 -2
  60. package/dist/translations/en-gb.umd.js +2 -2
  61. package/dist/translations/en.d.ts +2 -2
  62. package/dist/translations/en.js +3 -3
  63. package/dist/translations/en.umd.js +3 -3
  64. package/dist/translations/eo.d.ts +2 -2
  65. package/dist/translations/eo.js +2 -2
  66. package/dist/translations/eo.umd.js +2 -2
  67. package/dist/translations/es-co.d.ts +2 -2
  68. package/dist/translations/es-co.js +3 -3
  69. package/dist/translations/es-co.umd.js +3 -3
  70. package/dist/translations/es.d.ts +2 -2
  71. package/dist/translations/es.js +3 -3
  72. package/dist/translations/es.umd.js +3 -3
  73. package/dist/translations/et.d.ts +2 -2
  74. package/dist/translations/et.js +2 -2
  75. package/dist/translations/et.umd.js +2 -2
  76. package/dist/translations/eu.d.ts +2 -2
  77. package/dist/translations/eu.js +2 -2
  78. package/dist/translations/eu.umd.js +2 -2
  79. package/dist/translations/fa.d.ts +2 -2
  80. package/dist/translations/fa.js +3 -3
  81. package/dist/translations/fa.umd.js +3 -3
  82. package/dist/translations/fi.d.ts +2 -2
  83. package/dist/translations/fi.js +2 -2
  84. package/dist/translations/fi.umd.js +2 -2
  85. package/dist/translations/fr.d.ts +2 -2
  86. package/dist/translations/fr.js +3 -3
  87. package/dist/translations/fr.umd.js +3 -3
  88. package/dist/translations/gl.d.ts +2 -2
  89. package/dist/translations/gl.js +2 -2
  90. package/dist/translations/gl.umd.js +2 -2
  91. package/dist/translations/gu.d.ts +2 -2
  92. package/dist/translations/gu.js +2 -2
  93. package/dist/translations/gu.umd.js +2 -2
  94. package/dist/translations/he.d.ts +2 -2
  95. package/dist/translations/he.js +3 -3
  96. package/dist/translations/he.umd.js +3 -3
  97. package/dist/translations/hi.d.ts +2 -2
  98. package/dist/translations/hi.js +2 -2
  99. package/dist/translations/hi.umd.js +2 -2
  100. package/dist/translations/hr.d.ts +2 -2
  101. package/dist/translations/hr.js +3 -3
  102. package/dist/translations/hr.umd.js +3 -3
  103. package/dist/translations/hu.d.ts +2 -2
  104. package/dist/translations/hu.js +2 -2
  105. package/dist/translations/hu.umd.js +2 -2
  106. package/dist/translations/hy.d.ts +2 -2
  107. package/dist/translations/hy.js +2 -2
  108. package/dist/translations/hy.umd.js +2 -2
  109. package/dist/translations/id.d.ts +2 -2
  110. package/dist/translations/id.js +2 -2
  111. package/dist/translations/id.umd.js +2 -2
  112. package/dist/translations/it.d.ts +2 -2
  113. package/dist/translations/it.js +3 -3
  114. package/dist/translations/it.umd.js +3 -3
  115. package/dist/translations/ja.d.ts +2 -2
  116. package/dist/translations/ja.js +2 -2
  117. package/dist/translations/ja.umd.js +2 -2
  118. package/dist/translations/jv.d.ts +2 -2
  119. package/dist/translations/jv.js +3 -3
  120. package/dist/translations/jv.umd.js +3 -3
  121. package/dist/translations/kk.d.ts +8 -0
  122. package/dist/translations/kk.js +5 -0
  123. package/dist/translations/kk.umd.js +11 -0
  124. package/dist/translations/km.d.ts +2 -2
  125. package/dist/translations/km.js +2 -2
  126. package/dist/translations/km.umd.js +2 -2
  127. package/dist/translations/kn.d.ts +2 -2
  128. package/dist/translations/kn.js +3 -3
  129. package/dist/translations/kn.umd.js +3 -3
  130. package/dist/translations/ko.d.ts +2 -2
  131. package/dist/translations/ko.js +2 -2
  132. package/dist/translations/ko.umd.js +2 -2
  133. package/dist/translations/ku.d.ts +2 -2
  134. package/dist/translations/ku.js +2 -2
  135. package/dist/translations/ku.umd.js +2 -2
  136. package/dist/translations/lt.d.ts +2 -2
  137. package/dist/translations/lt.js +3 -3
  138. package/dist/translations/lt.umd.js +3 -3
  139. package/dist/translations/lv.d.ts +2 -2
  140. package/dist/translations/lv.js +3 -3
  141. package/dist/translations/lv.umd.js +3 -3
  142. package/dist/translations/ms.d.ts +2 -2
  143. package/dist/translations/ms.js +2 -2
  144. package/dist/translations/ms.umd.js +2 -2
  145. package/dist/translations/nb.d.ts +2 -2
  146. package/dist/translations/nb.js +2 -2
  147. package/dist/translations/nb.umd.js +2 -2
  148. package/dist/translations/ne.d.ts +2 -2
  149. package/dist/translations/ne.js +2 -2
  150. package/dist/translations/ne.umd.js +2 -2
  151. package/dist/translations/nl.d.ts +2 -2
  152. package/dist/translations/nl.js +2 -2
  153. package/dist/translations/nl.umd.js +2 -2
  154. package/dist/translations/no.d.ts +2 -2
  155. package/dist/translations/no.js +2 -2
  156. package/dist/translations/no.umd.js +2 -2
  157. package/dist/translations/oc.d.ts +2 -2
  158. package/dist/translations/oc.js +2 -2
  159. package/dist/translations/oc.umd.js +2 -2
  160. package/dist/translations/pl.d.ts +2 -2
  161. package/dist/translations/pl.js +3 -3
  162. package/dist/translations/pl.umd.js +3 -3
  163. package/dist/translations/pt-br.d.ts +2 -2
  164. package/dist/translations/pt-br.js +3 -3
  165. package/dist/translations/pt-br.umd.js +3 -3
  166. package/dist/translations/pt.d.ts +2 -2
  167. package/dist/translations/pt.js +3 -3
  168. package/dist/translations/pt.umd.js +3 -3
  169. package/dist/translations/ro.d.ts +2 -2
  170. package/dist/translations/ro.js +3 -3
  171. package/dist/translations/ro.umd.js +3 -3
  172. package/dist/translations/ru.d.ts +2 -2
  173. package/dist/translations/ru.js +3 -3
  174. package/dist/translations/ru.umd.js +3 -3
  175. package/dist/translations/si.d.ts +2 -2
  176. package/dist/translations/si.js +2 -2
  177. package/dist/translations/si.umd.js +2 -2
  178. package/dist/translations/sk.d.ts +2 -2
  179. package/dist/translations/sk.js +3 -3
  180. package/dist/translations/sk.umd.js +3 -3
  181. package/dist/translations/sl.d.ts +2 -2
  182. package/dist/translations/sl.js +3 -3
  183. package/dist/translations/sl.umd.js +3 -3
  184. package/dist/translations/sq.d.ts +2 -2
  185. package/dist/translations/sq.js +2 -2
  186. package/dist/translations/sq.umd.js +2 -2
  187. package/dist/translations/sr-latn.d.ts +2 -2
  188. package/dist/translations/sr-latn.js +3 -3
  189. package/dist/translations/sr-latn.umd.js +3 -3
  190. package/dist/translations/sr.d.ts +2 -2
  191. package/dist/translations/sr.js +3 -3
  192. package/dist/translations/sr.umd.js +3 -3
  193. package/dist/translations/sv.d.ts +2 -2
  194. package/dist/translations/sv.js +2 -2
  195. package/dist/translations/sv.umd.js +2 -2
  196. package/dist/translations/th.d.ts +2 -2
  197. package/dist/translations/th.js +2 -2
  198. package/dist/translations/th.umd.js +2 -2
  199. package/dist/translations/ti.d.ts +2 -2
  200. package/dist/translations/ti.js +2 -2
  201. package/dist/translations/ti.umd.js +2 -2
  202. package/dist/translations/tk.d.ts +2 -2
  203. package/dist/translations/tk.js +2 -2
  204. package/dist/translations/tk.umd.js +2 -2
  205. package/dist/translations/tr.d.ts +2 -2
  206. package/dist/translations/tr.js +2 -2
  207. package/dist/translations/tr.umd.js +2 -2
  208. package/dist/translations/tt.d.ts +2 -2
  209. package/dist/translations/tt.js +2 -2
  210. package/dist/translations/tt.umd.js +2 -2
  211. package/dist/translations/ug.d.ts +2 -2
  212. package/dist/translations/ug.js +3 -3
  213. package/dist/translations/ug.umd.js +3 -3
  214. package/dist/translations/uk.d.ts +2 -2
  215. package/dist/translations/uk.js +3 -3
  216. package/dist/translations/uk.umd.js +3 -3
  217. package/dist/translations/ur.d.ts +2 -2
  218. package/dist/translations/ur.js +2 -2
  219. package/dist/translations/ur.umd.js +2 -2
  220. package/dist/translations/uz.d.ts +2 -2
  221. package/dist/translations/uz.js +3 -3
  222. package/dist/translations/uz.umd.js +3 -3
  223. package/dist/translations/vi.d.ts +2 -2
  224. package/dist/translations/vi.js +2 -2
  225. package/dist/translations/vi.umd.js +2 -2
  226. package/dist/translations/zh-cn.d.ts +2 -2
  227. package/dist/translations/zh-cn.js +2 -2
  228. package/dist/translations/zh-cn.umd.js +2 -2
  229. package/dist/translations/zh.d.ts +2 -2
  230. package/dist/translations/zh.js +2 -2
  231. package/dist/translations/zh.umd.js +2 -2
  232. package/lang/translations/af.po +4 -10
  233. package/lang/translations/ar.po +5 -11
  234. package/lang/translations/ast.po +4 -10
  235. package/lang/translations/az.po +4 -10
  236. package/lang/translations/be.po +60 -0
  237. package/lang/translations/bg.po +4 -10
  238. package/lang/translations/bn.po +4 -10
  239. package/lang/translations/bs.po +5 -11
  240. package/lang/translations/ca.po +4 -10
  241. package/lang/translations/cs.po +5 -11
  242. package/lang/translations/da.po +4 -10
  243. package/lang/translations/de-ch.po +4 -10
  244. package/lang/translations/de.po +4 -10
  245. package/lang/translations/el.po +4 -10
  246. package/lang/translations/en-au.po +4 -10
  247. package/lang/translations/en-gb.po +4 -10
  248. package/lang/translations/en.po +6 -12
  249. package/lang/translations/eo.po +4 -10
  250. package/lang/translations/es-co.po +5 -11
  251. package/lang/translations/es.po +5 -11
  252. package/lang/translations/et.po +4 -10
  253. package/lang/translations/eu.po +4 -10
  254. package/lang/translations/fa.po +5 -11
  255. package/lang/translations/fi.po +4 -10
  256. package/lang/translations/fr.po +5 -11
  257. package/lang/translations/gl.po +4 -10
  258. package/lang/translations/gu.po +4 -10
  259. package/lang/translations/he.po +5 -11
  260. package/lang/translations/hi.po +4 -10
  261. package/lang/translations/hr.po +5 -11
  262. package/lang/translations/hu.po +4 -10
  263. package/lang/translations/hy.po +4 -10
  264. package/lang/translations/id.po +4 -10
  265. package/lang/translations/it.po +5 -11
  266. package/lang/translations/ja.po +4 -10
  267. package/lang/translations/jv.po +5 -11
  268. package/lang/translations/kk.po +60 -0
  269. package/lang/translations/km.po +4 -10
  270. package/lang/translations/kn.po +5 -11
  271. package/lang/translations/ko.po +4 -10
  272. package/lang/translations/ku.po +4 -10
  273. package/lang/translations/lt.po +5 -11
  274. package/lang/translations/lv.po +5 -11
  275. package/lang/translations/ms.po +4 -10
  276. package/lang/translations/nb.po +4 -10
  277. package/lang/translations/ne.po +4 -10
  278. package/lang/translations/nl.po +4 -10
  279. package/lang/translations/no.po +4 -10
  280. package/lang/translations/oc.po +4 -10
  281. package/lang/translations/pl.po +5 -11
  282. package/lang/translations/pt-br.po +5 -11
  283. package/lang/translations/pt.po +5 -11
  284. package/lang/translations/ro.po +5 -11
  285. package/lang/translations/ru.po +5 -11
  286. package/lang/translations/si.po +4 -10
  287. package/lang/translations/sk.po +5 -11
  288. package/lang/translations/sl.po +5 -11
  289. package/lang/translations/sq.po +4 -10
  290. package/lang/translations/sr-latn.po +5 -11
  291. package/lang/translations/sr.po +5 -11
  292. package/lang/translations/sv.po +4 -10
  293. package/lang/translations/th.po +4 -10
  294. package/lang/translations/ti.po +4 -10
  295. package/lang/translations/tk.po +4 -10
  296. package/lang/translations/tr.po +4 -10
  297. package/lang/translations/tt.po +4 -10
  298. package/lang/translations/ug.po +5 -11
  299. package/lang/translations/uk.po +5 -11
  300. package/lang/translations/ur.po +4 -10
  301. package/lang/translations/uz.po +5 -11
  302. package/lang/translations/vi.po +4 -10
  303. package/lang/translations/zh-cn.po +4 -10
  304. package/lang/translations/zh.po +4 -10
  305. package/package.json +31 -7
  306. package/src/attributecommand.d.ts +8 -8
  307. package/src/attributecommand.js +11 -7
  308. package/src/augmentation.d.ts +2 -2
  309. package/src/augmentation.js +2 -2
  310. package/src/bold/boldediting.d.ts +3 -3
  311. package/src/bold/boldediting.js +4 -4
  312. package/src/bold/boldui.d.ts +3 -3
  313. package/src/bold/boldui.js +6 -5
  314. package/src/bold.d.ts +5 -5
  315. package/src/bold.js +5 -5
  316. package/src/code/codeediting.d.ts +3 -3
  317. package/src/code/codeediting.js +5 -10
  318. package/src/code/codeui.d.ts +3 -3
  319. package/src/code/codeui.js +5 -5
  320. package/src/code.d.ts +5 -5
  321. package/src/code.js +5 -5
  322. package/src/index.d.ts +25 -24
  323. package/src/index.js +25 -24
  324. package/src/italic/italicediting.d.ts +3 -3
  325. package/src/italic/italicediting.js +4 -4
  326. package/src/italic/italicui.d.ts +3 -3
  327. package/src/italic/italicui.js +5 -5
  328. package/src/italic.d.ts +5 -5
  329. package/src/italic.js +5 -5
  330. package/src/strikethrough/strikethroughediting.d.ts +3 -3
  331. package/src/strikethrough/strikethroughediting.js +4 -4
  332. package/src/strikethrough/strikethroughui.d.ts +3 -3
  333. package/src/strikethrough/strikethroughui.js +5 -5
  334. package/src/strikethrough.d.ts +5 -5
  335. package/src/strikethrough.js +5 -5
  336. package/src/subscript/subscriptediting.d.ts +3 -3
  337. package/src/subscript/subscriptediting.js +4 -4
  338. package/src/subscript/subscriptui.d.ts +3 -3
  339. package/src/subscript/subscriptui.js +5 -5
  340. package/src/subscript.d.ts +5 -5
  341. package/src/subscript.js +5 -5
  342. package/src/superscript/superscriptediting.d.ts +3 -3
  343. package/src/superscript/superscriptediting.js +4 -4
  344. package/src/superscript/superscriptui.d.ts +3 -3
  345. package/src/superscript/superscriptui.js +5 -5
  346. package/src/superscript.d.ts +5 -5
  347. package/src/superscript.js +5 -5
  348. package/src/underline/underlineediting.d.ts +3 -3
  349. package/src/underline/underlineediting.js +4 -4
  350. package/src/underline/underlineui.d.ts +3 -3
  351. package/src/underline/underlineui.js +5 -5
  352. package/src/underline.d.ts +5 -5
  353. package/src/underline.js +5 -5
  354. package/src/utils.d.ts +4 -2
  355. package/src/utils.js +4 -2
  356. package/theme/code.css +2 -2
  357. package/dist/attributecommand.d.ts +0 -78
  358. package/dist/augmentation.d.ts +0 -44
  359. package/dist/bold/boldediting.d.ts +0 -32
  360. package/dist/bold/boldui.d.ts +0 -29
  361. package/dist/bold.d.ts +0 -37
  362. package/dist/code/codeediting.d.ts +0 -37
  363. package/dist/code/codeui.d.ts +0 -30
  364. package/dist/code.d.ts +0 -38
  365. package/dist/index.d.ts +0 -34
  366. package/dist/italic/italicediting.d.ts +0 -32
  367. package/dist/italic/italicui.d.ts +0 -29
  368. package/dist/italic.d.ts +0 -37
  369. package/dist/strikethrough/strikethroughediting.d.ts +0 -33
  370. package/dist/strikethrough/strikethroughui.d.ts +0 -29
  371. package/dist/strikethrough.d.ts +0 -37
  372. package/dist/subscript/subscriptediting.d.ts +0 -32
  373. package/dist/subscript/subscriptui.d.ts +0 -29
  374. package/dist/subscript.d.ts +0 -34
  375. package/dist/superscript/superscriptediting.d.ts +0 -32
  376. package/dist/superscript/superscriptui.d.ts +0 -29
  377. package/dist/superscript.d.ts +0 -34
  378. package/dist/underline/underlineediting.d.ts +0 -32
  379. package/dist/underline/underlineui.d.ts +0 -29
  380. package/dist/underline.d.ts +0 -37
  381. package/dist/utils.d.ts +0 -24
  382. package/theme/icons/code.svg +0 -1
  383. package/theme/icons/italic.svg +0 -1
  384. package/theme/icons/strikethrough.svg +0 -1
  385. package/theme/icons/subscript.svg +0 -1
  386. package/theme/icons/superscript.svg +0 -1
  387. package/theme/icons/underline.svg +0 -1
package/LICENSE.md CHANGED
@@ -1,15 +1,20 @@
1
1
  Software License Agreement
2
2
  ==========================
3
3
 
4
- **CKEditor&nbsp;5 basic styles feature** – https://github.com/ckeditor/ckeditor5-basic-styles <br>
5
- Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
4
+ **CKEditor&nbsp;5 Basic styles feature** (https://github.com/ckeditor/ckeditor5)<br>
5
+ Copyright (c) 2003–2025, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
6
 
7
- Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
7
+ Licensed under a dual-license model, this software is available under:
8
8
 
9
- Sources of Intellectual Property Included in CKEditor
10
- -----------------------------------------------------
9
+ * the [GNU General Public License Version 2 or later](https://www.gnu.org/licenses/gpl.html),
10
+ * or commercial license terms from CKSource Holding sp. z o.o.
11
11
 
12
- Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission.
12
+ For more information, see: [https://ckeditor.com/legal/ckeditor-licensing-options](https://ckeditor.com/legal/ckeditor-licensing-options).
13
+
14
+ Sources of Intellectual Property Included in CKEditor&nbsp;5
15
+ ------------------------------------------------------------
16
+
17
+ Where not otherwise indicated, all CKEditor&nbsp;5 content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor&nbsp;5 will incorporate work done by developers outside of CKSource with their express permission.
13
18
 
14
19
  Trademarks
15
20
  ----------
package/README.md CHANGED
@@ -2,11 +2,23 @@ CKEditor&nbsp;5 basic styles feature
2
2
  ========================================
3
3
 
4
4
  [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-basic-styles.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-basic-styles)
5
- [![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
6
- [![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5)
5
+ [![codecov](https://codecov.io/gh/ckeditor/ckeditor5/branch/master/graph/badge.svg)](https://codecov.io/gh/ckeditor/ckeditor5)
6
+ [![CircleCI](https://circleci.com/gh/ckeditor/ckeditor5.svg?style=shield)](https://app.circleci.com/pipelines/github/ckeditor/ckeditor5?branch=master)
7
7
 
8
8
  This package contains CKEditor&nbsp;5 features allowing to apply basic text formatting such as bold, italic, underline, and code in CKEditor&nbsp;5.
9
9
 
10
+ ## Installation
11
+
12
+ This plugin is part of the `ckeditor5` package. Install the whole package to use it.
13
+
14
+ ```bash
15
+ npm install ckeditor5
16
+ ```
17
+
18
+ ## Create free account
19
+
20
+ If you want to check full CKEditor&nbsp;5 capabilities, sign up for a [free non-commitment 14-day trial](https://portal.ckeditor.com/checkout?plan=free).
21
+
10
22
  ## Demo
11
23
 
12
24
  Check out the [demo in the basic styles feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/basic-styles.html#demo).
@@ -15,12 +27,11 @@ Check out the [demo in the basic styles feature guide](https://ckeditor.com/docs
15
27
 
16
28
  See the [`@ckeditor/ckeditor5-basic-styles` package](https://ckeditor.com/docs/ckeditor5/latest/api/basic-styles.html) page in [CKEditor&nbsp;5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
17
29
 
18
- ## Installation
30
+ ## License
19
31
 
20
- ```bash
21
- npm install ckeditor5
22
- ```
32
+ Licensed under a dual-license model, this software is available under:
23
33
 
24
- ## License
34
+ * the [GNU General Public License Version 2 or later](https://www.gnu.org/licenses/gpl.html),
35
+ * or commercial license terms from CKSource Holding sp. z o.o.
25
36
 
26
- Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license).
37
+ For more information, see: [https://ckeditor.com/legal/ckeditor-licensing-options](https://ckeditor.com/legal/ckeditor-licensing-options).
@@ -1,5 +1,5 @@
1
1
  !function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Bold","Bold text":"Bold text",Code:"Code",Italic:"Italic","Italic text":"Italic text","Move out of an inline code style":"Move out of an inline code style",Strikethrough:"Strikethrough","Strikethrough text":"Strikethrough text",Subscript:"Subscript",Superscript:"Superscript",Underline:"Underline","Underline text":"Underline text"})}(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
- */(()=>{var t={598:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(758),r=i.n(n),s=i(935),o=i.n(s)()(r());o.push([t.id,".ck-content code{background-color:hsla(0,0%,78%,.3);border-radius:2px;padding:.15em}.ck.ck-editor__editable .ck-code_selected{background-color:hsla(0,0%,78%,.5)}",""]);const a=o},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);n&&o[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),i&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=i):u[2]=i),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),e.push(u))}},e}},758:t=>{"use strict";t.exports=function(t){return t[1]}},591:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var s={},o=[],a=0;a<t.length;a++){var c=t[a],l=n.base?c[0]+n.base:c[0],u=s[l]||0,d="".concat(l," ").concat(u);s[l]=u+1;var g=i(d),m={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==g)e[g].references++,e[g].updater(m);else{var p=r(m,n);n.byIndex=a,e.splice(a,0,{identifier:d,updater:p,references:1})}o.push(d)}return o}function r(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),l=0;l<s.length;l++){var u=i(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=c}}},128:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);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(i)}},51:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},21:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},639:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},834:(t,e,i)=>{t.exports=i(237)("./src/typing.js")},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{AttributeCommand:()=>e,Bold:()=>u,BoldEditing:()=>s,BoldUI:()=>l,Code:()=>E,CodeEditing:()=>m,CodeUI:()=>A,Italic:()=>M,ItalicEditing:()=>T,ItalicUI:()=>N,Strikethrough:()=>K,StrikethroughEditing:()=>F,StrikethroughUI:()=>V,Subscript:()=>q,SubscriptEditing:()=>z,SubscriptUI:()=>j,Superscript:()=>G,SuperscriptEditing:()=>$,SuperscriptUI:()=>X,Underline:()=>Z,UnderlineEditing:()=>Q,UnderlineUI:()=>Y});var t=i(782);class e extends t.Command{constructor(t,e){super(t),this.attributeKey=e}refresh(){const t=this.editor.model,e=t.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=t.schema.checkAttributeInSelection(e.selection,this.attributeKey)}execute(t={}){const e=this.editor.model,i=e.document.selection,n=void 0===t.forceValue?!this.value:t.forceValue;e.change((t=>{if(i.isCollapsed)n?t.setSelectionAttribute(this.attributeKey,!0):t.removeSelectionAttribute(this.attributeKey);else{const r=e.schema.getValidRanges(i.getRanges(),this.attributeKey);for(const e of r)n?t.setAttribute(this.attributeKey,n,e):t.removeAttribute(this.attributeKey,e)}}))}_getValueFromFirstAllowedNode(){const t=this.editor.model,e=t.schema,i=t.document.selection;if(i.isCollapsed)return i.hasAttribute(this.attributeKey);for(const t of i.getRanges())for(const i of t.getItems())if(e.checkAttribute(i,this.attributeKey))return i.hasAttribute(this.attributeKey);return!1}}const r="bold";class s extends t.Plugin{static get pluginName(){return"BoldEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:r}),t.model.schema.setAttributeProperties(r,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:r,view:"strong",upcastAlso:["b",t=>{const e=t.getStyle("font-weight");return e&&("bold"==e||Number(e)>=600)?{name:!0,styles:["font-weight"]}:null}]}),t.commands.add(r,new e(t,r)),t.keystrokes.set("CTRL+B",r),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Bold text"),keystroke:"CTRL+B"}]})}}var o=i(311);function a({editor:t,commandName:e,plugin:i,icon:n,label:r,keystroke:s}){return a=>{const c=t.commands.get(e),l=new a(t.locale);return l.set({label:r,icon:n,keystroke:s,isToggleable:!0}),l.bind("isEnabled").to(c,"isEnabled"),l.bind("isOn").to(c,"value"),l instanceof o.MenuBarMenuListItemButtonView?l.set({role:"menuitemcheckbox"}):l.set({tooltip:!0}),i.listenTo(l,"execute",(()=>{t.execute(e),t.editing.view.focus()})),l}}const c="bold";class l extends t.Plugin{static get pluginName(){return"BoldUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,i=e.locale.t,n=a({editor:e,commandName:c,plugin:this,icon:t.icons.bold,label:i("Bold"),keystroke:"CTRL+B"});e.ui.componentFactory.add(c,(()=>n(o.ButtonView))),e.ui.componentFactory.add("menuBar:"+c,(()=>n(o.MenuBarMenuListItemButtonView)))}}class u extends t.Plugin{static get requires(){return[s,l]}static get pluginName(){return"Bold"}static get isOfficialPlugin(){return!0}}var d=i(834);const g="code";class m extends t.Plugin{static get pluginName(){return"CodeEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[d.TwoStepCaretMovement]}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:g}),t.model.schema.setAttributeProperties(g,{isFormatting:!0,copyOnEnter:!1}),t.conversion.attributeToElement({model:g,view:"code",upcastAlso:{styles:{"word-wrap":"break-word"}}}),t.commands.add(g,new e(t,g)),t.plugins.get(d.TwoStepCaretMovement).registerAttribute(g),(0,d.inlineHighlight)(t,g,"code","ck-code_selected"),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Move out of an inline code style"),keystroke:[["arrowleft","arrowleft"],["arrowright","arrowright"]]}]})}}var p=i(591),h=i.n(p),f=i(639),b=i.n(f),v=i(128),y=i.n(v),w=i(21),x=i.n(w),k=i(51),I=i.n(k),P=i(598),S={attributes:{"data-cke":!0}};S.setAttributes=x(),S.insert=y().bind(null,"head"),S.domAPI=b(),S.insertStyleElement=I();h()(P.A,S);P.A&&P.A.locals&&P.A.locals;const B="code";class A extends t.Plugin{static get pluginName(){return"CodeUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:B,plugin:this,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m12.5 5.7 5.2 3.9v1.3l-5.6 4c-.1.2-.3.2-.5.2-.3-.1-.6-.7-.6-1l.3-.4 4.7-3.5L11.5 7l-.2-.2c-.1-.3-.1-.6 0-.8.2-.2.5-.4.8-.4a.8.8 0 0 1 .4.1zm-5.2 0L2 9.6v1.3l5.6 4c.1.2.3.2.5.2.3-.1.7-.7.6-1 0-.1 0-.3-.2-.4l-5-3.5L8.2 7l.2-.2c.1-.3.1-.6 0-.8-.2-.2-.5-.4-.8-.4a.8.8 0 0 0-.3.1z"/></svg>',label:e("Code")});t.ui.componentFactory.add(B,(()=>i(o.ButtonView))),t.ui.componentFactory.add("menuBar:"+B,(()=>i(o.MenuBarMenuListItemButtonView)))}}class E extends t.Plugin{static get requires(){return[m,A]}static get pluginName(){return"Code"}static get isOfficialPlugin(){return!0}}const O="italic";class T extends t.Plugin{static get pluginName(){return"ItalicEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:O}),t.model.schema.setAttributeProperties(O,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:O,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),t.commands.add(O,new e(t,O)),t.keystrokes.set("CTRL+I",O),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Italic text"),keystroke:"CTRL+I"}]})}}const C="italic";class N extends t.Plugin{static get pluginName(){return"ItalicUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:C,plugin:this,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m9.586 14.633.021.004c-.036.335.095.655.393.962.082.083.173.15.274.201h1.474a.6.6 0 1 1 0 1.2H5.304a.6.6 0 0 1 0-1.2h1.15c.474-.07.809-.182 1.005-.334.157-.122.291-.32.404-.597l2.416-9.55a1.053 1.053 0 0 0-.281-.823 1.12 1.12 0 0 0-.442-.296H8.15a.6.6 0 0 1 0-1.2h6.443a.6.6 0 1 1 0 1.2h-1.195c-.376.056-.65.155-.823.296-.215.175-.423.439-.623.79l-2.366 9.347z"/></svg>',keystroke:"CTRL+I",label:e("Italic")});t.ui.componentFactory.add(C,(()=>i(o.ButtonView))),t.ui.componentFactory.add("menuBar:"+C,(()=>i(o.MenuBarMenuListItemButtonView)))}}class M extends t.Plugin{static get requires(){return[T,N]}static get pluginName(){return"Italic"}static get isOfficialPlugin(){return!0}}const L="strikethrough";class F extends t.Plugin{static get pluginName(){return"StrikethroughEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:L}),t.model.schema.setAttributeProperties(L,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:L,view:"s",upcastAlso:["del","strike",{styles:{"text-decoration":"line-through"}}]}),t.commands.add(L,new e(t,L)),t.keystrokes.set("CTRL+SHIFT+X","strikethrough"),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Strikethrough text"),keystroke:"CTRL+SHIFT+X"}]})}}const U="strikethrough";class V extends t.Plugin{static get pluginName(){return"StrikethroughUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:U,plugin:this,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 16.4c-.8-.4-1.5-.9-2.2-1.5a.6.6 0 0 1-.2-.5l.3-.6h1c1 1.2 2.1 1.7 3.7 1.7 1 0 1.8-.3 2.3-.6.6-.4.6-1.2.6-1.3.2-1.2-.9-2.1-.9-2.1h2.1c.3.7.4 1.2.4 1.7v.8l-.6 1.2c-.6.8-1.1 1-1.6 1.2a6 6 0 0 1-2.4.6c-1 0-1.8-.3-2.5-.6zM6.8 9 6 8.3c-.4-.5-.5-.8-.5-1.6 0-.7.1-1.3.5-1.8.4-.6 1-1 1.6-1.3a6.3 6.3 0 0 1 4.7 0 4 4 0 0 1 1.7 1l.3.7c0 .1.2.4-.2.7-.4.2-.9.1-1 0a3 3 0 0 0-1.2-1c-.4-.2-1-.3-2-.4-.7 0-1.4.2-2 .6-.8.6-1 .8-1 1.5 0 .8.5 1 1.2 1.5.6.4 1.1.7 1.9 1H6.8z"/><path d="M3 10.5V9h14v1.5z"/></svg>',keystroke:"CTRL+SHIFT+X",label:e("Strikethrough")});t.ui.componentFactory.add(U,(()=>i(o.ButtonView))),t.ui.componentFactory.add("menuBar:"+U,(()=>i(o.MenuBarMenuListItemButtonView)))}}class K extends t.Plugin{static get requires(){return[F,V]}static get pluginName(){return"Strikethrough"}static get isOfficialPlugin(){return!0}}const R="subscript";class z extends t.Plugin{static get pluginName(){return"SubscriptEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:R}),t.model.schema.setAttributeProperties(R,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:R,view:"sub",upcastAlso:[{styles:{"vertical-align":"sub"}}]}),t.commands.add(R,new e(t,R))}}const _="subscript";class j extends t.Plugin{static get pluginName(){return"SubscriptUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:_,plugin:this,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m7.03 10.349 3.818-3.819a.8.8 0 1 1 1.132 1.132L8.16 11.48l3.819 3.818a.8.8 0 1 1-1.132 1.132L7.03 12.61l-3.818 3.82a.8.8 0 1 1-1.132-1.132L5.9 11.48 2.08 7.662A.8.8 0 1 1 3.212 6.53l3.818 3.82zm8.147 7.829h2.549c.254 0 .447.05.58.152a.49.49 0 0 1 .201.413.54.54 0 0 1-.159.393c-.105.108-.266.162-.48.162h-3.594c-.245 0-.435-.066-.572-.197a.621.621 0 0 1-.205-.463c0-.114.044-.265.132-.453a1.62 1.62 0 0 1 .288-.444c.433-.436.824-.81 1.172-1.122.348-.312.597-.517.747-.615.267-.183.49-.368.667-.553.177-.185.312-.375.405-.57.093-.194.139-.384.139-.57a1.008 1.008 0 0 0-.554-.917 1.197 1.197 0 0 0-.56-.133c-.426 0-.761.182-1.005.546a2.332 2.332 0 0 0-.164.39 1.609 1.609 0 0 1-.258.488c-.096.114-.237.17-.423.17a.558.558 0 0 1-.405-.156.568.568 0 0 1-.161-.427c0-.218.05-.446.151-.683.101-.238.252-.453.452-.646s.454-.349.762-.467a2.998 2.998 0 0 1 1.081-.178c.498 0 .923.076 1.274.228a1.916 1.916 0 0 1 1.004 1.032 1.984 1.984 0 0 1-.156 1.794c-.2.32-.405.572-.613.754-.208.182-.558.468-1.048.857-.49.39-.826.691-1.008.906a2.703 2.703 0 0 0-.24.309z"/></svg>',label:e("Subscript")});t.ui.componentFactory.add(_,(()=>i(o.ButtonView))),t.ui.componentFactory.add("menuBar:"+_,(()=>i(o.MenuBarMenuListItemButtonView)))}}class q extends t.Plugin{static get requires(){return[z,j]}static get pluginName(){return"Subscript"}static get isOfficialPlugin(){return!0}}const H="superscript";class $ extends t.Plugin{static get pluginName(){return"SuperscriptEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:H}),t.model.schema.setAttributeProperties(H,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:H,view:"sup",upcastAlso:[{styles:{"vertical-align":"super"}}]}),t.commands.add(H,new e(t,H))}}const D="superscript";class X extends t.Plugin{static get pluginName(){return"SuperscriptUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:D,plugin:this,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.677 8.678h2.549c.254 0 .447.05.58.152a.49.49 0 0 1 .201.413.54.54 0 0 1-.159.393c-.105.108-.266.162-.48.162h-3.594c-.245 0-.435-.066-.572-.197a.621.621 0 0 1-.205-.463c0-.114.044-.265.132-.453a1.62 1.62 0 0 1 .288-.444c.433-.436.824-.81 1.172-1.122.348-.312.597-.517.747-.615.267-.183.49-.368.667-.553.177-.185.312-.375.405-.57.093-.194.139-.384.139-.57a1.008 1.008 0 0 0-.554-.917 1.197 1.197 0 0 0-.56-.133c-.426 0-.761.182-1.005.546a2.332 2.332 0 0 0-.164.39 1.609 1.609 0 0 1-.258.488c-.096.114-.237.17-.423.17a.558.558 0 0 1-.405-.156.568.568 0 0 1-.161-.427c0-.218.05-.446.151-.683.101-.238.252-.453.452-.646s.454-.349.762-.467a2.998 2.998 0 0 1 1.081-.178c.498 0 .923.076 1.274.228a1.916 1.916 0 0 1 1.004 1.032 1.984 1.984 0 0 1-.156 1.794c-.2.32-.405.572-.613.754-.208.182-.558.468-1.048.857-.49.39-.826.691-1.008.906a2.703 2.703 0 0 0-.24.309zM7.03 10.349l3.818-3.819a.8.8 0 1 1 1.132 1.132L8.16 11.48l3.819 3.818a.8.8 0 1 1-1.132 1.132L7.03 12.61l-3.818 3.82a.8.8 0 1 1-1.132-1.132L5.9 11.48 2.08 7.662A.8.8 0 1 1 3.212 6.53l3.818 3.82z"/></svg>',label:e("Superscript")});t.ui.componentFactory.add(D,(()=>i(o.ButtonView))),t.ui.componentFactory.add("menuBar:"+D,(()=>i(o.MenuBarMenuListItemButtonView)))}}class G extends t.Plugin{static get requires(){return[$,X]}static get pluginName(){return"Superscript"}static get isOfficialPlugin(){return!0}}const J="underline";class Q extends t.Plugin{static get pluginName(){return"UnderlineEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:J}),t.model.schema.setAttributeProperties(J,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:J,view:"u",upcastAlso:{styles:{"text-decoration":"underline"}}}),t.commands.add(J,new e(t,J)),t.keystrokes.set("CTRL+U","underline"),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Underline text"),keystroke:"CTRL+U"}]})}}const W="underline";class Y extends t.Plugin{static get pluginName(){return"UnderlineUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=a({editor:t,commandName:W,plugin:this,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 18v-1.5h14V18zm2.2-8V3.6c0-.4.4-.6.8-.6.3 0 .7.2.7.6v6.2c0 2 1.3 2.8 3.2 2.8 1.9 0 3.4-.9 3.4-2.9V3.6c0-.3.4-.5.8-.5.3 0 .7.2.7.5V10c0 2.7-2.2 4-4.9 4-2.6 0-4.7-1.2-4.7-4z"/></svg>',label:e("Underline"),keystroke:"CTRL+U"});t.ui.componentFactory.add(W,(()=>i(o.ButtonView))),t.ui.componentFactory.add("menuBar:"+W,(()=>i(o.MenuBarMenuListItemButtonView)))}}class Z extends t.Plugin{static get requires(){return[Q,Y]}static get pluginName(){return"Underline"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).basicStyles=n})();
5
+ */(()=>{var t={163:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},237:t=>{"use strict";t.exports=CKEditor5.dll},305:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},404:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(792),r=i.n(n),s=i(305),o=i.n(s)()(r());o.push([t.id,".ck-content code{background-color:hsla(0,0%,78%,.3);border-radius:2px;padding:.15em}.ck.ck-editor__editable .ck-code_selected{background-color:hsla(0,0%,78%,.5)}",""]);const a=o},424:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);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(i)}},517:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},719:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var s={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=s[u]||0,d="".concat(u," ").concat(l);s[u]=l+1;var g=i(d),m={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==g)e[g].references++,e[g].updater(m);else{var p=r(m,n);n.byIndex=a,e.splice(a,0,{identifier:d,updater:p,references:1})}o.push(d)}return o}function r(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),u=0;u<s.length;u++){var l=i(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},792:t=>{"use strict";t.exports=function(t){return t[1]}},834:(t,e,i)=>{t.exports=i(237)("./src/typing.js")},863:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}}},e={};function i(n){var r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{AttributeCommand:()=>e,Bold:()=>d,BoldEditing:()=>s,BoldUI:()=>l,Code:()=>C,CodeEditing:()=>p,CodeUI:()=>E,Italic:()=>U,ItalicEditing:()=>T,ItalicUI:()=>F,Strikethrough:()=>R,StrikethroughEditing:()=>L,StrikethroughUI:()=>V,Subscript:()=>H,SubscriptEditing:()=>j,SubscriptUI:()=>$,Superscript:()=>J,SuperscriptEditing:()=>X,SuperscriptUI:()=>G,Underline:()=>tt,UnderlineEditing:()=>W,UnderlineUI:()=>Z,_getBasicStylesButtonCreator:()=>c});var t=i(782);class e extends t.Command{attributeKey;constructor(t,e){super(t),this.attributeKey=e}refresh(){const t=this.editor.model,e=t.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=t.schema.checkAttributeInSelection(e.selection,this.attributeKey)}execute(t={}){const e=this.editor.model,i=e.document.selection,n=void 0===t.forceValue?!this.value:t.forceValue;e.change(t=>{if(i.isCollapsed)n?t.setSelectionAttribute(this.attributeKey,!0):t.removeSelectionAttribute(this.attributeKey);else{const r=e.schema.getValidRanges(i.getRanges(),this.attributeKey);for(const e of r)n?t.setAttribute(this.attributeKey,n,e):t.removeAttribute(this.attributeKey,e)}})}_getValueFromFirstAllowedNode(){const t=this.editor.model,e=t.schema,i=t.document.selection;if(i.isCollapsed)return i.hasAttribute(this.attributeKey);for(const t of i.getRanges())for(const i of t.getItems())if(e.checkAttribute(i,this.attributeKey))return i.hasAttribute(this.attributeKey);return!1}}const r="bold";class s extends t.Plugin{static get pluginName(){return"BoldEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:r}),t.model.schema.setAttributeProperties(r,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:r,view:"strong",upcastAlso:["b",t=>{const e=t.getStyle("font-weight");return e&&("bold"==e||Number(e)>=600)?{name:!0,styles:["font-weight"]}:null}]}),t.commands.add(r,new e(t,r)),t.keystrokes.set("CTRL+B",r),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Bold text"),keystroke:"CTRL+B"}]})}}var o=i(355),a=i(311);function c({editor:t,commandName:e,plugin:i,icon:n,label:r,keystroke:s}){return o=>{const c=t.commands.get(e),u=new o(t.locale);return u.set({label:r,icon:n,keystroke:s,isToggleable:!0}),u.bind("isEnabled").to(c,"isEnabled"),u.bind("isOn").to(c,"value"),u instanceof a.MenuBarMenuListItemButtonView?u.set({role:"menuitemcheckbox"}):u.set({tooltip:!0}),i.listenTo(u,"execute",()=>{t.execute(e),t.editing.view.focus()}),u}}const u="bold";class l extends t.Plugin{static get pluginName(){return"BoldUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=c({editor:t,commandName:u,plugin:this,icon:o.IconBold,label:e("Bold"),keystroke:"CTRL+B"});t.ui.componentFactory.add(u,()=>i(a.ButtonView)),t.ui.componentFactory.add("menuBar:"+u,()=>i(a.MenuBarMenuListItemButtonView))}}class d extends t.Plugin{static get requires(){return[s,l]}static get pluginName(){return"Bold"}static get isOfficialPlugin(){return!0}}var g=i(834);const m="code";class p extends t.Plugin{static get pluginName(){return"CodeEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[g.TwoStepCaretMovement]}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:m}),t.model.schema.setAttributeProperties(m,{isFormatting:!0,copyOnEnter:!1}),t.conversion.attributeToElement({model:m,view:"code"}),t.commands.add(m,new e(t,m)),t.plugins.get(g.TwoStepCaretMovement).registerAttribute(m),(0,g.inlineHighlight)(t,m,"code","ck-code_selected"),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Move out of an inline code style"),keystroke:[["arrowleft","arrowleft"],["arrowright","arrowright"]]}]})}}var h=i(719),f=i.n(h),b=i(863),y=i.n(b),v=i(424),k=i.n(v),x=i(517),I=i.n(x),w=i(163),S=i.n(w),P=i(404),B={attributes:{"data-cke":!0}};B.setAttributes=I(),B.insert=k().bind(null,"head"),B.domAPI=y(),B.insertStyleElement=S();f()(P.A,B);P.A&&P.A.locals&&P.A.locals;const A="code";class E extends t.Plugin{static get pluginName(){return"CodeUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=c({editor:t,commandName:A,plugin:this,icon:o.IconCode,label:e("Code")});t.ui.componentFactory.add(A,()=>i(a.ButtonView)),t.ui.componentFactory.add("menuBar:"+A,()=>i(a.MenuBarMenuListItemButtonView))}}class C extends t.Plugin{static get requires(){return[p,E]}static get pluginName(){return"Code"}static get isOfficialPlugin(){return!0}}const O="italic";class T extends t.Plugin{static get pluginName(){return"ItalicEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:O}),t.model.schema.setAttributeProperties(O,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:O,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),t.commands.add(O,new e(t,O)),t.keystrokes.set("CTRL+I",O),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Italic text"),keystroke:"CTRL+I"}]})}}const N="italic";class F extends t.Plugin{static get pluginName(){return"ItalicUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=c({editor:t,commandName:N,plugin:this,icon:o.IconItalic,keystroke:"CTRL+I",label:e("Italic")});t.ui.componentFactory.add(N,()=>i(a.ButtonView)),t.ui.componentFactory.add("menuBar:"+N,()=>i(a.MenuBarMenuListItemButtonView))}}class U extends t.Plugin{static get requires(){return[T,F]}static get pluginName(){return"Italic"}static get isOfficialPlugin(){return!0}}const M="strikethrough";class L extends t.Plugin{static get pluginName(){return"StrikethroughEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:M}),t.model.schema.setAttributeProperties(M,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:M,view:"s",upcastAlso:["del","strike",{styles:{"text-decoration":"line-through"}}]}),t.commands.add(M,new e(t,M)),t.keystrokes.set("CTRL+SHIFT+X","strikethrough"),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Strikethrough text"),keystroke:"CTRL+SHIFT+X"}]})}}const K="strikethrough";class V extends t.Plugin{static get pluginName(){return"StrikethroughUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=c({editor:t,commandName:K,plugin:this,icon:o.IconStrikethrough,keystroke:"CTRL+SHIFT+X",label:e("Strikethrough")});t.ui.componentFactory.add(K,()=>i(a.ButtonView)),t.ui.componentFactory.add("menuBar:"+K,()=>i(a.MenuBarMenuListItemButtonView))}}class R extends t.Plugin{static get requires(){return[L,V]}static get pluginName(){return"Strikethrough"}static get isOfficialPlugin(){return!0}}const _="subscript";class j extends t.Plugin{static get pluginName(){return"SubscriptEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:_}),t.model.schema.setAttributeProperties(_,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:_,view:"sub",upcastAlso:[{styles:{"vertical-align":"sub"}}]}),t.commands.add(_,new e(t,_))}}const q="subscript";class $ extends t.Plugin{static get pluginName(){return"SubscriptUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=c({editor:t,commandName:q,plugin:this,icon:o.IconSubscript,label:e("Subscript")});t.ui.componentFactory.add(q,()=>i(a.ButtonView)),t.ui.componentFactory.add("menuBar:"+q,()=>i(a.MenuBarMenuListItemButtonView))}}class H extends t.Plugin{static get requires(){return[j,$]}static get pluginName(){return"Subscript"}static get isOfficialPlugin(){return!0}}const D="superscript";class X extends t.Plugin{static get pluginName(){return"SuperscriptEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:D}),t.model.schema.setAttributeProperties(D,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:D,view:"sup",upcastAlso:[{styles:{"vertical-align":"super"}}]}),t.commands.add(D,new e(t,D))}}const z="superscript";class G extends t.Plugin{static get pluginName(){return"SuperscriptUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=c({editor:t,commandName:z,plugin:this,icon:o.IconSuperscript,label:e("Superscript")});t.ui.componentFactory.add(z,()=>i(a.ButtonView)),t.ui.componentFactory.add("menuBar:"+z,()=>i(a.MenuBarMenuListItemButtonView))}}class J extends t.Plugin{static get requires(){return[X,G]}static get pluginName(){return"Superscript"}static get isOfficialPlugin(){return!0}}const Q="underline";class W extends t.Plugin{static get pluginName(){return"UnderlineEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,i=this.editor.t;t.model.schema.extend("$text",{allowAttributes:Q}),t.model.schema.setAttributeProperties(Q,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:Q,view:"u",upcastAlso:{styles:{"text-decoration":"underline"}}}),t.commands.add(Q,new e(t,Q)),t.keystrokes.set("CTRL+U","underline"),t.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Underline text"),keystroke:"CTRL+U"}]})}}const Y="underline";class Z extends t.Plugin{static get pluginName(){return"UnderlineUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=c({editor:t,commandName:Y,plugin:this,icon:o.IconUnderline,label:e("Underline"),keystroke:"CTRL+U"});t.ui.componentFactory.add(Y,()=>i(a.ButtonView)),t.ui.componentFactory.add("menuBar:"+Y,()=>i(a.MenuBarMenuListItemButtonView))}}class tt extends t.Plugin{static get requires(){return[W,Z]}static get pluginName(){return"Underline"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).basicStyles=n})();
@@ -0,0 +1 @@
1
+ !function(t){const e=t.be=t.be||{};e.dictionary=Object.assign(e.dictionary||{},{Bold:"Тоўсты","Bold text":"Тоўсты тэкст",Code:"Код",Italic:"Курсіў","Italic text":"Текст курсівам","Move out of an inline code style":"Выйсці з убудаванага сцілю",Strikethrough:"Перакрэслены","Strikethrough text":"Перакрэслены тэкст",Subscript:"Ніжні індэкс",Superscript:"Верхні індэкс",Underline:"Падкрэслены","Underline text":"Падкрэслены тэкст"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(t){const i=t.kk=t.kk||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"","Bold text":"",Code:"",Italic:"","Italic text":"","Move out of an inline code style":"",Strikethrough:"","Strikethrough text":"",Subscript:"",Superscript:"",Underline:"","Underline text":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -10,7 +10,7 @@
10
10
  {
11
11
  "type": "Button",
12
12
  "name": "bold",
13
- "iconPath": "@ckeditor/ckeditor5-core/theme/icons/bold.svg"
13
+ "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/bold.svg"
14
14
  }
15
15
  ],
16
16
  "htmlOutput": [
@@ -29,7 +29,7 @@
29
29
  {
30
30
  "type": "Button",
31
31
  "name": "code",
32
- "iconPath": "theme/icons/code.svg"
32
+ "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/code.svg"
33
33
  }
34
34
  ],
35
35
  "htmlOutput": [
@@ -48,7 +48,7 @@
48
48
  {
49
49
  "type": "Button",
50
50
  "name": "italic",
51
- "iconPath": "theme/icons/italic.svg"
51
+ "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/italic.svg"
52
52
  }
53
53
  ],
54
54
  "htmlOutput": [
@@ -67,7 +67,7 @@
67
67
  {
68
68
  "type": "Button",
69
69
  "name": "strikethrough",
70
- "iconPath": "theme/icons/strikethrough.svg"
70
+ "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/strikethrough.svg"
71
71
  }
72
72
  ],
73
73
  "htmlOutput": [
@@ -86,7 +86,7 @@
86
86
  {
87
87
  "type": "Button",
88
88
  "name": "subscript",
89
- "iconPath": "theme/icons/subscript.svg"
89
+ "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/subscript.svg"
90
90
  }
91
91
  ],
92
92
  "htmlOutput": [
@@ -105,7 +105,7 @@
105
105
  {
106
106
  "type": "Button",
107
107
  "name": "superscript",
108
- "iconPath": "theme/icons/superscript.svg"
108
+ "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/superscript.svg"
109
109
  }
110
110
  ],
111
111
  "htmlOutput": [
@@ -124,7 +124,7 @@
124
124
  {
125
125
  "type": "Button",
126
126
  "name": "underline",
127
- "iconPath": "theme/icons/underline.svg"
127
+ "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/underline.svg"
128
128
  }
129
129
  ],
130
130
  "htmlOutput": [
@@ -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 code{
6
6
  background-color:hsla(0, 0%, 78%, 0.3);
@@ -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.ck-editor__editable .ck-code_selected{
6
6
  background-color:hsla(0, 0%, 78%, 0.5);
package/dist/index.css CHANGED
@@ -1,10 +1,10 @@
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.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
10
10
  .ck-content code {
@@ -1 +1 @@
1
- {"version":3,"sources":["../theme/code.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,GAAG,CAAC;AAC5E,CAAC,CDAC;;AAEF,CAAA,EAAA,CAAA,OAAA,CAAA,IAAA,CAAA;ACCA,CDAC,UAAA,CAAA,KAAA,CAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAuC;ACCxC,CDAC,OAAA,CAAA,CAAA,CAAA,IAAc;ACCf,CDAC,MAAA,CAAA,MAAA,CAAA,CAAA,GAAkB;AACnB;;AAEA,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,EAAA,CAAA,aAAA,CAAA,CAAA;ACCA,CDAC,UAAA,CAAA,KAAA,CAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAuC;AACxC;;ACEA,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-oss-license\n */\n\n.ck-content code {\n\tbackground-color: hsla(0, 0%, 78%, 0.3);\n\tpadding: .15em;\n\tborder-radius: 2px;\n}\n\n.ck.ck-editor__editable .ck-code_selected {\n\tbackground-color: hsla(0, 0%, 78%, 0.5);\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-oss-license\n */\n\n.ck-content code {\n\tbackground-color: hsla(0, 0%, 78%, 0.3);\n\tpadding: .15em;\n\tborder-radius: 2px;\n}\n\n.ck.ck-editor__editable .ck-code_selected {\n\tbackground-color: hsla(0, 0%, 78%, 0.5);\n}\n\n/*# sourceMappingURL=index.css.map */"]}
1
+ {"version":3,"sources":["../theme/code.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,EAAA,CAAA,OAAA,CAAA,IAAA,CAAA;ACCA,CDAC,UAAA,CAAA,KAAA,CAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAuC;ACCxC,CDAC,OAAA,CAAA,CAAA,CAAA,IAAc;ACCf,CDAC,MAAA,CAAA,MAAA,CAAA,CAAA,GAAkB;AACnB;;AAEA,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,EAAA,CAAA,aAAA,CAAA,CAAA;ACCA,CDAC,UAAA,CAAA,KAAA,CAAA,CAAA,IAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAuC;AACxC;;ACEA,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.ck-content code {\n\tbackground-color: hsla(0, 0%, 78%, 0.3);\n\tpadding: .15em;\n\tborder-radius: 2px;\n}\n\n.ck.ck-editor__editable .ck-code_selected {\n\tbackground-color: hsla(0, 0%, 78%, 0.5);\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.ck-content code {\n\tbackground-color: hsla(0, 0%, 78%, 0.3);\n\tpadding: .15em;\n\tborder-radius: 2px;\n}\n\n.ck.ck-editor__editable .ck-code_selected {\n\tbackground-color: hsla(0, 0%, 78%, 0.5);\n}\n\n/*# sourceMappingURL=index.css.map */"]}
package/dist/index.js CHANGED
@@ -1,8 +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
- import { Command, Plugin, icons } from '@ckeditor/ckeditor5-core/dist/index.js';
5
+ import { Command, Plugin } from '@ckeditor/ckeditor5-core/dist/index.js';
6
+ import { IconBold, IconCode, IconItalic, IconStrikethrough, IconSubscript, IconSuperscript, IconUnderline } from '@ckeditor/ckeditor5-icons/dist/index.js';
6
7
  import { MenuBarMenuListItemButtonView, ButtonView } from '@ckeditor/ckeditor5-ui/dist/index.js';
7
8
  import { TwoStepCaretMovement, inlineHighlight } from '@ckeditor/ckeditor5-typing/dist/index.js';
8
9
 
@@ -10,7 +11,7 @@ import { TwoStepCaretMovement, inlineHighlight } from '@ckeditor/ckeditor5-typin
10
11
  * An extension of the base {@link module:core/command~Command} class, which provides utilities for a command
11
12
  * that toggles a single attribute on a text or an element.
12
13
  *
13
- * `AttributeCommand` uses {@link module:engine/model/document~Document#selection}
14
+ * `AttributeCommand` uses {@link module:engine/model/document~ModelDocument#selection}
14
15
  * to decide which nodes (if any) should be changed, and applies or removes the attribute from them.
15
16
  *
16
17
  * The command checks the {@link module:engine/model/model~Model#schema} to decide if it can be enabled
@@ -38,12 +39,12 @@ import { TwoStepCaretMovement, inlineHighlight } from '@ckeditor/ckeditor5-typin
38
39
  *
39
40
  * If the command is active (`value == true`), it will remove attributes. Otherwise, it will set attributes.
40
41
  *
41
- * The execution result differs, depending on the {@link module:engine/model/document~Document#selection}:
42
+ * The execution result differs, depending on the {@link module:engine/model/document~ModelDocument#selection}:
42
43
  *
43
44
  * * If the selection is on a range, the command applies the attribute to all nodes in that range
44
- * (if they are allowed to have this attribute by the {@link module:engine/model/schema~Schema schema}).
45
+ * (if they are allowed to have this attribute by the {@link module:engine/model/schema~ModelSchema schema}).
45
46
  * * If the selection is collapsed in a non-empty node, the command applies the attribute to the
46
- * {@link module:engine/model/document~Document#selection} itself (note that typed characters copy attributes from the selection).
47
+ * {@link module:engine/model/document~ModelDocument#selection} itself (note that typed characters copy attributes from the selection).
47
48
  * * If the selection is collapsed in an empty node, the command applies the attribute to the parent node of the selection (note
48
49
  * that the selection inherits all attributes from a node if it is in an empty node).
49
50
  *
@@ -171,6 +172,8 @@ const BOLD$1 = 'bold';
171
172
 
172
173
  /**
173
174
  * Returns a function that creates a (toolbar or menu bar) button for a basic style feature.
175
+ *
176
+ * @internal
174
177
  */ function getButtonCreator({ editor, commandName, plugin, icon, label, keystroke }) {
175
178
  return (ButtonClass)=>{
176
179
  const command = editor.commands.get(commandName);
@@ -224,7 +227,7 @@ const BOLD = 'bold';
224
227
  editor,
225
228
  commandName: BOLD,
226
229
  plugin: this,
227
- icon: icons.bold,
230
+ icon: IconBold,
228
231
  label: t('Bold'),
229
232
  keystroke: 'CTRL+B'
230
233
  });
@@ -303,12 +306,7 @@ const HIGHLIGHT_CLASS = 'ck-code_selected';
303
306
  });
304
307
  editor.conversion.attributeToElement({
305
308
  model: CODE$1,
306
- view: 'code',
307
- upcastAlso: {
308
- styles: {
309
- 'word-wrap': 'break-word'
310
- }
311
- }
309
+ view: 'code'
312
310
  });
313
311
  // Create code command.
314
312
  editor.commands.add(CODE$1, new AttributeCommand(editor, CODE$1));
@@ -337,8 +335,6 @@ const HIGHLIGHT_CLASS = 'ck-code_selected';
337
335
  }
338
336
  }
339
337
 
340
- var codeIcon = "<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m12.5 5.7 5.2 3.9v1.3l-5.6 4c-.1.2-.3.2-.5.2-.3-.1-.6-.7-.6-1l.3-.4 4.7-3.5L11.5 7l-.2-.2c-.1-.3-.1-.6 0-.8.2-.2.5-.4.8-.4a.8.8 0 0 1 .4.1zm-5.2 0L2 9.6v1.3l5.6 4c.1.2.3.2.5.2.3-.1.7-.7.6-1 0-.1 0-.3-.2-.4l-5-3.5L8.2 7l.2-.2c.1-.3.1-.6 0-.8-.2-.2-.5-.4-.8-.4a.8.8 0 0 0-.3.1z\"/></svg>";
341
-
342
338
  const CODE = 'code';
343
339
  /**
344
340
  * The code UI feature. It introduces the Code button.
@@ -362,7 +358,7 @@ const CODE = 'code';
362
358
  editor,
363
359
  commandName: CODE,
364
360
  plugin: this,
365
- icon: codeIcon,
361
+ icon: IconCode,
366
362
  label: t('Code')
367
363
  });
368
364
  // Add code button to feature components.
@@ -458,8 +454,6 @@ const ITALIC$1 = 'italic';
458
454
  }
459
455
  }
460
456
 
461
- var italicIcon = "<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m9.586 14.633.021.004c-.036.335.095.655.393.962.082.083.173.15.274.201h1.474a.6.6 0 1 1 0 1.2H5.304a.6.6 0 0 1 0-1.2h1.15c.474-.07.809-.182 1.005-.334.157-.122.291-.32.404-.597l2.416-9.55a1.053 1.053 0 0 0-.281-.823 1.12 1.12 0 0 0-.442-.296H8.15a.6.6 0 0 1 0-1.2h6.443a.6.6 0 1 1 0 1.2h-1.195c-.376.056-.65.155-.823.296-.215.175-.423.439-.623.79l-2.366 9.347z\"/></svg>";
462
-
463
457
  const ITALIC = 'italic';
464
458
  /**
465
459
  * The italic UI feature. It introduces the Italic button.
@@ -483,7 +477,7 @@ const ITALIC = 'italic';
483
477
  editor,
484
478
  commandName: ITALIC,
485
479
  plugin: this,
486
- icon: italicIcon,
480
+ icon: IconItalic,
487
481
  keystroke: 'CTRL+I',
488
482
  label: t('Italic')
489
483
  });
@@ -582,8 +576,6 @@ const STRIKETHROUGH$1 = 'strikethrough';
582
576
  }
583
577
  }
584
578
 
585
- var strikethroughIcon = "<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7 16.4c-.8-.4-1.5-.9-2.2-1.5a.6.6 0 0 1-.2-.5l.3-.6h1c1 1.2 2.1 1.7 3.7 1.7 1 0 1.8-.3 2.3-.6.6-.4.6-1.2.6-1.3.2-1.2-.9-2.1-.9-2.1h2.1c.3.7.4 1.2.4 1.7v.8l-.6 1.2c-.6.8-1.1 1-1.6 1.2a6 6 0 0 1-2.4.6c-1 0-1.8-.3-2.5-.6zM6.8 9 6 8.3c-.4-.5-.5-.8-.5-1.6 0-.7.1-1.3.5-1.8.4-.6 1-1 1.6-1.3a6.3 6.3 0 0 1 4.7 0 4 4 0 0 1 1.7 1l.3.7c0 .1.2.4-.2.7-.4.2-.9.1-1 0a3 3 0 0 0-1.2-1c-.4-.2-1-.3-2-.4-.7 0-1.4.2-2 .6-.8.6-1 .8-1 1.5 0 .8.5 1 1.2 1.5.6.4 1.1.7 1.9 1H6.8z\"/><path d=\"M3 10.5V9h14v1.5z\"/></svg>";
586
-
587
579
  const STRIKETHROUGH = 'strikethrough';
588
580
  /**
589
581
  * The strikethrough UI feature. It introduces the Strikethrough button.
@@ -607,7 +599,7 @@ const STRIKETHROUGH = 'strikethrough';
607
599
  editor,
608
600
  commandName: STRIKETHROUGH,
609
601
  plugin: this,
610
- icon: strikethroughIcon,
602
+ icon: IconStrikethrough,
611
603
  keystroke: 'CTRL+SHIFT+X',
612
604
  label: t('Strikethrough')
613
605
  });
@@ -692,8 +684,6 @@ const SUBSCRIPT$1 = 'subscript';
692
684
  }
693
685
  }
694
686
 
695
- var subscriptIcon = "<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m7.03 10.349 3.818-3.819a.8.8 0 1 1 1.132 1.132L8.16 11.48l3.819 3.818a.8.8 0 1 1-1.132 1.132L7.03 12.61l-3.818 3.82a.8.8 0 1 1-1.132-1.132L5.9 11.48 2.08 7.662A.8.8 0 1 1 3.212 6.53l3.818 3.82zm8.147 7.829h2.549c.254 0 .447.05.58.152a.49.49 0 0 1 .201.413.54.54 0 0 1-.159.393c-.105.108-.266.162-.48.162h-3.594c-.245 0-.435-.066-.572-.197a.621.621 0 0 1-.205-.463c0-.114.044-.265.132-.453a1.62 1.62 0 0 1 .288-.444c.433-.436.824-.81 1.172-1.122.348-.312.597-.517.747-.615.267-.183.49-.368.667-.553.177-.185.312-.375.405-.57.093-.194.139-.384.139-.57a1.008 1.008 0 0 0-.554-.917 1.197 1.197 0 0 0-.56-.133c-.426 0-.761.182-1.005.546a2.332 2.332 0 0 0-.164.39 1.609 1.609 0 0 1-.258.488c-.096.114-.237.17-.423.17a.558.558 0 0 1-.405-.156.568.568 0 0 1-.161-.427c0-.218.05-.446.151-.683.101-.238.252-.453.452-.646s.454-.349.762-.467a2.998 2.998 0 0 1 1.081-.178c.498 0 .923.076 1.274.228a1.916 1.916 0 0 1 1.004 1.032 1.984 1.984 0 0 1-.156 1.794c-.2.32-.405.572-.613.754-.208.182-.558.468-1.048.857-.49.39-.826.691-1.008.906a2.703 2.703 0 0 0-.24.309z\"/></svg>";
696
-
697
687
  const SUBSCRIPT = 'subscript';
698
688
  /**
699
689
  * The subscript UI feature. It introduces the Subscript button.
@@ -717,7 +707,7 @@ const SUBSCRIPT = 'subscript';
717
707
  editor,
718
708
  commandName: SUBSCRIPT,
719
709
  plugin: this,
720
- icon: subscriptIcon,
710
+ icon: IconSubscript,
721
711
  label: t('Subscript')
722
712
  });
723
713
  // Add subscript button to feature components.
@@ -798,8 +788,6 @@ const SUPERSCRIPT$1 = 'superscript';
798
788
  }
799
789
  }
800
790
 
801
- var superscriptIcon = "<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M15.677 8.678h2.549c.254 0 .447.05.58.152a.49.49 0 0 1 .201.413.54.54 0 0 1-.159.393c-.105.108-.266.162-.48.162h-3.594c-.245 0-.435-.066-.572-.197a.621.621 0 0 1-.205-.463c0-.114.044-.265.132-.453a1.62 1.62 0 0 1 .288-.444c.433-.436.824-.81 1.172-1.122.348-.312.597-.517.747-.615.267-.183.49-.368.667-.553.177-.185.312-.375.405-.57.093-.194.139-.384.139-.57a1.008 1.008 0 0 0-.554-.917 1.197 1.197 0 0 0-.56-.133c-.426 0-.761.182-1.005.546a2.332 2.332 0 0 0-.164.39 1.609 1.609 0 0 1-.258.488c-.096.114-.237.17-.423.17a.558.558 0 0 1-.405-.156.568.568 0 0 1-.161-.427c0-.218.05-.446.151-.683.101-.238.252-.453.452-.646s.454-.349.762-.467a2.998 2.998 0 0 1 1.081-.178c.498 0 .923.076 1.274.228a1.916 1.916 0 0 1 1.004 1.032 1.984 1.984 0 0 1-.156 1.794c-.2.32-.405.572-.613.754-.208.182-.558.468-1.048.857-.49.39-.826.691-1.008.906a2.703 2.703 0 0 0-.24.309zM7.03 10.349l3.818-3.819a.8.8 0 1 1 1.132 1.132L8.16 11.48l3.819 3.818a.8.8 0 1 1-1.132 1.132L7.03 12.61l-3.818 3.82a.8.8 0 1 1-1.132-1.132L5.9 11.48 2.08 7.662A.8.8 0 1 1 3.212 6.53l3.818 3.82z\"/></svg>";
802
-
803
791
  const SUPERSCRIPT = 'superscript';
804
792
  /**
805
793
  * The superscript UI feature. It introduces the Superscript button.
@@ -823,7 +811,7 @@ const SUPERSCRIPT = 'superscript';
823
811
  editor,
824
812
  commandName: SUPERSCRIPT,
825
813
  plugin: this,
826
- icon: superscriptIcon,
814
+ icon: IconSuperscript,
827
815
  label: t('Superscript')
828
816
  });
829
817
  // Add superscript button to feature components.
@@ -913,8 +901,6 @@ const UNDERLINE$1 = 'underline';
913
901
  }
914
902
  }
915
903
 
916
- var underlineIcon = "<svg viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M3 18v-1.5h14V18zm2.2-8V3.6c0-.4.4-.6.8-.6.3 0 .7.2.7.6v6.2c0 2 1.3 2.8 3.2 2.8 1.9 0 3.4-.9 3.4-2.9V3.6c0-.3.4-.5.8-.5.3 0 .7.2.7.5V10c0 2.7-2.2 4-4.9 4-2.6 0-4.7-1.2-4.7-4z\"/></svg>";
917
-
918
904
  const UNDERLINE = 'underline';
919
905
  /**
920
906
  * The underline UI feature. It introduces the Underline button.
@@ -938,7 +924,7 @@ const UNDERLINE = 'underline';
938
924
  editor,
939
925
  commandName: UNDERLINE,
940
926
  plugin: this,
941
- icon: underlineIcon,
927
+ icon: IconUnderline,
942
928
  label: t('Underline'),
943
929
  keystroke: 'CTRL+U'
944
930
  });
@@ -977,5 +963,5 @@ const UNDERLINE = 'underline';
977
963
  }
978
964
  }
979
965
 
980
- export { AttributeCommand, Bold, BoldEditing, BoldUI, Code, CodeEditing, CodeUI, Italic, ItalicEditing, ItalicUI, Strikethrough, StrikethroughEditing, StrikethroughUI, Subscript, SubscriptEditing, SubscriptUI, Superscript, SuperscriptEditing, SuperscriptUI, Underline, UnderlineEditing, UnderlineUI };
966
+ export { AttributeCommand, Bold, BoldEditing, BoldUI, Code, CodeEditing, CodeUI, Italic, ItalicEditing, ItalicUI, Strikethrough, StrikethroughEditing, StrikethroughUI, Subscript, SubscriptEditing, SubscriptUI, Superscript, SuperscriptEditing, SuperscriptUI, Underline, UnderlineEditing, UnderlineUI, getButtonCreator as _getBasicStylesButtonCreator };
981
967
  //# sourceMappingURL=index.js.map