@ckeditor/ckeditor5-basic-styles 41.3.1 → 41.4.0-alpha.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 (172) hide show
  1. package/dist/index-content.css +9 -0
  2. package/dist/index-editor.css +7 -0
  3. package/dist/index.css +20 -0
  4. package/dist/index.css.map +1 -0
  5. package/dist/index.js +831 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/translations/af.d.ts +8 -0
  8. package/dist/translations/af.js +5 -0
  9. package/dist/translations/ar.d.ts +8 -0
  10. package/dist/translations/ar.js +5 -0
  11. package/dist/translations/ast.d.ts +8 -0
  12. package/dist/translations/ast.js +5 -0
  13. package/dist/translations/az.d.ts +8 -0
  14. package/dist/translations/az.js +5 -0
  15. package/dist/translations/bg.d.ts +8 -0
  16. package/dist/translations/bg.js +5 -0
  17. package/dist/translations/bn.d.ts +8 -0
  18. package/dist/translations/bn.js +5 -0
  19. package/dist/translations/bs.d.ts +8 -0
  20. package/dist/translations/bs.js +5 -0
  21. package/dist/translations/ca.d.ts +8 -0
  22. package/dist/translations/ca.js +5 -0
  23. package/dist/translations/cs.d.ts +8 -0
  24. package/dist/translations/cs.js +5 -0
  25. package/dist/translations/da.d.ts +8 -0
  26. package/dist/translations/da.js +5 -0
  27. package/dist/translations/de-ch.d.ts +8 -0
  28. package/dist/translations/de-ch.js +5 -0
  29. package/dist/translations/de.d.ts +8 -0
  30. package/dist/translations/de.js +5 -0
  31. package/dist/translations/el.d.ts +8 -0
  32. package/dist/translations/el.js +5 -0
  33. package/dist/translations/en-au.d.ts +8 -0
  34. package/dist/translations/en-au.js +5 -0
  35. package/dist/translations/en-gb.d.ts +8 -0
  36. package/dist/translations/en-gb.js +5 -0
  37. package/dist/translations/en.d.ts +8 -0
  38. package/dist/translations/en.js +5 -0
  39. package/dist/translations/eo.d.ts +8 -0
  40. package/dist/translations/eo.js +5 -0
  41. package/dist/translations/es-co.d.ts +8 -0
  42. package/dist/translations/es-co.js +5 -0
  43. package/dist/translations/es.d.ts +8 -0
  44. package/dist/translations/es.js +5 -0
  45. package/dist/translations/et.d.ts +8 -0
  46. package/dist/translations/et.js +5 -0
  47. package/dist/translations/eu.d.ts +8 -0
  48. package/dist/translations/eu.js +5 -0
  49. package/dist/translations/fa.d.ts +8 -0
  50. package/dist/translations/fa.js +5 -0
  51. package/dist/translations/fi.d.ts +8 -0
  52. package/dist/translations/fi.js +5 -0
  53. package/dist/translations/fr.d.ts +8 -0
  54. package/dist/translations/fr.js +5 -0
  55. package/dist/translations/gl.d.ts +8 -0
  56. package/dist/translations/gl.js +5 -0
  57. package/dist/translations/gu.d.ts +8 -0
  58. package/dist/translations/gu.js +5 -0
  59. package/dist/translations/he.d.ts +8 -0
  60. package/dist/translations/he.js +5 -0
  61. package/dist/translations/hi.d.ts +8 -0
  62. package/dist/translations/hi.js +5 -0
  63. package/dist/translations/hr.d.ts +8 -0
  64. package/dist/translations/hr.js +5 -0
  65. package/dist/translations/hu.d.ts +8 -0
  66. package/dist/translations/hu.js +5 -0
  67. package/dist/translations/hy.d.ts +8 -0
  68. package/dist/translations/hy.js +5 -0
  69. package/dist/translations/id.d.ts +8 -0
  70. package/dist/translations/id.js +5 -0
  71. package/dist/translations/it.d.ts +8 -0
  72. package/dist/translations/it.js +5 -0
  73. package/dist/translations/ja.d.ts +8 -0
  74. package/dist/translations/ja.js +5 -0
  75. package/dist/translations/jv.d.ts +8 -0
  76. package/dist/translations/jv.js +5 -0
  77. package/dist/translations/km.d.ts +8 -0
  78. package/dist/translations/km.js +5 -0
  79. package/dist/translations/kn.d.ts +8 -0
  80. package/dist/translations/kn.js +5 -0
  81. package/dist/translations/ko.d.ts +8 -0
  82. package/dist/translations/ko.js +5 -0
  83. package/dist/translations/ku.d.ts +8 -0
  84. package/dist/translations/ku.js +5 -0
  85. package/dist/translations/lt.d.ts +8 -0
  86. package/dist/translations/lt.js +5 -0
  87. package/dist/translations/lv.d.ts +8 -0
  88. package/dist/translations/lv.js +5 -0
  89. package/dist/translations/ms.d.ts +8 -0
  90. package/dist/translations/ms.js +5 -0
  91. package/dist/translations/nb.d.ts +8 -0
  92. package/dist/translations/nb.js +5 -0
  93. package/dist/translations/ne.d.ts +8 -0
  94. package/dist/translations/ne.js +5 -0
  95. package/dist/translations/nl.d.ts +8 -0
  96. package/dist/translations/nl.js +5 -0
  97. package/dist/translations/no.d.ts +8 -0
  98. package/dist/translations/no.js +5 -0
  99. package/dist/translations/oc.d.ts +8 -0
  100. package/dist/translations/oc.js +5 -0
  101. package/dist/translations/pl.d.ts +8 -0
  102. package/dist/translations/pl.js +5 -0
  103. package/dist/translations/pt-br.d.ts +8 -0
  104. package/dist/translations/pt-br.js +5 -0
  105. package/dist/translations/pt.d.ts +8 -0
  106. package/dist/translations/pt.js +5 -0
  107. package/dist/translations/ro.d.ts +8 -0
  108. package/dist/translations/ro.js +5 -0
  109. package/dist/translations/ru.d.ts +8 -0
  110. package/dist/translations/ru.js +5 -0
  111. package/dist/translations/si.d.ts +8 -0
  112. package/dist/translations/si.js +5 -0
  113. package/dist/translations/sk.d.ts +8 -0
  114. package/dist/translations/sk.js +5 -0
  115. package/dist/translations/sl.d.ts +8 -0
  116. package/dist/translations/sl.js +5 -0
  117. package/dist/translations/sq.d.ts +8 -0
  118. package/dist/translations/sq.js +5 -0
  119. package/dist/translations/sr-latn.d.ts +8 -0
  120. package/dist/translations/sr-latn.js +5 -0
  121. package/dist/translations/sr.d.ts +8 -0
  122. package/dist/translations/sr.js +5 -0
  123. package/dist/translations/sv.d.ts +8 -0
  124. package/dist/translations/sv.js +5 -0
  125. package/dist/translations/th.d.ts +8 -0
  126. package/dist/translations/th.js +5 -0
  127. package/dist/translations/tk.d.ts +8 -0
  128. package/dist/translations/tk.js +5 -0
  129. package/dist/translations/tr.d.ts +8 -0
  130. package/dist/translations/tr.js +5 -0
  131. package/dist/translations/tt.d.ts +8 -0
  132. package/dist/translations/tt.js +5 -0
  133. package/dist/translations/ug.d.ts +8 -0
  134. package/dist/translations/ug.js +5 -0
  135. package/dist/translations/uk.d.ts +8 -0
  136. package/dist/translations/uk.js +5 -0
  137. package/dist/translations/ur.d.ts +8 -0
  138. package/dist/translations/ur.js +5 -0
  139. package/dist/translations/uz.d.ts +8 -0
  140. package/dist/translations/uz.js +5 -0
  141. package/dist/translations/vi.d.ts +8 -0
  142. package/dist/translations/vi.js +5 -0
  143. package/dist/translations/zh-cn.d.ts +8 -0
  144. package/dist/translations/zh-cn.js +5 -0
  145. package/dist/translations/zh.d.ts +8 -0
  146. package/dist/translations/zh.js +5 -0
  147. package/dist/types/attributecommand.d.ts +78 -0
  148. package/dist/types/augmentation.d.ts +44 -0
  149. package/dist/types/bold/boldediting.d.ts +28 -0
  150. package/dist/types/bold/boldui.d.ts +25 -0
  151. package/dist/types/bold.d.ts +33 -0
  152. package/dist/types/code/codeediting.d.ts +33 -0
  153. package/dist/types/code/codeui.d.ts +26 -0
  154. package/dist/types/code.d.ts +34 -0
  155. package/dist/types/index.d.ts +34 -0
  156. package/dist/types/italic/italicediting.d.ts +28 -0
  157. package/dist/types/italic/italicui.d.ts +25 -0
  158. package/dist/types/italic.d.ts +33 -0
  159. package/dist/types/strikethrough/strikethroughediting.d.ts +29 -0
  160. package/dist/types/strikethrough/strikethroughui.d.ts +25 -0
  161. package/dist/types/strikethrough.d.ts +33 -0
  162. package/dist/types/subscript/subscriptediting.d.ts +28 -0
  163. package/dist/types/subscript/subscriptui.d.ts +25 -0
  164. package/dist/types/subscript.d.ts +30 -0
  165. package/dist/types/superscript/superscriptediting.d.ts +28 -0
  166. package/dist/types/superscript/superscriptui.d.ts +25 -0
  167. package/dist/types/superscript.d.ts +30 -0
  168. package/dist/types/underline/underlineediting.d.ts +28 -0
  169. package/dist/types/underline/underlineui.d.ts +25 -0
  170. package/dist/types/underline.d.ts +33 -0
  171. package/dist/types/utils.d.ts +24 -0
  172. 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/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
