@ckeditor/ckeditor5-basic-styles 41.3.1 → 41.4.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 (247) hide show
  1. package/build/translations/ti.js +1 -0
  2. package/dist/index-content.css +9 -0
  3. package/dist/index-editor.css +7 -0
  4. package/dist/index.css +20 -0
  5. package/dist/index.css.map +1 -0
  6. package/dist/index.js +831 -0
  7. package/dist/index.js.map +1 -0
  8. package/dist/translations/af.d.ts +8 -0
  9. package/dist/translations/af.js +5 -0
  10. package/dist/translations/af.umd.js +11 -0
  11. package/dist/translations/ar.d.ts +8 -0
  12. package/dist/translations/ar.js +5 -0
  13. package/dist/translations/ar.umd.js +11 -0
  14. package/dist/translations/ast.d.ts +8 -0
  15. package/dist/translations/ast.js +5 -0
  16. package/dist/translations/ast.umd.js +11 -0
  17. package/dist/translations/az.d.ts +8 -0
  18. package/dist/translations/az.js +5 -0
  19. package/dist/translations/az.umd.js +11 -0
  20. package/dist/translations/bg.d.ts +8 -0
  21. package/dist/translations/bg.js +5 -0
  22. package/dist/translations/bg.umd.js +11 -0
  23. package/dist/translations/bn.d.ts +8 -0
  24. package/dist/translations/bn.js +5 -0
  25. package/dist/translations/bn.umd.js +11 -0
  26. package/dist/translations/bs.d.ts +8 -0
  27. package/dist/translations/bs.js +5 -0
  28. package/dist/translations/bs.umd.js +11 -0
  29. package/dist/translations/ca.d.ts +8 -0
  30. package/dist/translations/ca.js +5 -0
  31. package/dist/translations/ca.umd.js +11 -0
  32. package/dist/translations/cs.d.ts +8 -0
  33. package/dist/translations/cs.js +5 -0
  34. package/dist/translations/cs.umd.js +11 -0
  35. package/dist/translations/da.d.ts +8 -0
  36. package/dist/translations/da.js +5 -0
  37. package/dist/translations/da.umd.js +11 -0
  38. package/dist/translations/de-ch.d.ts +8 -0
  39. package/dist/translations/de-ch.js +5 -0
  40. package/dist/translations/de-ch.umd.js +11 -0
  41. package/dist/translations/de.d.ts +8 -0
  42. package/dist/translations/de.js +5 -0
  43. package/dist/translations/de.umd.js +11 -0
  44. package/dist/translations/el.d.ts +8 -0
  45. package/dist/translations/el.js +5 -0
  46. package/dist/translations/el.umd.js +11 -0
  47. package/dist/translations/en-au.d.ts +8 -0
  48. package/dist/translations/en-au.js +5 -0
  49. package/dist/translations/en-au.umd.js +11 -0
  50. package/dist/translations/en-gb.d.ts +8 -0
  51. package/dist/translations/en-gb.js +5 -0
  52. package/dist/translations/en-gb.umd.js +11 -0
  53. package/dist/translations/en.d.ts +8 -0
  54. package/dist/translations/en.js +5 -0
  55. package/dist/translations/en.umd.js +11 -0
  56. package/dist/translations/eo.d.ts +8 -0
  57. package/dist/translations/eo.js +5 -0
  58. package/dist/translations/eo.umd.js +11 -0
  59. package/dist/translations/es-co.d.ts +8 -0
  60. package/dist/translations/es-co.js +5 -0
  61. package/dist/translations/es-co.umd.js +11 -0
  62. package/dist/translations/es.d.ts +8 -0
  63. package/dist/translations/es.js +5 -0
  64. package/dist/translations/es.umd.js +11 -0
  65. package/dist/translations/et.d.ts +8 -0
  66. package/dist/translations/et.js +5 -0
  67. package/dist/translations/et.umd.js +11 -0
  68. package/dist/translations/eu.d.ts +8 -0
  69. package/dist/translations/eu.js +5 -0
  70. package/dist/translations/eu.umd.js +11 -0
  71. package/dist/translations/fa.d.ts +8 -0
  72. package/dist/translations/fa.js +5 -0
  73. package/dist/translations/fa.umd.js +11 -0
  74. package/dist/translations/fi.d.ts +8 -0
  75. package/dist/translations/fi.js +5 -0
  76. package/dist/translations/fi.umd.js +11 -0
  77. package/dist/translations/fr.d.ts +8 -0
  78. package/dist/translations/fr.js +5 -0
  79. package/dist/translations/fr.umd.js +11 -0
  80. package/dist/translations/gl.d.ts +8 -0
  81. package/dist/translations/gl.js +5 -0
  82. package/dist/translations/gl.umd.js +11 -0
  83. package/dist/translations/gu.d.ts +8 -0
  84. package/dist/translations/gu.js +5 -0
  85. package/dist/translations/gu.umd.js +11 -0
  86. package/dist/translations/he.d.ts +8 -0
  87. package/dist/translations/he.js +5 -0
  88. package/dist/translations/he.umd.js +11 -0
  89. package/dist/translations/hi.d.ts +8 -0
  90. package/dist/translations/hi.js +5 -0
  91. package/dist/translations/hi.umd.js +11 -0
  92. package/dist/translations/hr.d.ts +8 -0
  93. package/dist/translations/hr.js +5 -0
  94. package/dist/translations/hr.umd.js +11 -0
  95. package/dist/translations/hu.d.ts +8 -0
  96. package/dist/translations/hu.js +5 -0
  97. package/dist/translations/hu.umd.js +11 -0
  98. package/dist/translations/hy.d.ts +8 -0
  99. package/dist/translations/hy.js +5 -0
  100. package/dist/translations/hy.umd.js +11 -0
  101. package/dist/translations/id.d.ts +8 -0
  102. package/dist/translations/id.js +5 -0
  103. package/dist/translations/id.umd.js +11 -0
  104. package/dist/translations/it.d.ts +8 -0
  105. package/dist/translations/it.js +5 -0
  106. package/dist/translations/it.umd.js +11 -0
  107. package/dist/translations/ja.d.ts +8 -0
  108. package/dist/translations/ja.js +5 -0
  109. package/dist/translations/ja.umd.js +11 -0
  110. package/dist/translations/jv.d.ts +8 -0
  111. package/dist/translations/jv.js +5 -0
  112. package/dist/translations/jv.umd.js +11 -0
  113. package/dist/translations/km.d.ts +8 -0
  114. package/dist/translations/km.js +5 -0
  115. package/dist/translations/km.umd.js +11 -0
  116. package/dist/translations/kn.d.ts +8 -0
  117. package/dist/translations/kn.js +5 -0
  118. package/dist/translations/kn.umd.js +11 -0
  119. package/dist/translations/ko.d.ts +8 -0
  120. package/dist/translations/ko.js +5 -0
  121. package/dist/translations/ko.umd.js +11 -0
  122. package/dist/translations/ku.d.ts +8 -0
  123. package/dist/translations/ku.js +5 -0
  124. package/dist/translations/ku.umd.js +11 -0
  125. package/dist/translations/lt.d.ts +8 -0
  126. package/dist/translations/lt.js +5 -0
  127. package/dist/translations/lt.umd.js +11 -0
  128. package/dist/translations/lv.d.ts +8 -0
  129. package/dist/translations/lv.js +5 -0
  130. package/dist/translations/lv.umd.js +11 -0
  131. package/dist/translations/ms.d.ts +8 -0
  132. package/dist/translations/ms.js +5 -0
  133. package/dist/translations/ms.umd.js +11 -0
  134. package/dist/translations/nb.d.ts +8 -0
  135. package/dist/translations/nb.js +5 -0
  136. package/dist/translations/nb.umd.js +11 -0
  137. package/dist/translations/ne.d.ts +8 -0
  138. package/dist/translations/ne.js +5 -0
  139. package/dist/translations/ne.umd.js +11 -0
  140. package/dist/translations/nl.d.ts +8 -0
  141. package/dist/translations/nl.js +5 -0
  142. package/dist/translations/nl.umd.js +11 -0
  143. package/dist/translations/no.d.ts +8 -0
  144. package/dist/translations/no.js +5 -0
  145. package/dist/translations/no.umd.js +11 -0
  146. package/dist/translations/oc.d.ts +8 -0
  147. package/dist/translations/oc.js +5 -0
  148. package/dist/translations/oc.umd.js +11 -0
  149. package/dist/translations/pl.d.ts +8 -0
  150. package/dist/translations/pl.js +5 -0
  151. package/dist/translations/pl.umd.js +11 -0
  152. package/dist/translations/pt-br.d.ts +8 -0
  153. package/dist/translations/pt-br.js +5 -0
  154. package/dist/translations/pt-br.umd.js +11 -0
  155. package/dist/translations/pt.d.ts +8 -0
  156. package/dist/translations/pt.js +5 -0
  157. package/dist/translations/pt.umd.js +11 -0
  158. package/dist/translations/ro.d.ts +8 -0
  159. package/dist/translations/ro.js +5 -0
  160. package/dist/translations/ro.umd.js +11 -0
  161. package/dist/translations/ru.d.ts +8 -0
  162. package/dist/translations/ru.js +5 -0
  163. package/dist/translations/ru.umd.js +11 -0
  164. package/dist/translations/si.d.ts +8 -0
  165. package/dist/translations/si.js +5 -0
  166. package/dist/translations/si.umd.js +11 -0
  167. package/dist/translations/sk.d.ts +8 -0
  168. package/dist/translations/sk.js +5 -0
  169. package/dist/translations/sk.umd.js +11 -0
  170. package/dist/translations/sl.d.ts +8 -0
  171. package/dist/translations/sl.js +5 -0
  172. package/dist/translations/sl.umd.js +11 -0
  173. package/dist/translations/sq.d.ts +8 -0
  174. package/dist/translations/sq.js +5 -0
  175. package/dist/translations/sq.umd.js +11 -0
  176. package/dist/translations/sr-latn.d.ts +8 -0
  177. package/dist/translations/sr-latn.js +5 -0
  178. package/dist/translations/sr-latn.umd.js +11 -0
  179. package/dist/translations/sr.d.ts +8 -0
  180. package/dist/translations/sr.js +5 -0
  181. package/dist/translations/sr.umd.js +11 -0
  182. package/dist/translations/sv.d.ts +8 -0
  183. package/dist/translations/sv.js +5 -0
  184. package/dist/translations/sv.umd.js +11 -0
  185. package/dist/translations/th.d.ts +8 -0
  186. package/dist/translations/th.js +5 -0
  187. package/dist/translations/th.umd.js +11 -0
  188. package/dist/translations/ti.d.ts +8 -0
  189. package/dist/translations/ti.js +5 -0
  190. package/dist/translations/ti.umd.js +11 -0
  191. package/dist/translations/tk.d.ts +8 -0
  192. package/dist/translations/tk.js +5 -0
  193. package/dist/translations/tk.umd.js +11 -0
  194. package/dist/translations/tr.d.ts +8 -0
  195. package/dist/translations/tr.js +5 -0
  196. package/dist/translations/tr.umd.js +11 -0
  197. package/dist/translations/tt.d.ts +8 -0
  198. package/dist/translations/tt.js +5 -0
  199. package/dist/translations/tt.umd.js +11 -0
  200. package/dist/translations/ug.d.ts +8 -0
  201. package/dist/translations/ug.js +5 -0
  202. package/dist/translations/ug.umd.js +11 -0
  203. package/dist/translations/uk.d.ts +8 -0
  204. package/dist/translations/uk.js +5 -0
  205. package/dist/translations/uk.umd.js +11 -0
  206. package/dist/translations/ur.d.ts +8 -0
  207. package/dist/translations/ur.js +5 -0
  208. package/dist/translations/ur.umd.js +11 -0
  209. package/dist/translations/uz.d.ts +8 -0
  210. package/dist/translations/uz.js +5 -0
  211. package/dist/translations/uz.umd.js +11 -0
  212. package/dist/translations/vi.d.ts +8 -0
  213. package/dist/translations/vi.js +5 -0
  214. package/dist/translations/vi.umd.js +11 -0
  215. package/dist/translations/zh-cn.d.ts +8 -0
  216. package/dist/translations/zh-cn.js +5 -0
  217. package/dist/translations/zh-cn.umd.js +11 -0
  218. package/dist/translations/zh.d.ts +8 -0
  219. package/dist/translations/zh.js +5 -0
  220. package/dist/translations/zh.umd.js +11 -0
  221. package/dist/types/attributecommand.d.ts +78 -0
  222. package/dist/types/augmentation.d.ts +44 -0
  223. package/dist/types/bold/boldediting.d.ts +28 -0
  224. package/dist/types/bold/boldui.d.ts +25 -0
  225. package/dist/types/bold.d.ts +33 -0
  226. package/dist/types/code/codeediting.d.ts +33 -0
  227. package/dist/types/code/codeui.d.ts +26 -0
  228. package/dist/types/code.d.ts +34 -0
  229. package/dist/types/index.d.ts +34 -0
  230. package/dist/types/italic/italicediting.d.ts +28 -0
  231. package/dist/types/italic/italicui.d.ts +25 -0
  232. package/dist/types/italic.d.ts +33 -0
  233. package/dist/types/strikethrough/strikethroughediting.d.ts +29 -0
  234. package/dist/types/strikethrough/strikethroughui.d.ts +25 -0
  235. package/dist/types/strikethrough.d.ts +33 -0
  236. package/dist/types/subscript/subscriptediting.d.ts +28 -0
  237. package/dist/types/subscript/subscriptui.d.ts +25 -0
  238. package/dist/types/subscript.d.ts +30 -0
  239. package/dist/types/superscript/superscriptediting.d.ts +28 -0
  240. package/dist/types/superscript/superscriptui.d.ts +25 -0
  241. package/dist/types/superscript.d.ts +30 -0
  242. package/dist/types/underline/underlineediting.d.ts +28 -0
  243. package/dist/types/underline/underlineui.d.ts +25 -0
  244. package/dist/types/underline.d.ts +33 -0
  245. package/dist/types/utils.d.ts +24 -0
  246. package/lang/translations/ti.po +66 -0
  247. package/package.json +3 -2
