@ckeditor/ckeditor5-core 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 (358) hide show
  1. package/LICENSE.md +1 -1
  2. package/dist/index-content.css +2 -2
  3. package/dist/index-editor.css +2 -2
  4. package/dist/index.css +2 -2
  5. package/dist/index.js +21 -7
  6. package/dist/index.js.map +1 -1
  7. package/dist/translations/af.d.ts +2 -2
  8. package/dist/translations/af.js +3 -3
  9. package/dist/translations/af.umd.js +3 -3
  10. package/dist/translations/ar.d.ts +2 -2
  11. package/dist/translations/ar.js +3 -3
  12. package/dist/translations/ar.umd.js +3 -3
  13. package/dist/translations/ast.d.ts +2 -2
  14. package/dist/translations/ast.js +3 -3
  15. package/dist/translations/ast.umd.js +3 -3
  16. package/dist/translations/az.d.ts +2 -2
  17. package/dist/translations/az.js +3 -3
  18. package/dist/translations/az.umd.js +3 -3
  19. package/dist/translations/bg.d.ts +2 -2
  20. package/dist/translations/bg.js +3 -3
  21. package/dist/translations/bg.umd.js +3 -3
  22. package/dist/translations/bn.d.ts +2 -2
  23. package/dist/translations/bn.js +3 -3
  24. package/dist/translations/bn.umd.js +3 -3
  25. package/dist/translations/bs.d.ts +2 -2
  26. package/dist/translations/bs.js +3 -3
  27. package/dist/translations/bs.umd.js +3 -3
  28. package/dist/translations/ca.d.ts +2 -2
  29. package/dist/translations/ca.js +3 -3
  30. package/dist/translations/ca.umd.js +3 -3
  31. package/dist/translations/cs.d.ts +2 -2
  32. package/dist/translations/cs.js +3 -3
  33. package/dist/translations/cs.umd.js +3 -3
  34. package/dist/translations/da.d.ts +2 -2
  35. package/dist/translations/da.js +3 -3
  36. package/dist/translations/da.umd.js +3 -3
  37. package/dist/translations/de-ch.d.ts +2 -2
  38. package/dist/translations/de-ch.js +3 -3
  39. package/dist/translations/de-ch.umd.js +3 -3
  40. package/dist/translations/de.d.ts +2 -2
  41. package/dist/translations/de.js +3 -3
  42. package/dist/translations/de.umd.js +3 -3
  43. package/dist/translations/el.d.ts +2 -2
  44. package/dist/translations/el.js +3 -3
  45. package/dist/translations/el.umd.js +3 -3
  46. package/dist/translations/en-au.d.ts +2 -2
  47. package/dist/translations/en-au.js +3 -3
  48. package/dist/translations/en-au.umd.js +3 -3
  49. package/dist/translations/en-gb.d.ts +2 -2
  50. package/dist/translations/en-gb.js +3 -3
  51. package/dist/translations/en-gb.umd.js +3 -3
  52. package/dist/translations/en.d.ts +2 -2
  53. package/dist/translations/en.js +3 -3
  54. package/dist/translations/en.umd.js +3 -3
  55. package/dist/translations/eo.d.ts +2 -2
  56. package/dist/translations/eo.js +3 -3
  57. package/dist/translations/eo.umd.js +3 -3
  58. package/dist/translations/es-co.d.ts +2 -2
  59. package/dist/translations/es-co.js +3 -3
  60. package/dist/translations/es-co.umd.js +3 -3
  61. package/dist/translations/es.d.ts +2 -2
  62. package/dist/translations/es.js +3 -3
  63. package/dist/translations/es.umd.js +3 -3
  64. package/dist/translations/et.d.ts +2 -2
  65. package/dist/translations/et.js +3 -3
  66. package/dist/translations/et.umd.js +3 -3
  67. package/dist/translations/eu.d.ts +2 -2
  68. package/dist/translations/eu.js +3 -3
  69. package/dist/translations/eu.umd.js +3 -3
  70. package/dist/translations/fa.d.ts +2 -2
  71. package/dist/translations/fa.js +3 -3
  72. package/dist/translations/fa.umd.js +3 -3
  73. package/dist/translations/fi.d.ts +2 -2
  74. package/dist/translations/fi.js +3 -3
  75. package/dist/translations/fi.umd.js +3 -3
  76. package/dist/translations/fr.d.ts +2 -2
  77. package/dist/translations/fr.js +3 -3
  78. package/dist/translations/fr.umd.js +3 -3
  79. package/dist/translations/gl.d.ts +2 -2
  80. package/dist/translations/gl.js +3 -3
  81. package/dist/translations/gl.umd.js +3 -3
  82. package/dist/translations/gu.d.ts +2 -2
  83. package/dist/translations/gu.js +3 -3
  84. package/dist/translations/gu.umd.js +3 -3
  85. package/dist/translations/he.d.ts +2 -2
  86. package/dist/translations/he.js +3 -3
  87. package/dist/translations/he.umd.js +3 -3
  88. package/dist/translations/hi.d.ts +2 -2
  89. package/dist/translations/hi.js +3 -3
  90. package/dist/translations/hi.umd.js +3 -3
  91. package/dist/translations/hr.d.ts +2 -2
  92. package/dist/translations/hr.js +3 -3
  93. package/dist/translations/hr.umd.js +3 -3
  94. package/dist/translations/hu.d.ts +2 -2
  95. package/dist/translations/hu.js +3 -3
  96. package/dist/translations/hu.umd.js +3 -3
  97. package/dist/translations/hy.d.ts +2 -2
  98. package/dist/translations/hy.js +3 -3
  99. package/dist/translations/hy.umd.js +3 -3
  100. package/dist/translations/id.d.ts +2 -2
  101. package/dist/translations/id.js +3 -3
  102. package/dist/translations/id.umd.js +3 -3
  103. package/dist/translations/it.d.ts +2 -2
  104. package/dist/translations/it.js +3 -3
  105. package/dist/translations/it.umd.js +3 -3
  106. package/dist/translations/ja.d.ts +2 -2
  107. package/dist/translations/ja.js +3 -3
  108. package/dist/translations/ja.umd.js +3 -3
  109. package/dist/translations/jv.d.ts +2 -2
  110. package/dist/translations/jv.js +3 -3
  111. package/dist/translations/jv.umd.js +3 -3
  112. package/dist/translations/kk.d.ts +2 -2
  113. package/dist/translations/kk.js +3 -3
  114. package/dist/translations/kk.umd.js +3 -3
  115. package/dist/translations/km.d.ts +2 -2
  116. package/dist/translations/km.js +3 -3
  117. package/dist/translations/km.umd.js +3 -3
  118. package/dist/translations/kn.d.ts +2 -2
  119. package/dist/translations/kn.js +3 -3
  120. package/dist/translations/kn.umd.js +3 -3
  121. package/dist/translations/ko.d.ts +2 -2
  122. package/dist/translations/ko.js +3 -3
  123. package/dist/translations/ko.umd.js +3 -3
  124. package/dist/translations/ku.d.ts +2 -2
  125. package/dist/translations/ku.js +3 -3
  126. package/dist/translations/ku.umd.js +3 -3
  127. package/dist/translations/lt.d.ts +2 -2
  128. package/dist/translations/lt.js +3 -3
  129. package/dist/translations/lt.umd.js +3 -3
  130. package/dist/translations/lv.d.ts +2 -2
  131. package/dist/translations/lv.js +3 -3
  132. package/dist/translations/lv.umd.js +3 -3
  133. package/dist/translations/ms.d.ts +2 -2
  134. package/dist/translations/ms.js +3 -3
  135. package/dist/translations/ms.umd.js +3 -3
  136. package/dist/translations/nb.d.ts +2 -2
  137. package/dist/translations/nb.js +3 -3
  138. package/dist/translations/nb.umd.js +3 -3
  139. package/dist/translations/ne.d.ts +2 -2
  140. package/dist/translations/ne.js +3 -3
  141. package/dist/translations/ne.umd.js +3 -3
  142. package/dist/translations/nl.d.ts +2 -2
  143. package/dist/translations/nl.js +3 -3
  144. package/dist/translations/nl.umd.js +3 -3
  145. package/dist/translations/no.d.ts +2 -2
  146. package/dist/translations/no.js +3 -3
  147. package/dist/translations/no.umd.js +3 -3
  148. package/dist/translations/oc.d.ts +2 -2
  149. package/dist/translations/oc.js +3 -3
  150. package/dist/translations/oc.umd.js +3 -3
  151. package/dist/translations/pl.d.ts +2 -2
  152. package/dist/translations/pl.js +3 -3
  153. package/dist/translations/pl.umd.js +3 -3
  154. package/dist/translations/pt-br.d.ts +2 -2
  155. package/dist/translations/pt-br.js +3 -3
  156. package/dist/translations/pt-br.umd.js +3 -3
  157. package/dist/translations/pt.d.ts +2 -2
  158. package/dist/translations/pt.js +3 -3
  159. package/dist/translations/pt.umd.js +3 -3
  160. package/dist/translations/ro.d.ts +2 -2
  161. package/dist/translations/ro.js +3 -3
  162. package/dist/translations/ro.umd.js +3 -3
  163. package/dist/translations/ru.d.ts +2 -2
  164. package/dist/translations/ru.js +3 -3
  165. package/dist/translations/ru.umd.js +3 -3
  166. package/dist/translations/si.d.ts +2 -2
  167. package/dist/translations/si.js +3 -3
  168. package/dist/translations/si.umd.js +3 -3
  169. package/dist/translations/sk.d.ts +2 -2
  170. package/dist/translations/sk.js +3 -3
  171. package/dist/translations/sk.umd.js +3 -3
  172. package/dist/translations/sl.d.ts +2 -2
  173. package/dist/translations/sl.js +3 -3
  174. package/dist/translations/sl.umd.js +3 -3
  175. package/dist/translations/sq.d.ts +2 -2
  176. package/dist/translations/sq.js +3 -3
  177. package/dist/translations/sq.umd.js +3 -3
  178. package/dist/translations/sr-latn.d.ts +2 -2
  179. package/dist/translations/sr-latn.js +3 -3
  180. package/dist/translations/sr-latn.umd.js +3 -3
  181. package/dist/translations/sr.d.ts +2 -2
  182. package/dist/translations/sr.js +3 -3
  183. package/dist/translations/sr.umd.js +3 -3
  184. package/dist/translations/sv.d.ts +2 -2
  185. package/dist/translations/sv.js +3 -3
  186. package/dist/translations/sv.umd.js +3 -3
  187. package/dist/translations/th.d.ts +2 -2
  188. package/dist/translations/th.js +3 -3
  189. package/dist/translations/th.umd.js +3 -3
  190. package/dist/translations/ti.d.ts +2 -2
  191. package/dist/translations/ti.js +3 -3
  192. package/dist/translations/ti.umd.js +3 -3
  193. package/dist/translations/tk.d.ts +2 -2
  194. package/dist/translations/tk.js +3 -3
  195. package/dist/translations/tk.umd.js +3 -3
  196. package/dist/translations/tr.d.ts +2 -2
  197. package/dist/translations/tr.js +3 -3
  198. package/dist/translations/tr.umd.js +3 -3
  199. package/dist/translations/tt.d.ts +2 -2
  200. package/dist/translations/tt.js +3 -3
  201. package/dist/translations/tt.umd.js +3 -3
  202. package/dist/translations/ug.d.ts +2 -2
  203. package/dist/translations/ug.js +3 -3
  204. package/dist/translations/ug.umd.js +3 -3
  205. package/dist/translations/uk.d.ts +2 -2
  206. package/dist/translations/uk.js +3 -3
  207. package/dist/translations/uk.umd.js +3 -3
  208. package/dist/translations/ur.d.ts +2 -2
  209. package/dist/translations/ur.js +3 -3
  210. package/dist/translations/ur.umd.js +3 -3
  211. package/dist/translations/uz.d.ts +2 -2
  212. package/dist/translations/uz.js +3 -3
  213. package/dist/translations/uz.umd.js +3 -3
  214. package/dist/translations/vi.d.ts +2 -2
  215. package/dist/translations/vi.js +3 -3
  216. package/dist/translations/vi.umd.js +3 -3
  217. package/dist/translations/zh-cn.d.ts +2 -2
  218. package/dist/translations/zh-cn.js +3 -3
  219. package/dist/translations/zh-cn.umd.js +3 -3
  220. package/dist/translations/zh.d.ts +2 -2
  221. package/dist/translations/zh.js +3 -3
  222. package/dist/translations/zh.umd.js +3 -3
  223. package/lang/contexts.json +3 -1
  224. package/lang/translations/af.po +9 -1
  225. package/lang/translations/ar.po +9 -1
  226. package/lang/translations/ast.po +9 -1
  227. package/lang/translations/az.po +9 -1
  228. package/lang/translations/bg.po +9 -1
  229. package/lang/translations/bn.po +9 -1
  230. package/lang/translations/bs.po +9 -1
  231. package/lang/translations/ca.po +9 -1
  232. package/lang/translations/cs.po +9 -1
  233. package/lang/translations/da.po +9 -1
  234. package/lang/translations/de-ch.po +9 -1
  235. package/lang/translations/de.po +9 -1
  236. package/lang/translations/el.po +9 -1
  237. package/lang/translations/en-au.po +9 -1
  238. package/lang/translations/en-gb.po +9 -1
  239. package/lang/translations/en.po +9 -1
  240. package/lang/translations/eo.po +9 -1
  241. package/lang/translations/es-co.po +9 -1
  242. package/lang/translations/es.po +9 -1
  243. package/lang/translations/et.po +9 -1
  244. package/lang/translations/eu.po +9 -1
  245. package/lang/translations/fa.po +9 -1
  246. package/lang/translations/fi.po +9 -1
  247. package/lang/translations/fr.po +9 -1
  248. package/lang/translations/gl.po +9 -1
  249. package/lang/translations/gu.po +9 -1
  250. package/lang/translations/he.po +9 -1
  251. package/lang/translations/hi.po +9 -1
  252. package/lang/translations/hr.po +9 -1
  253. package/lang/translations/hu.po +9 -1
  254. package/lang/translations/hy.po +9 -1
  255. package/lang/translations/id.po +9 -1
  256. package/lang/translations/it.po +9 -1
  257. package/lang/translations/ja.po +9 -1
  258. package/lang/translations/jv.po +9 -1
  259. package/lang/translations/kk.po +9 -1
  260. package/lang/translations/km.po +9 -1
  261. package/lang/translations/kn.po +9 -1
  262. package/lang/translations/ko.po +9 -1
  263. package/lang/translations/ku.po +9 -1
  264. package/lang/translations/lt.po +9 -1
  265. package/lang/translations/lv.po +9 -1
  266. package/lang/translations/ms.po +9 -1
  267. package/lang/translations/nb.po +9 -1
  268. package/lang/translations/ne.po +9 -1
  269. package/lang/translations/nl.po +9 -1
  270. package/lang/translations/no.po +9 -1
  271. package/lang/translations/oc.po +9 -1
  272. package/lang/translations/pl.po +9 -1
  273. package/lang/translations/pt-br.po +9 -1
  274. package/lang/translations/pt.po +9 -1
  275. package/lang/translations/ro.po +9 -1
  276. package/lang/translations/ru.po +9 -1
  277. package/lang/translations/si.po +9 -1
  278. package/lang/translations/sk.po +9 -1
  279. package/lang/translations/sl.po +9 -1
  280. package/lang/translations/sq.po +9 -1
  281. package/lang/translations/sr-latn.po +9 -1
  282. package/lang/translations/sr.po +9 -1
  283. package/lang/translations/sv.po +9 -1
  284. package/lang/translations/th.po +9 -1
  285. package/lang/translations/ti.po +9 -1
  286. package/lang/translations/tk.po +9 -1
  287. package/lang/translations/tr.po +9 -1
  288. package/lang/translations/tt.po +9 -1
  289. package/lang/translations/ug.po +9 -1
  290. package/lang/translations/uk.po +9 -1
  291. package/lang/translations/ur.po +9 -1
  292. package/lang/translations/uz.po +9 -1
  293. package/lang/translations/vi.po +9 -1
  294. package/lang/translations/zh-cn.po +9 -1
  295. package/lang/translations/zh.po +9 -1
  296. package/package.json +27 -5
  297. package/src/accessibility.d.ts +1 -1
  298. package/src/accessibility.js +1 -1
  299. package/src/augmentation.d.ts +1 -1
  300. package/src/augmentation.js +1 -1
  301. package/src/command.d.ts +1 -1
  302. package/src/command.js +1 -1
  303. package/src/commandcollection.d.ts +1 -1
  304. package/src/commandcollection.js +1 -1
  305. package/src/context.d.ts +1 -1
  306. package/src/context.js +1 -1
  307. package/src/contextplugin.d.ts +1 -1
  308. package/src/contextplugin.js +1 -1
  309. package/src/editingkeystrokehandler.d.ts +1 -1
  310. package/src/editingkeystrokehandler.js +1 -1
  311. package/src/editor/editor.d.ts +1 -1
  312. package/src/editor/editor.js +10 -4
  313. package/src/editor/editorconfig.d.ts +1 -1
  314. package/src/editor/editorconfig.js +1 -1
  315. package/src/editor/utils/attachtoform.d.ts +1 -1
  316. package/src/editor/utils/attachtoform.js +1 -1
  317. package/src/editor/utils/dataapimixin.d.ts +1 -1
  318. package/src/editor/utils/dataapimixin.js +1 -1
  319. package/src/editor/utils/editorusagedata.d.ts +1 -1
  320. package/src/editor/utils/editorusagedata.js +1 -1
  321. package/src/editor/utils/elementapimixin.d.ts +1 -1
  322. package/src/editor/utils/elementapimixin.js +1 -1
  323. package/src/editor/utils/securesourceelement.d.ts +1 -1
  324. package/src/editor/utils/securesourceelement.js +1 -1
  325. package/src/index.d.ts +3 -1
  326. package/src/index.js +6 -2
  327. package/src/multicommand.d.ts +1 -1
  328. package/src/multicommand.js +1 -1
  329. package/src/pendingactions.d.ts +1 -1
  330. package/src/pendingactions.js +1 -1
  331. package/src/plugin.d.ts +1 -1
  332. package/src/plugin.js +1 -1
  333. package/src/plugincollection.d.ts +1 -1
  334. package/src/plugincollection.js +1 -1
  335. package/src/typings.d.ts +1 -1
  336. package/src/typings.js +1 -1
  337. package/theme/icons/emoji.svg +1 -0
  338. package/theme/icons/source.svg +1 -0
  339. package/dist/accessibility.d.ts +0 -365
  340. package/dist/augmentation.d.ts +0 -14
  341. package/dist/command.d.ts +0 -193
  342. package/dist/commandcollection.d.ts +0 -87
  343. package/dist/context.d.ts +0 -241
  344. package/dist/contextplugin.d.ts +0 -73
  345. package/dist/editingkeystrokehandler.d.ts +0 -60
  346. package/dist/editor/editor.d.ts +0 -530
  347. package/dist/editor/editorconfig.d.ts +0 -994
  348. package/dist/editor/utils/attachtoform.d.ts +0 -19
  349. package/dist/editor/utils/dataapimixin.d.ts +0 -83
  350. package/dist/editor/utils/editorusagedata.d.ts +0 -72
  351. package/dist/editor/utils/elementapimixin.d.ts +0 -39
  352. package/dist/editor/utils/securesourceelement.d.ts +0 -21
  353. package/dist/index.d.ts +0 -97
  354. package/dist/multicommand.d.ts +0 -70
  355. package/dist/pendingactions.d.ts +0 -126
  356. package/dist/plugin.d.ts +0 -300
  357. package/dist/plugincollection.d.ts +0 -121
  358. package/dist/typings.d.ts +0 -16
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import type { default as Editor } from '../editor.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
package/src/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -86,8 +86,10 @@ export declare const icons: {
86
86
  indent: string;
87
87
  outdent: string;
88
88
  table: string;
89
+ source: string;
89
90
  remove: string;
90
91
  bookmark: string;
91
92
  bookmarkInline: string;
93
+ emoji: string;
92
94
  };
