@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
@@ -1,19 +1,19 @@
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
6
  * @module basic-styles/subscript/subscriptui
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { IconSubscript } from 'ckeditor5/src/icons.js';
9
10
  import { ButtonView, MenuBarMenuListItemButtonView } from 'ckeditor5/src/ui.js';
10
11
  import { getButtonCreator } from '../utils.js';
11
- import subscriptIcon from '../../theme/icons/subscript.svg';
12
12
  const SUBSCRIPT = 'subscript';
13
13
  /**
14
14
  * The subscript UI feature. It introduces the Subscript button.
15
15
  */
16
- export default class SubscriptUI extends Plugin {
16
+ export class SubscriptUI extends Plugin {
17
17
  /**
18
18
  * @inheritDoc
19
19
  */
@@ -36,7 +36,7 @@ export default class SubscriptUI extends Plugin {
36
36
  editor,
37
37
  commandName: SUBSCRIPT,
38
38
  plugin: this,
39
- icon: subscriptIcon,
39
+ icon: IconSubscript,
40
40
  label: t('Subscript')
41
41
  });
42
42
  // Add subscript button to feature components.
@@ -1,20 +1,20 @@
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
6
  * @module basic-styles/subscript
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import SubscriptEditing from './subscript/subscriptediting.js';
10
- import SubscriptUI from './subscript/subscriptui.js';
9
+ import { SubscriptEditing } from './subscript/subscriptediting.js';
10
+ import { SubscriptUI } from './subscript/subscriptui.js';
11
11
  /**
12
12
  * The subscript feature.
13
13
  *
14
14
  * It loads the {@link module:basic-styles/subscript/subscriptediting~SubscriptEditing} and
15
15
  * {@link module:basic-styles/subscript/subscriptui~SubscriptUI} plugins.
16
16
  */
17
- export default class Subscript extends Plugin {
17
+ export declare class Subscript extends Plugin {
18
18
  /**
19
19
  * @inheritDoc
20
20
  */
package/src/subscript.js CHANGED
@@ -1,20 +1,20 @@
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
6
  * @module basic-styles/subscript
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import SubscriptEditing from './subscript/subscriptediting.js';
10
- import SubscriptUI from './subscript/subscriptui.js';
9
+ import { SubscriptEditing } from './subscript/subscriptediting.js';
10
+ import { SubscriptUI } from './subscript/subscriptui.js';
11
11
  /**
12
12
  * The subscript feature.
13
13
  *
14
14
  * It loads the {@link module:basic-styles/subscript/subscriptediting~SubscriptEditing} and
15
15
  * {@link module:basic-styles/subscript/subscriptui~SubscriptUI} plugins.
16
16
  */
17
- export default class Subscript extends Plugin {
17
+ export class Subscript extends Plugin {
18
18
  /**
19
19
  * @inheritDoc
20
20
  */
@@ -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
  /**
6
6
  * @module basic-styles/superscript/superscriptediting
@@ -12,7 +12,7 @@ import { Plugin } from 'ckeditor5/src/core.js';
12
12
  * It registers the `super` command and introduces the `super` attribute in the model which renders to the view
13
13
  * as a `<super>` element.
14
14
  */
15
- export default class SuperscriptEditing extends Plugin {
15
+ export declare class SuperscriptEditing extends Plugin {
16
16
  /**
17
17
  * @inheritDoc
18
18
  */
@@ -1,12 +1,12 @@
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
6
  * @module basic-styles/superscript/superscriptediting
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import AttributeCommand from '../attributecommand.js';
9
+ import { AttributeCommand } from '../attributecommand.js';
10
10
  const SUPERSCRIPT = 'superscript';
11
11
  /**
12
12
  * The superscript editing feature.
@@ -14,7 +14,7 @@ const SUPERSCRIPT = 'superscript';
14
14
  * It registers the `super` command and introduces the `super` attribute in the model which renders to the view
15
15
  * as a `<super>` element.
16
16
  */
17
- export default class SuperscriptEditing extends Plugin {
17
+ export class SuperscriptEditing extends Plugin {
18
18
  /**
19
19
  * @inheritDoc
20
20
  */
@@ -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
  /**
6
6
  * @module basic-styles/superscript/superscriptui
@@ -9,7 +9,7 @@ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The superscript UI feature. It introduces the Superscript button.
11
11
  */
12
- export default class SuperscriptUI extends Plugin {
12
+ export declare class SuperscriptUI extends Plugin {
13
13
  /**
14
14
  * @inheritDoc
15
15
  */
@@ -1,19 +1,19 @@
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
6
  * @module basic-styles/superscript/superscriptui
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { IconSuperscript } from 'ckeditor5/src/icons.js';
9
10
  import { ButtonView, MenuBarMenuListItemButtonView } from 'ckeditor5/src/ui.js';
10
11
  import { getButtonCreator } from '../utils.js';
11
- import superscriptIcon from '../../theme/icons/superscript.svg';
12
12
  const SUPERSCRIPT = 'superscript';
13
13
  /**
14
14
  * The superscript UI feature. It introduces the Superscript button.
15
15
  */
16
- export default class SuperscriptUI extends Plugin {
16
+ export class SuperscriptUI extends Plugin {
17
17
  /**
18
18
  * @inheritDoc
19
19
  */
@@ -36,7 +36,7 @@ export default class SuperscriptUI extends Plugin {
36
36
  editor,
37
37
  commandName: SUPERSCRIPT,
38
38
  plugin: this,
39
- icon: superscriptIcon,
39
+ icon: IconSuperscript,
40
40
  label: t('Superscript')
41
41
  });
42
42
  // Add superscript button to feature components.
@@ -1,20 +1,20 @@
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
6
  * @module basic-styles/superscript
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import SuperscriptEditing from './superscript/superscriptediting.js';
10
- import SuperscriptUI from './superscript/superscriptui.js';
9
+ import { SuperscriptEditing } from './superscript/superscriptediting.js';
10
+ import { SuperscriptUI } from './superscript/superscriptui.js';
11
11
  /**
12
12
  * The superscript feature.
13
13
  *
14
14
  * It loads the {@link module:basic-styles/superscript/superscriptediting~SuperscriptEditing} and
15
15
  * {@link module:basic-styles/superscript/superscriptui~SuperscriptUI} plugins.
16
16
  */
17
- export default class Superscript extends Plugin {
17
+ export declare class Superscript extends Plugin {
18
18
  /**
19
19
  * @inheritDoc
20
20
  */
@@ -1,20 +1,20 @@
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
6
  * @module basic-styles/superscript
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import SuperscriptEditing from './superscript/superscriptediting.js';
10
- import SuperscriptUI from './superscript/superscriptui.js';
9
+ import { SuperscriptEditing } from './superscript/superscriptediting.js';
10
+ import { SuperscriptUI } from './superscript/superscriptui.js';
11
11
  /**
12
12
  * The superscript feature.
13
13
  *
14
14
  * It loads the {@link module:basic-styles/superscript/superscriptediting~SuperscriptEditing} and
15
15
  * {@link module:basic-styles/superscript/superscriptui~SuperscriptUI} plugins.
16
16
  */
17
- export default class Superscript extends Plugin {
17
+ export class Superscript extends Plugin {
18
18
  /**
19
19
  * @inheritDoc
20
20
  */
@@ -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
  /**
6
6
  * @module basic-styles/underline/underlineediting
@@ -12,7 +12,7 @@ import { Plugin } from 'ckeditor5/src/core.js';
12
12
  * It registers the `'underline'` command, the <kbd>Ctrl+U</kbd> keystroke
13
13
  * and introduces the `underline` attribute in the model which renders to the view as an `<u>` element.
14
14
  */
15
- export default class UnderlineEditing extends Plugin {
15
+ export declare class UnderlineEditing extends Plugin {
16
16
  /**
17
17
  * @inheritDoc
18
18
  */
@@ -1,12 +1,12 @@
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
6
  * @module basic-styles/underline/underlineediting
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import AttributeCommand from '../attributecommand.js';
9
+ import { AttributeCommand } from '../attributecommand.js';
10
10
  const UNDERLINE = 'underline';
11
11
  /**
12
12
  * The underline editing feature.
@@ -14,7 +14,7 @@ const UNDERLINE = 'underline';
14
14
  * It registers the `'underline'` command, the <kbd>Ctrl+U</kbd> keystroke
15
15
  * and introduces the `underline` attribute in the model which renders to the view as an `<u>` element.
16
16
  */
17
- export default class UnderlineEditing extends Plugin {
17
+ export class UnderlineEditing extends Plugin {
18
18
  /**
19
19
  * @inheritDoc
20
20
  */
@@ -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
  /**
6
6
  * @module basic-styles/underline/underlineui
@@ -9,7 +9,7 @@ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The underline UI feature. It introduces the Underline button.
11
11
  */
12
- export default class UnderlineUI extends Plugin {
12
+ export declare class UnderlineUI extends Plugin {
13
13
  /**
14
14
  * @inheritDoc
15
15
  */
@@ -1,19 +1,19 @@
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
6
  * @module basic-styles/underline/underlineui
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { IconUnderline } from 'ckeditor5/src/icons.js';
9
10
  import { ButtonView, MenuBarMenuListItemButtonView } from 'ckeditor5/src/ui.js';
10
11
  import { getButtonCreator } from '../utils.js';
11
- import underlineIcon from '../../theme/icons/underline.svg';
12
12
  const UNDERLINE = 'underline';
13
13
  /**
14
14
  * The underline UI feature. It introduces the Underline button.
15
15
  */
16
- export default class UnderlineUI extends Plugin {
16
+ export class UnderlineUI extends Plugin {
17
17
  /**
18
18
  * @inheritDoc
19
19
  */
@@ -36,7 +36,7 @@ export default class UnderlineUI extends Plugin {
36
36
  editor,
37
37
  commandName: UNDERLINE,
38
38
  plugin: this,
39
- icon: underlineIcon,
39
+ icon: IconUnderline,
40
40
  label: t('Underline'),
41
41
  keystroke: 'CTRL+U'
42
42
  });
@@ -1,13 +1,13 @@
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
6
  * @module basic-styles/underline
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import UnderlineEditing from './underline/underlineediting.js';
10
- import UnderlineUI from './underline/underlineui.js';
9
+ import { UnderlineEditing } from './underline/underlineediting.js';
10
+ import { UnderlineUI } from './underline/underlineui.js';
11
11
  /**
12
12
  * The underline feature.
13
13
  *
@@ -17,7 +17,7 @@ import UnderlineUI from './underline/underlineui.js';
17
17
  * This is a "glue" plugin which loads the {@link module:basic-styles/underline/underlineediting~UnderlineEditing} and
18
18
  * {@link module:basic-styles/underline/underlineui~UnderlineUI} plugins.
19
19
  */
20
- export default class Underline extends Plugin {
20
+ export declare class Underline extends Plugin {
21
21
  /**
22
22
  * @inheritDoc
23
23
  */
package/src/underline.js CHANGED
@@ -1,13 +1,13 @@
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
6
  * @module basic-styles/underline
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import UnderlineEditing from './underline/underlineediting.js';
10
- import UnderlineUI from './underline/underlineui.js';
9
+ import { UnderlineEditing } from './underline/underlineediting.js';
10
+ import { UnderlineUI } from './underline/underlineui.js';
11
11
  /**
12
12
  * The underline feature.
13
13
  *
@@ -17,7 +17,7 @@ import UnderlineUI from './underline/underlineui.js';
17
17
  * This is a "glue" plugin which loads the {@link module:basic-styles/underline/underlineediting~UnderlineEditing} and
18
18
  * {@link module:basic-styles/underline/underlineui~UnderlineUI} plugins.
19
19
  */
20
- export default class Underline extends Plugin {
20
+ export class Underline extends Plugin {
21
21
  /**
22
22
  * @inheritDoc
23
23
  */
package/src/utils.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
6
6
  * @module basic-styles/utils
@@ -9,6 +9,8 @@ import type { Editor, Plugin } from 'ckeditor5/src/core.js';
9
9
  import { MenuBarMenuListItemButtonView, type ButtonView } from 'ckeditor5/src/ui.js';
10
10
  /**
11
11
  * Returns a function that creates a (toolbar or menu bar) button for a basic style feature.
12
+ *
13
+ * @internal
12
14
  */
13
15
  export declare function getButtonCreator({ editor, commandName, plugin, icon, label, keystroke }: {
14
16
  editor: Editor;
package/src/utils.js CHANGED
@@ -1,10 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import { MenuBarMenuListItemButtonView } from 'ckeditor5/src/ui.js';
6
6
  /**
7
7
  * Returns a function that creates a (toolbar or menu bar) button for a basic style feature.
8
+ *
9
+ * @internal
8
10
  */
9
11
  export function getButtonCreator({ editor, commandName, plugin, icon, label, keystroke }) {
10
12
  return (ButtonClass) => {
package/theme/code.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /*
2
- * 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
+ * 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
6
  .ck-content code {
@@ -1,78 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module basic-styles/attributecommand
11
- */
12
- import { Command, type Editor } from 'ckeditor5/src/core.js';
13
- /**
14
- * An extension of the base {@link module:core/command~Command} class, which provides utilities for a command
15
- * that toggles a single attribute on a text or an element.
16
- *
17
- * `AttributeCommand` uses {@link module:engine/model/document~Document#selection}
18
- * to decide which nodes (if any) should be changed, and applies or removes the attribute from them.
19
- *
20
- * The command checks the {@link module:engine/model/model~Model#schema} to decide if it can be enabled
21
- * for the current selection and to which nodes the attribute can be applied.
22
- */
23
- export default class AttributeCommand extends Command {
24
- /**
25
- * Flag indicating whether the command is active. The command is active when the
26
- * {@link module:engine/model/selection~Selection#hasAttribute selection has the attribute} which means that:
27
- *
28
- * * If the selection is not empty &ndash; That the attribute is set on the first node in the selection that allows this attribute.
29
- * * If the selection is empty &ndash; That the selection has the attribute itself (which means that newly typed
30
- * text will have this attribute, too).
31
- *
32
- * @observable
33
- * @readonly
34
- */
35
- value: boolean;
36
- /**
37
- * The attribute that will be set by the command.
38
- */
39
- readonly attributeKey: string;
40
- /**
41
- * @param attributeKey Attribute that will be set by the command.
42
- */
43
- constructor(editor: Editor, attributeKey: string);
44
- /**
45
- * Updates the command's {@link #value} and {@link #isEnabled} based on the current selection.
46
- */
47
- refresh(): void;
48
- /**
49
- * Executes the command &ndash; applies the attribute to the selection or removes it from the selection.
50
- *
51
- * If the command is active (`value == true`), it will remove attributes. Otherwise, it will set attributes.
52
- *
53
- * The execution result differs, depending on the {@link module:engine/model/document~Document#selection}:
54
- *
55
- * * If the selection is on a range, the command applies the attribute to all nodes in that range
56
- * (if they are allowed to have this attribute by the {@link module:engine/model/schema~Schema schema}).
57
- * * If the selection is collapsed in a non-empty node, the command applies the attribute to the
58
- * {@link module:engine/model/document~Document#selection} itself (note that typed characters copy attributes from the selection).
59
- * * If the selection is collapsed in an empty node, the command applies the attribute to the parent node of the selection (note
60
- * that the selection inherits all attributes from a node if it is in an empty node).
61
- *
62
- * @fires execute
63
- * @param options Command options.
64
- * @param options.forceValue If set, it will force the command behavior. If `true`,
65
- * the command will apply the attribute, otherwise the command will remove the attribute.
66
- * If not set, the command will look for its current value to decide what it should do.
67
- */
68
- execute(options?: {
69
- forceValue?: boolean;
70
- }): void;
71
- /**
72
- * Checks the attribute value of the first node in the selection that allows the attribute.
73
- * For the collapsed selection returns the selection attribute.
74
- *
75
- * @returns The attribute value.
76
- */
77
- private _getValueFromFirstAllowedNode;
78
- }
@@ -1,44 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- import type { Superscript, Subscript, Bold, Code, AttributeCommand, BoldUI, CodeEditing, CodeUI, Italic, ItalicEditing, ItalicUI, Strikethrough, StrikethroughEditing, StrikethroughUI, SubscriptEditing, SubscriptUI, SuperscriptEditing, SuperscriptUI, Underline, UnderlineEditing, UnderlineUI } from './index.js';
10
- declare module '@ckeditor/ckeditor5-core' {
11
- interface PluginsMap {
12
- [Superscript.pluginName]: Superscript;
13
- [Subscript.pluginName]: Subscript;
14
- [Bold.pluginName]: Bold;
15
- [Code.pluginName]: Code;
16
- [Code.pluginName]: Code;
17
- [Code.pluginName]: Code;
18
- [BoldUI.pluginName]: BoldUI;
19
- [CodeEditing.pluginName]: CodeEditing;
20
- [CodeUI.pluginName]: CodeUI;
21
- [Italic.pluginName]: Italic;
22
- [ItalicEditing.pluginName]: ItalicEditing;
23
- [ItalicUI.pluginName]: ItalicUI;
24
- [Strikethrough.pluginName]: Strikethrough;
25
- [StrikethroughEditing.pluginName]: StrikethroughEditing;
26
- [StrikethroughUI.pluginName]: StrikethroughUI;
27
- [SubscriptEditing.pluginName]: SubscriptEditing;
28
- [SubscriptUI.pluginName]: SubscriptUI;
29
- [SuperscriptEditing.pluginName]: SuperscriptEditing;
30
- [SuperscriptUI.pluginName]: SuperscriptUI;
31
- [Underline.pluginName]: Underline;
32
- [UnderlineEditing.pluginName]: UnderlineEditing;
33
- [UnderlineUI.pluginName]: UnderlineUI;
34
- }
35
- interface CommandsMap {
36
- bold: AttributeCommand;
37
- code: AttributeCommand;
38
- italic: AttributeCommand;
39
- strikethrough: AttributeCommand;
40
- subscript: AttributeCommand;
41
- superscript: AttributeCommand;
42
- underline: AttributeCommand;
43
- }
44
- }
@@ -1,32 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module basic-styles/bold/boldediting
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- /**
14
- * The bold editing feature.
15
- *
16
- * It registers the `'bold'` command and introduces the `bold` attribute in the model which renders to the view
17
- * as a `<strong>` element.
18
- */
19
- export default class BoldEditing extends Plugin {
20
- /**
21
- * @inheritDoc
22
- */
23
- static get pluginName(): "BoldEditing";
24
- /**
25
- * @inheritDoc
26
- */
27
- static get isOfficialPlugin(): true;
28
- /**
29
- * @inheritDoc
30
- */
31
- init(): void;
32
- }
@@ -1,29 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module basic-styles/bold/boldui
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- /**
14
- * The bold UI feature. It introduces the Bold button.
15
- */
16
- export default class BoldUI extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- static get pluginName(): "BoldUI";
21
- /**
22
- * @inheritDoc
23
- */
24
- static get isOfficialPlugin(): true;
25
- /**
26
- * @inheritDoc
27
- */
28
- init(): void;
29
- }