@@ -0,0 +1,25 @@
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/italic/italicui
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * The italic UI feature. It introduces the Italic button.
15
+ */
16
+ export default class ItalicUI extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ static get pluginName(): "ItalicUI";
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ init(): void;
25
+ }
@@ -0,0 +1,33 @@
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/italic
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import ItalicEditing from './italic/italicediting.js';
14
+ import ItalicUI from './italic/italicui.js';
15
+ /**
16
+ * The italic feature.
17
+ *
18
+ * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide
19
+ * and the {@glink api/basic-styles package page}.
20
+ *
21
+ * This is a "glue" plugin which loads the {@link module:basic-styles/italic/italicediting~ItalicEditing} and
22
+ * {@link module:basic-styles/italic/italicui~ItalicUI} plugins.
23
+ */
24
+ export default class Italic extends Plugin {
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ static get requires(): readonly [typeof ItalicEditing, typeof ItalicUI];
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ static get pluginName(): "Italic";
33
+ }
@@ -0,0 +1,29 @@
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/strikethrough/strikethroughediting
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * The strikethrough editing feature.
15
+ *
16
+ * It registers the `'strikethrough'` command, the <kbd>Ctrl+Shift+X</kbd> keystroke and introduces the
17
+ * `strikethroughsthrough` attribute in the model which renders to the view
18
+ * as a `<s>` element.
19
+ */
20
+ export default class StrikethroughEditing extends Plugin {
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ static get pluginName(): "StrikethroughEditing";
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ init(): void;
29
+ }
@@ -0,0 +1,25 @@
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/strikethrough/strikethroughui
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * The strikethrough UI feature. It introduces the Strikethrough button.
15
+ */
16
+ export default class StrikethroughUI extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ static get pluginName(): "StrikethroughUI";
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ init(): void;
25
+ }
@@ -0,0 +1,33 @@
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/strikethrough
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import StrikethroughEditing from './strikethrough/strikethroughediting.js';
14
+ import StrikethroughUI from './strikethrough/strikethroughui.js';
15
+ /**
16
+ * The strikethrough feature.
17
+ *
18
+ * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide
19
+ * and the {@glink api/basic-styles package page}.
20
+ *
21
+ * This is a "glue" plugin which loads the {@link module:basic-styles/strikethrough/strikethroughediting~StrikethroughEditing} and
22
+ * {@link module:basic-styles/strikethrough/strikethroughui~StrikethroughUI} plugins.
23
+ */
24
+ export default class Strikethrough extends Plugin {
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ static get requires(): readonly [typeof StrikethroughEditing, typeof StrikethroughUI];
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ static get pluginName(): "Strikethrough";
33
+ }
@@ -0,0 +1,28 @@
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/subscript/subscriptediting
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * The subscript editing feature.
15
+ *
16
+ * It registers the `sub` command and introduces the `sub` attribute in the model which renders to the view
17
+ * as a `<sub>` element.
18
+ */
19
+ export default class SubscriptEditing extends Plugin {
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static get pluginName(): "SubscriptEditing";
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ init(): void;
28
+ }
@@ -0,0 +1,25 @@
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/subscript/subscriptui
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * The subscript UI feature. It introduces the Subscript button.
15
+ */
16
+ export default class SubscriptUI extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ static get pluginName(): "SubscriptUI";
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ init(): void;
25
+ }
@@ -0,0 +1,30 @@
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/subscript
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import SubscriptEditing from './subscript/subscriptediting.js';
14
+ import SubscriptUI from './subscript/subscriptui.js';
15
+ /**
16
+ * The subscript feature.
17
+ *
18
+ * It loads the {@link module:basic-styles/subscript/subscriptediting~SubscriptEditing} and
19
+ * {@link module:basic-styles/subscript/subscriptui~SubscriptUI} plugins.
20
+ */
21
+ export default class Subscript extends Plugin {
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get requires(): readonly [typeof SubscriptEditing, typeof SubscriptUI];
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static get pluginName(): "Subscript";
30
+ }
@@ -0,0 +1,28 @@
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/superscript/superscriptediting
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * The superscript editing feature.
15
+ *
16
+ * It registers the `super` command and introduces the `super` attribute in the model which renders to the view
17
+ * as a `<super>` element.
18
+ */
19
+ export default class SuperscriptEditing extends Plugin {
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static get pluginName(): "SuperscriptEditing";
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ init(): void;
28
+ }
@@ -0,0 +1,25 @@
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/superscript/superscriptui
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * The superscript UI feature. It introduces the Superscript button.
15
+ */
16
+ export default class SuperscriptUI extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ static get pluginName(): "SuperscriptUI";
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ init(): void;
25
+ }
@@ -0,0 +1,30 @@
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/superscript
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import SuperscriptEditing from './superscript/superscriptediting.js';
14
+ import SuperscriptUI from './superscript/superscriptui.js';
15
+ /**
16
+ * The superscript feature.
17
+ *
18
+ * It loads the {@link module:basic-styles/superscript/superscriptediting~SuperscriptEditing} and
19
+ * {@link module:basic-styles/superscript/superscriptui~SuperscriptUI} plugins.
20
+ */
21
+ export default class Superscript extends Plugin {
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get requires(): readonly [typeof SuperscriptEditing, typeof SuperscriptUI];
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static get pluginName(): "Superscript";
30
+ }
@@ -0,0 +1,28 @@
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/underline/underlineediting
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * The underline editing feature.
15
+ *
16
+ * It registers the `'underline'` command, the <kbd>Ctrl+U</kbd> keystroke
17
+ * and introduces the `underline` attribute in the model which renders to the view as an `<u>` element.
18
+ */
19
+ export default class UnderlineEditing extends Plugin {
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static get pluginName(): "UnderlineEditing";
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ init(): void;
28
+ }
@@ -0,0 +1,25 @@
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/underline/underlineui
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * The underline UI feature. It introduces the Underline button.
15
+ */
16
+ export default class UnderlineUI extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ static get pluginName(): "UnderlineUI";
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ init(): void;
25
+ }
@@ -0,0 +1,33 @@
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/underline
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import UnderlineEditing from './underline/underlineediting.js';
14
+ import UnderlineUI from './underline/underlineui.js';
15
+ /**
16
+ * The underline feature.
17
+ *
18
+ * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide
19
+ * and the {@glink api/basic-styles package page}.
20
+ *
21
+ * This is a "glue" plugin which loads the {@link module:basic-styles/underline/underlineediting~UnderlineEditing} and
22
+ * {@link module:basic-styles/underline/underlineui~UnderlineUI} plugins.
23
+ */
24
+ export default class Underline extends Plugin {
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ static get requires(): readonly [typeof UnderlineEditing, typeof UnderlineUI];
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ static get pluginName(): "Underline";
33
+ }
@@ -0,0 +1,24 @@
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/utils
11
+ */
12
+ import type { Editor, Plugin } from 'ckeditor5/src/core.js';
13
+ import type { ButtonView, MenuBarMenuListItemButtonView } from 'ckeditor5/src/ui.js';
14
+ /**
15
+ * Returns a function that creates a (toolbar or menu bar) button for a basic style feature.
16
+ */
17
+ export declare function getButtonCreator({ editor, commandName, plugin, icon, label, keystroke }: {
18
+ editor: Editor;
19
+ commandName: string;
20
+ icon: string;
21
+ label: string;
22
+ plugin: Plugin;
23
+ keystroke?: string;
24
+ }): <T extends typeof ButtonView | typeof MenuBarMenuListItemButtonView>(ButtonClass: T) => InstanceType<T>;
@@ -0,0 +1,66 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Tigrinya (https://app.transifex.com/ckeditor/teams/11143/ti/)\n"
16
+ "Language: ti\n"
17
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "Toolbar button tooltip for the Bold feature."
21
+ msgid "Bold"
22
+ msgstr "ቦልድ"
23
+
24
+ msgctxt "Toolbar button tooltip for the Italic feature."
25
+ msgid "Italic"
26
+ msgstr "ኢታሊክ"
27
+
28
+ msgctxt "Toolbar button tooltip for the Underline feature."
29
+ msgid "Underline"
30
+ msgstr "ኣስምር"
31
+
32
+ msgctxt "Toolbar button tooltip for the Code feature."
33
+ msgid "Code"
34
+ msgstr "ኮድ"
35
+
36
+ msgctxt "Toolbar button tooltip for the Strikethrough feature."
37
+ msgid "Strikethrough"
38
+ msgstr "ሰርዝ"
39
+
40
+ msgctxt "Toolbar button tooltip for the Subscript feature."
41
+ msgid "Subscript"
42
+ msgstr "ሳብስክሪፕት"
43
+
44
+ msgctxt "Toolbar button tooltip for the Superscript feature."
45
+ msgid "Superscript"
46
+ msgstr "ሱፐርስክሪፕት"
47
+
48
+ msgctxt "Keystroke description for assistive technologies: keystroke for making text italic."
49
+ msgid "Italic text"
50
+ msgstr "ኢታሊክ ጽሑፍ"
51
+
52
+ msgctxt "Keystroke description for assistive technologies: keystroke for moving selection out of an inline code style."
53
+ msgid "Move out of an inline code style"
54
+ msgstr ""
55
+
56
+ msgctxt "Keystroke description for assistive technologies: keystroke for making text bold."
57
+ msgid "Bold text"
58
+ msgstr "ጽሑፍ ኣጉልህ"
59
+
60
+ msgctxt "Keystroke description for assistive technologies: keystroke for making text underlined."
61
+ msgid "Underline text"
62
+ msgstr "ጽሑፍ ኣስምር"
63
+
64
+ msgctxt "Keystroke description for assistive technologies: keystroke for making text strikethrough."
65
+ msgid "Strikethrough text"
66
+ msgstr "ጽሑፍ ሰርዝ"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-basic-styles",
3
- "version": "41.3.1",
3
+ "version": "41.4.0",
4
4
  "description": "Basic styles feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -13,7 +13,7 @@
13
13
  "type": "module",
14
14
  "main": "src/index.js",
15
15
  "dependencies": {
16
- "ckeditor5": "41.3.1"
16
+ "ckeditor5": "41.4.0"
17
17
  },
18
18
  "author": "CKSource (http://cksource.com/)",
19
19
  "license": "GPL-2.0-or-later",
@@ -25,6 +25,7 @@
25
25
  "directory": "packages/ckeditor5-basic-styles"
26
26
  },
27
27
  "files": [
28
+ "dist",
28
29
  "lang",
29
30
  "src/**/*.js",
30
31
  "src/**/*.d.ts",