93
95
  import './augmentation.js';
package/src/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -79,9 +79,11 @@ import html from './../theme/icons/html.svg';
79
79
  import indent from './../theme/icons/indent.svg';
80
80
  import outdent from './../theme/icons/outdent.svg';
81
81
  import table from './../theme/icons/table.svg';
82
+ import source from './../theme/icons/source.svg';
82
83
  import remove from './../theme/icons/remove.svg';
83
84
  import bookmark from './../theme/icons/bookmark.svg';
84
85
  import bookmarkInline from './../theme/icons/bookmark_inline.svg';
86
+ import emoji from './../theme/icons/emoji.svg';
85
87
  export const icons = {
86
88
  bold,
87
89
  cancel,
@@ -146,8 +148,10 @@ export const icons = {
146
148
  indent,
147
149
  outdent,
148
150
  table,
151
+ source,
149
152
  remove,
150
153
  bookmark,
151
- bookmarkInline
154
+ bookmarkInline,
155
+ emoji
152
156
  };
153
157
  import './augmentation.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
package/src/plugin.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import type Editor from './editor/editor.js';
package/src/plugin.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import type { LoadedPlugins, PluginClassConstructor, PluginConstructor, PluginInterface } from './plugin.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
package/src/typings.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
package/src/typings.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  export {};
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M8.5 8.25a1.25 1.25 0 1 1-2.499.001A1.25 1.25 0 0 1 8.5 8.25Z"/><path clip-rule="evenodd" d="M14 8.25a1.25 1.25 0 1 1-2.499.001A1.25 1.25 0 0 1 14 8.25Z"/><path clip-rule="evenodd" d="M7.127 12.088a.75.75 0 1 0-1.254.824C6.88 14.444 8.423 15.25 10 15.25c1.578 0 3.12-.805 4.127-2.338a.75.75 0 0 0-1.254-.824C12.13 13.221 11.048 13.75 10 13.75c-1.047 0-2.13-.529-2.873-1.662Z"/><path d="M10 19a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0-1.5a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m12.5 0 5 4.5v15.003h-16V0h11zM3 1.5v3.25l-1.497 1-.003 8 1.5 1v3.254L7.685 18l-.001 1.504H17.5V8.002L16 9.428l-.004-4.22-4.222-3.692L3 1.5z"/><path d="M4.06 6.64a.75.75 0 0 1 .958 1.15l-.085.07L2.29 9.75l2.646 1.89c.302.216.4.62.232.951l-.058.095a.75.75 0 0 1-.951.232l-.095-.058-3.5-2.5V9.14l3.496-2.5zm4.194 6.22a.75.75 0 0 1-.958-1.149l.085-.07 2.643-1.89-2.646-1.89a.75.75 0 0 1-.232-.952l.058-.095a.75.75 0 0 1 .95-.232l.096.058 3.5 2.5v1.22l-3.496 2.5zm7.644-.836 2.122 2.122-5.825 5.809-2.125-.005.003-2.116zm2.539-1.847 1.414 1.414a.5.5 0 0 1 0 .707l-1.06 1.06-2.122-2.12 1.061-1.061a.5.5 0 0 1 .707 0z"/></svg>
@@ -1,365 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import type Editor from './editor/editor.js';
10
- export declare const DEFAULT_GROUP_ID: "common";
11
- /**
12
- * A common namespace for various accessibility features of the editor.
13
- *
14
- * **Information about editor keystrokes**
15
- *
16
- * * The information about keystrokes available in the editor is stored in the {@link #keystrokeInfos} property.
17
- * * New info entries can be added using the {@link #addKeystrokeInfoCategory}, {@link #addKeystrokeInfoGroup},
18
- * and {@link #addKeystrokeInfos} methods.
19
- */
20
- export default class Accessibility {
21
- /**
22
- * Stores information about keystrokes brought by editor features for the users to interact with the editor, mainly
23
- * keystroke combinations and their accessible labels.
24
- *
25
- * This information is particularly useful for screen reader and other assistive technology users. It gets displayed
26
- * by the {@link module:ui/editorui/accessibilityhelp/accessibilityhelp~AccessibilityHelp Accessibility help} dialog.
27
- *
28
- * Keystrokes are organized in categories and groups. They can be added using ({@link #addKeystrokeInfoCategory},
29
- * {@link #addKeystrokeInfoGroup}, and {@link #addKeystrokeInfos}) methods.
30
- *
31
- * Please note that:
32
- * * two categories are always available:
33
- * * `'contentEditing'` for keystrokes related to content creation,
34
- * * `'navigation'` for keystrokes related to navigation in the UI and the content.
35
- * * unless specified otherwise, new keystrokes are added into the `'contentEditing'` category and the `'common'`
36
- * keystroke group within that category while using the {@link #addKeystrokeInfos} method.
37
- */
38
- readonly keystrokeInfos: KeystrokeInfos;
39
- /**
40
- * The editor instance.
41
- */
42
- private readonly _editor;
43
- /**
44
- * @inheritDoc
45
- */
46
- constructor(editor: Editor);
47
- /**
48
- * Adds a top-level category in the {@link #keystrokeInfos keystroke information database} with a label and optional description.
49
- *
50
- * Categories organize keystrokes and help users to find the right keystroke. Each category can have multiple groups
51
- * of keystrokes that narrow down the context in which the keystrokes are available. Every keystroke category comes
52
- * with a `'common'` group by default.
53
- *
54
- * By default, two categories are available:
55
- * * `'contentEditing'` for keystrokes related to content creation,
56
- * * `'navigation'` for keystrokes related to navigation in the UI and the content.
57
- *
58
- * To create a new keystroke category with new groups, use the following code:
59
- *
60
- * ```js
61
- * class MyPlugin extends Plugin {
62
- * // ...
63
- * init() {
64
- * const editor = this.editor;
65
- * const t = editor.t;
66
- *
67
- * // ...
68
- *
69
- * editor.accessibility.addKeystrokeInfoCategory( {
70
- * id: 'myCategory',
71
- * label: t( 'My category' ),
72
- * description: t( 'My category description.' ),
73
- * groups: [
74
- * {
75
- * id: 'myGroup',
76
- * label: t( 'My keystroke group' ),
77
- * keystrokes: [
78
- * {
79
- * label: t( 'Keystroke label 1' ),
80
- * keystroke: 'Ctrl+Shift+N'
81
- * },
82
- * {
83
- * label: t( 'Keystroke label 2' ),
84
- * keystroke: 'Ctrl+Shift+M'
85
- * }
86
- * ]
87
- * }
88
- * ]
89
- * };
90
- * }
91
- * }
92
- * ```
93
- *
94
- * See {@link #keystrokeInfos}, {@link #addKeystrokeInfoGroup}, and {@link #addKeystrokeInfos}.
95
- */
96
- addKeystrokeInfoCategory({ id, label, description, groups }: AddKeystrokeInfoCategoryData): void;
97
- /**
98
- * Adds a group of keystrokes in a specific category to the {@link #keystrokeInfos keystroke information database}.
99
- *
100
- * Groups narrow down the context in which the keystrokes are available. When `categoryId` is not specified,
101
- * the group goes to the `'contentEditing'` category (default).
102
- *
103
- * To create a new group within an existing category, use the following code:
104
- *
105
- * ```js
106
- * class MyPlugin extends Plugin {
107
- * // ...
108
- * init() {
109
- * const editor = this.editor;
110
- * const t = editor.t;
111
- *
112
- * // ...
113
- *
114
- * editor.accessibility.addKeystrokeInfoGroup( {
115
- * id: 'myGroup',
116
- * categoryId: 'navigation',
117
- * label: t( 'My keystroke group' ),
118
- * keystrokes: [
119
- * {
120
- * label: t( 'Keystroke label 1' ),
121
- * keystroke: 'Ctrl+Shift+N'
122
- * },
123
- * {
124
- * label: t( 'Keystroke label 2' ),
125
- * keystroke: 'Ctrl+Shift+M'
126
- * }
127
- * ]
128
- * } );
129
- * }
130
- * }
131
- * ```
132
- *
133
- * See {@link #keystrokeInfos}, {@link #addKeystrokeInfoCategory}, and {@link #addKeystrokeInfos}.
134
- */
135
- addKeystrokeInfoGroup({ categoryId, id, label, keystrokes }: AddKeystrokeInfoGroupData): void;
136
- /**
137
- * Adds information about keystrokes to the {@link #keystrokeInfos keystroke information database}.
138
- *
139
- * Keystrokes without specified `groupId` or `categoryId` go to the `'common'` group in the `'contentEditing'` category (default).
140
- *
141
- * To add a keystroke brought by your plugin (using default group and category), use the following code:
142
- *
143
- * ```js
144
- * class MyPlugin extends Plugin {
145
- * // ...
146
- * init() {
147
- * const editor = this.editor;
148
- * const t = editor.t;
149
- *
150
- * // ...
151
- *
152
- * editor.accessibility.addKeystrokeInfos( {
153
- * keystrokes: [
154
- * {
155
- * label: t( 'Keystroke label' ),
156
- * keystroke: 'CTRL+B'
157
- * }
158
- * ]
159
- * } );
160
- * }
161
- * }
162
- * ```
163
- * To add a keystroke in a specific existing `'widget'` group in the default `'contentEditing'` category:
164
- *
165
- * ```js
166
- * class MyPlugin extends Plugin {
167
- * // ...
168
- * init() {
169
- * const editor = this.editor;
170
- * const t = editor.t;
171
- *
172
- * // ...
173
- *
174
- * editor.accessibility.addKeystrokeInfos( {
175
- * // Add a keystroke to the existing "widget" group.
176
- * groupId: 'widget',
177
- * keystrokes: [
178
- * {
179
- * label: t( 'A an action on a selected widget' ),
180
- * keystroke: 'Ctrl+D',
181
- * }
182
- * ]
183
- * } );
184
- * }
185
- * }
186
- * ```
187
- *
188
- * To add a keystroke to another existing category (using default group):
189
- *
190
- * ```js
191
- * class MyPlugin extends Plugin {
192
- * // ...
193
- * init() {
194
- * const editor = this.editor;
195
- * const t = editor.t;
196
- *
197
- * // ...
198
- *
199
- * editor.accessibility.addKeystrokeInfos( {
200
- * // Add keystrokes to the "navigation" category (one of defaults).
201
- * categoryId: 'navigation',
202
- * keystrokes: [
203
- * {
204
- * label: t( 'Keystroke label' ),
205
- * keystroke: 'CTRL+B'
206
- * }
207
- * ]
208
- * } );
209
- * }
210
- * }
211
- * ```
212
- *
213
- * See {@link #keystrokeInfos}, {@link #addKeystrokeInfoGroup}, and {@link #addKeystrokeInfoCategory}.
214
- */
215
- addKeystrokeInfos({ categoryId, groupId, keystrokes }: AddKeystrokeInfosData): void;
216
- }
217
- /**
218
- * A description of category of keystrokes accepted by the {@link module:core/accessibility~Accessibility#addKeystrokeInfoCategory} method.
219
- *
220
- * Top-level categories organize keystrokes and help users to find the right keystroke. Each category can have multiple groups of
221
- * keystrokes that narrow down the context in which the keystrokes are available.
222
- *
223
- * See {@link module:core/accessibility~Accessibility#addKeystrokeInfoGroup} and
224
- * {@link module:core/accessibility~Accessibility#addKeystrokeInfos}.
225
- */
226
- export interface AddKeystrokeInfoCategoryData {
227
- /**
228
- * The unique id of the category.
229
- */
230
- id: string;
231
- /**
232
- * The label of the category.
233
- */
234
- label: string;
235
- /**
236
- * The description of the category (optional).
237
- */
238
- description?: string;
239
- /**
240
- * Groups of keystrokes within the category.
241
- */
242
- groups?: Array<AddKeystrokeInfoGroupData>;
243
- }
244
- /**
245
- * A description of keystroke group accepted by the {@link module:core/accessibility~Accessibility#addKeystrokeInfoGroup} method.
246
- *
247
- * Groups narrow down the context in which the keystrokes are available. When `categoryId` is not specified, the group goes
248
- * to the `'contentEditing'` category (default).
249
- *
250
- * See {@link module:core/accessibility~Accessibility#addKeystrokeInfoCategory} and
251
- * {@link module:core/accessibility~Accessibility#addKeystrokeInfos}.
252
- */
253
- export interface AddKeystrokeInfoGroupData {
254
- /**
255
- * The category id the group belongs to.
256
- */
257
- categoryId?: string;
258
- /**
259
- * The unique id of the group.
260
- */
261
- id: string;
262
- /**
263
- * The label of the group (optional).
264
- */
265
- label?: string;
266
- /**
267
- * Keystroke definitions within the group.
268
- */
269
- keystrokes?: Array<KeystrokeInfoDefinition>;
270
- }
271
- /**
272
- * Description of keystrokes accepted by the {@link module:core/accessibility~Accessibility#addKeystrokeInfos} method.
273
- *
274
- * Keystrokes without specified `groupId` or `categoryId` go to the `'common'` group in the `'contentEditing'` category (default).
275
- *
276
- * See {@link module:core/accessibility~Accessibility#addKeystrokeInfoCategory} and
277
- * {@link module:core/accessibility~Accessibility#addKeystrokeInfoGroup}.
278
- */
279
- export interface AddKeystrokeInfosData {
280
- /**
281
- * The category id the keystrokes belong to.
282
- */
283
- categoryId?: string;
284
- /**
285
- * The group id the keystrokes belong to.
286
- */
287
- groupId?: string;
288
- /**
289
- * An array of keystroke definitions.
290
- */
291
- keystrokes: Array<KeystrokeInfoDefinition>;
292
- }
293
- export type KeystrokeInfos = Map<string, KeystrokeInfoCategory>;
294
- /**
295
- * A category of keystrokes in {@link module:core/accessibility~Accessibility#keystrokeInfos}.
296
- */
297
- export type KeystrokeInfoCategory = {
298
- /**
299
- * The unique id of the category.
300
- */
301
- id: string;
302
- /**
303
- * The label of the category.
304
- */
305
- label: string;
306
- /**
307
- * The description of the category (optional).
308
- */
309
- description?: string;
310
- /**
311
- * Groups of keystrokes within the category.
312
- */
313
- groups: Map<string, KeystrokeInfoGroup>;
314
- };
315
- /**
316
- * A group of keystrokes in {@link module:core/accessibility~Accessibility#keystrokeInfos}.
317
- */
318
- export type KeystrokeInfoGroup = {
319
- /**
320
- * The unique id of the group.
321
- */
322
- id: string;
323
- /**
324
- * The label of the group (optional).
325
- */
326
- label?: string;
327
- /**
328
- * Keystroke definitions within the group.
329
- */
330
- keystrokes: Array<KeystrokeInfoDefinition>;
331
- };
332
- /**
333
- * A keystroke info definition in {@link module:core/accessibility~Accessibility#keystrokeInfos}
334
- */
335
- export interface KeystrokeInfoDefinition {
336
- /**
337
- * The label of the keystroke. It should briefly describe the action that the keystroke performs. It may contain HTML.
338
- */
339
- label: string;
340
- /**
341
- * The keystroke string. In its basic form, it must be a combination of {@link module:utils/keyboard#keyCodes known key names}
342
- * joined by the `+` sign, the same as the keystroke format accepted by the
343
- * {@link module:utils/keystrokehandler~KeystrokeHandler#set `KeystrokeHandler#set()`} method used to register most of the
344
- * keystroke interactions in the editor.
345
- *
346
- * * The keystroke string can represent a single keystroke, for instance: `keystroke: 'Ctrl+B'`, `keystroke: 'Shift+Enter'`,
347
- * `keystroke: 'Alt+F10'`, etc.
348
- * * The keystroke can be activated by successive press of multiple keys. For instance `keystroke: [ [ 'arrowleft', 'arrowleft' ] ]`
349
- * will indicate that a specific action will be performed by pressing <kbd>←</kbd> twice in a row.
350
- * * Keystrokes can have alternatives. For instance `keystroke: [ [ 'Ctrl+Y' ], [ 'Ctrl+Shift+Z' ] ]` will indicate that
351
- * a specific action can be performed by pressing either <kbd>Ctrl</kbd> + <kbd>Y</kbd> or
352
- * <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Z</kbd>.
353
- *
354
- * Please note that the keystrokes are automatically translated to the environment-specific form. For example, `Ctrl+A`
355
- * will be rendered as `⌘A` in the {@link module:utils/env~EnvType#isMac Mac environment}. Always use the IBM PC keyboard
356
- * syntax, for instance `Ctrl` instead of `⌘`, `Alt` instead of `⌥`, etc.
357
- */
358
- keystroke: string | Array<string> | Array<Array<string>>;
359
- /**
360
- * This (optional) flag suggests that the keystroke(s) may require a function (<kbd>Fn</kbd>) key to be pressed
361
- * in order to work in the {@link module:utils/env~EnvType#isMac Mac environment}. If set `true`, an additional
362
- * information will be displayed next to the keystroke.
363
- */
364
- mayRequireFn?: boolean;
365
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import type { PendingActions } from './index.js';
10
- declare module '@ckeditor/ckeditor5-core' {
11
- interface PluginsMap {
12
- [PendingActions.pluginName]: PendingActions;
13
- }
14
- }