+ 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/bold
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import BoldEditing from './bold/boldediting.js';
14
+ import BoldUI from './bold/boldui.js';
15
+ /**
16
+ * The bold 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/bold/boldediting~BoldEditing bold editing feature}
22
+ * and {@link module:basic-styles/bold/boldui~BoldUI bold UI feature}.
23
+ */
24
+ export default class Bold extends Plugin {
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ static get requires(): readonly [typeof BoldEditing, typeof BoldUI];
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ static get pluginName(): "Bold";
33
+ }
@@ -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/code/codeediting
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import { TwoStepCaretMovement } from 'ckeditor5/src/typing.js';
14
+ /**
15
+ * The code editing feature.
16
+ *
17
+ * It registers the `'code'` command and introduces the `code` attribute in the model which renders to the view
18
+ * as a `<code>` element.
19
+ */
20
+ export default class CodeEditing extends Plugin {
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ static get pluginName(): "CodeEditing";
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ static get requires(): readonly [typeof TwoStepCaretMovement];
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ init(): void;
33
+ }
@@ -0,0 +1,26 @@
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/code/codeui
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import '../../theme/code.css';
14
+ /**
15
+ * The code UI feature. It introduces the Code button.
16
+ */
17
+ export default class CodeUI extends Plugin {
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static get pluginName(): "CodeUI";
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ init(): void;
26
+ }
@@ -0,0 +1,34 @@
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/code
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import CodeEditing from './code/codeediting.js';
14
+ import CodeUI from './code/codeui.js';
15
+ import '../theme/code.css';
16
+ /**
17
+ * The code feature.
18
+ *
19
+ * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide
20
+ * and the {@glink api/basic-styles package page}.
21
+ *
22
+ * This is a "glue" plugin which loads the {@link module:basic-styles/code/codeediting~CodeEditing code editing feature}
23
+ * and {@link module:basic-styles/code/codeui~CodeUI code UI feature}.
24
+ */
25
+ export default class Code extends Plugin {
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static get requires(): readonly [typeof CodeEditing, typeof CodeUI];
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ static get pluginName(): "Code";
34
+ }
@@ -0,0 +1,34 @@
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
11
+ */
12
+ export { default as Bold } from './bold.js';
13
+ export { default as BoldEditing } from './bold/boldediting.js';
14
+ export { default as BoldUI } from './bold/boldui.js';
15
+ export { default as Code } from './code.js';
16
+ export { default as CodeEditing } from './code/codeediting.js';
17
+ export { default as CodeUI } from './code/codeui.js';
18
+ export { default as Italic } from './italic.js';
19
+ export { default as ItalicEditing } from './italic/italicediting.js';
20
+ export { default as ItalicUI } from './italic/italicui.js';
21
+ export { default as Strikethrough } from './strikethrough.js';
22
+ export { default as StrikethroughEditing } from './strikethrough/strikethroughediting.js';
23
+ export { default as StrikethroughUI } from './strikethrough/strikethroughui.js';
24
+ export { default as Subscript } from './subscript.js';
25
+ export { default as SubscriptEditing } from './subscript/subscriptediting.js';
26
+ export { default as SubscriptUI } from './subscript/subscriptui.js';
27
+ export { default as Superscript } from './superscript.js';
28
+ export { default as SuperscriptEditing } from './superscript/superscriptediting.js';
29
+ export { default as SuperscriptUI } from './superscript/superscriptui.js';
30
+ export { default as Underline } from './underline.js';
31
+ export { default as UnderlineEditing } from './underline/underlineediting.js';
32
+ export { default as UnderlineUI } from './underline/underlineui.js';
33
+ export type { default as AttributeCommand } from './attributecommand.js';
34
+ import './augmentation.js';
@@ -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/italic/italicediting
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ /**
14
+ * The italic editing feature.
15
+ *
16
+ * It registers the `'italic'` command, the <kbd>Ctrl+I</kbd> keystroke and introduces the `italic` attribute in the model
17
+ * which renders to the view as an `<i>` element.
18
+ */
19
+ export default class ItalicEditing extends Plugin {
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static get pluginName(): "ItalicEditing";
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/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>;