@ckeditor/ckeditor5-footnotes 48.2.0-alpha.7 → 48.3.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 (166) hide show
  1. package/dist/augmentation.d.ts +32 -32
  2. package/dist/commands/insertfootnotecommand.d.ts +16 -16
  3. package/dist/footnotes.d.ts +28 -28
  4. package/dist/footnotesclipboard.d.ts +33 -33
  5. package/dist/footnotesconfig.d.ts +25 -25
  6. package/dist/footnotesediting.d.ts +40 -40
  7. package/dist/footnotesproperties/commands/footnotesstartcommand.d.ts +23 -23
  8. package/dist/footnotesproperties/commands/footnotesstylecommand.d.ts +24 -24
  9. package/dist/footnotesproperties/footnotespropertiesconfig.d.ts +65 -65
  10. package/dist/footnotesproperties/footnotespropertiesediting.d.ts +37 -37
  11. package/dist/footnotesproperties/footnotespropertiesformatters.d.ts +18 -24
  12. package/dist/footnotesproperties/footnotespropertiesui.d.ts +36 -36
  13. package/dist/footnotesproperties/ui/footnotesdefinitionspropertiesview.d.ts +11 -11
  14. package/dist/footnotesproperties.d.ts +27 -27
  15. package/dist/footnotestracker.d.ts +89 -89
  16. package/dist/footnotesui.d.ts +27 -27
  17. package/dist/index.d.ts +19 -19
  18. package/dist/index.js +1 -1
  19. package/dist/modelelementtracker.d.ts +48 -48
  20. package/dist/translations/af.js +1 -1
  21. package/dist/translations/af.umd.js +1 -1
  22. package/dist/translations/ar.js +1 -1
  23. package/dist/translations/ar.umd.js +1 -1
  24. package/dist/translations/ast.js +1 -1
  25. package/dist/translations/ast.umd.js +1 -1
  26. package/dist/translations/az.js +1 -1
  27. package/dist/translations/az.umd.js +1 -1
  28. package/dist/translations/be.js +1 -1
  29. package/dist/translations/be.umd.js +1 -1
  30. package/dist/translations/bg.js +1 -1
  31. package/dist/translations/bg.umd.js +1 -1
  32. package/dist/translations/bn.js +1 -1
  33. package/dist/translations/bn.umd.js +1 -1
  34. package/dist/translations/bs.js +1 -1
  35. package/dist/translations/bs.umd.js +1 -1
  36. package/dist/translations/ca.js +1 -1
  37. package/dist/translations/ca.umd.js +1 -1
  38. package/dist/translations/cs.js +1 -1
  39. package/dist/translations/cs.umd.js +1 -1
  40. package/dist/translations/da.js +1 -1
  41. package/dist/translations/da.umd.js +1 -1
  42. package/dist/translations/de-ch.js +1 -1
  43. package/dist/translations/de-ch.umd.js +1 -1
  44. package/dist/translations/de.js +1 -1
  45. package/dist/translations/de.umd.js +1 -1
  46. package/dist/translations/el.js +1 -1
  47. package/dist/translations/el.umd.js +1 -1
  48. package/dist/translations/en-au.js +1 -1
  49. package/dist/translations/en-au.umd.js +1 -1
  50. package/dist/translations/en-gb.js +1 -1
  51. package/dist/translations/en-gb.umd.js +1 -1
  52. package/dist/translations/en.js +1 -1
  53. package/dist/translations/en.umd.js +1 -1
  54. package/dist/translations/eo.js +1 -1
  55. package/dist/translations/eo.umd.js +1 -1
  56. package/dist/translations/es-co.js +1 -1
  57. package/dist/translations/es-co.umd.js +1 -1
  58. package/dist/translations/es.js +1 -1
  59. package/dist/translations/es.umd.js +1 -1
  60. package/dist/translations/et.js +1 -1
  61. package/dist/translations/et.umd.js +1 -1
  62. package/dist/translations/eu.js +1 -1
  63. package/dist/translations/eu.umd.js +1 -1
  64. package/dist/translations/fa.js +1 -1
  65. package/dist/translations/fa.umd.js +1 -1
  66. package/dist/translations/fi.js +1 -1
  67. package/dist/translations/fi.umd.js +1 -1
  68. package/dist/translations/fr.js +1 -1
  69. package/dist/translations/fr.umd.js +1 -1
  70. package/dist/translations/gl.js +1 -1
  71. package/dist/translations/gl.umd.js +1 -1
  72. package/dist/translations/gu.js +1 -1
  73. package/dist/translations/gu.umd.js +1 -1
  74. package/dist/translations/he.js +1 -1
  75. package/dist/translations/he.umd.js +1 -1
  76. package/dist/translations/hi.js +1 -1
  77. package/dist/translations/hi.umd.js +1 -1
  78. package/dist/translations/hr.js +1 -1
  79. package/dist/translations/hr.umd.js +1 -1
  80. package/dist/translations/hu.js +1 -1
  81. package/dist/translations/hu.umd.js +1 -1
  82. package/dist/translations/hy.js +1 -1
  83. package/dist/translations/hy.umd.js +1 -1
  84. package/dist/translations/id.js +1 -1
  85. package/dist/translations/id.umd.js +1 -1
  86. package/dist/translations/it.js +1 -1
  87. package/dist/translations/it.umd.js +1 -1
  88. package/dist/translations/ja.js +1 -1
  89. package/dist/translations/ja.umd.js +1 -1
  90. package/dist/translations/jv.js +1 -1
  91. package/dist/translations/jv.umd.js +1 -1
  92. package/dist/translations/kk.js +1 -1
  93. package/dist/translations/kk.umd.js +1 -1
  94. package/dist/translations/km.js +1 -1
  95. package/dist/translations/km.umd.js +1 -1
  96. package/dist/translations/kn.js +1 -1
  97. package/dist/translations/kn.umd.js +1 -1
  98. package/dist/translations/ko.js +1 -1
  99. package/dist/translations/ko.umd.js +1 -1
  100. package/dist/translations/ku.js +1 -1
  101. package/dist/translations/ku.umd.js +1 -1
  102. package/dist/translations/lt.js +1 -1
  103. package/dist/translations/lt.umd.js +1 -1
  104. package/dist/translations/lv.js +1 -1
  105. package/dist/translations/lv.umd.js +1 -1
  106. package/dist/translations/ms.js +1 -1
  107. package/dist/translations/ms.umd.js +1 -1
  108. package/dist/translations/nb.js +1 -1
  109. package/dist/translations/nb.umd.js +1 -1
  110. package/dist/translations/ne.js +1 -1
  111. package/dist/translations/ne.umd.js +1 -1
  112. package/dist/translations/nl.js +1 -1
  113. package/dist/translations/nl.umd.js +1 -1
  114. package/dist/translations/no.js +1 -1
  115. package/dist/translations/no.umd.js +1 -1
  116. package/dist/translations/oc.js +1 -1
  117. package/dist/translations/oc.umd.js +1 -1
  118. package/dist/translations/pl.js +1 -1
  119. package/dist/translations/pl.umd.js +1 -1
  120. package/dist/translations/pt-br.js +1 -1
  121. package/dist/translations/pt-br.umd.js +1 -1
  122. package/dist/translations/pt.js +1 -1
  123. package/dist/translations/pt.umd.js +1 -1
  124. package/dist/translations/ro.js +1 -1
  125. package/dist/translations/ro.umd.js +1 -1
  126. package/dist/translations/ru.js +1 -1
  127. package/dist/translations/ru.umd.js +1 -1
  128. package/dist/translations/si.js +1 -1
  129. package/dist/translations/si.umd.js +1 -1
  130. package/dist/translations/sk.js +1 -1
  131. package/dist/translations/sk.umd.js +1 -1
  132. package/dist/translations/sl.js +1 -1
  133. package/dist/translations/sl.umd.js +1 -1
  134. package/dist/translations/sq.js +1 -1
  135. package/dist/translations/sq.umd.js +1 -1
  136. package/dist/translations/sr-latn.js +1 -1
  137. package/dist/translations/sr-latn.umd.js +1 -1
  138. package/dist/translations/sr.js +1 -1
  139. package/dist/translations/sr.umd.js +1 -1
  140. package/dist/translations/sv.js +1 -1
  141. package/dist/translations/sv.umd.js +1 -1
  142. package/dist/translations/th.js +1 -1
  143. package/dist/translations/th.umd.js +1 -1
  144. package/dist/translations/ti.js +1 -1
  145. package/dist/translations/ti.umd.js +1 -1
  146. package/dist/translations/tk.js +1 -1
  147. package/dist/translations/tk.umd.js +1 -1
  148. package/dist/translations/tr.js +1 -1
  149. package/dist/translations/tr.umd.js +1 -1
  150. package/dist/translations/tt.js +1 -1
  151. package/dist/translations/tt.umd.js +1 -1
  152. package/dist/translations/ug.js +1 -1
  153. package/dist/translations/ug.umd.js +1 -1
  154. package/dist/translations/uk.js +1 -1
  155. package/dist/translations/uk.umd.js +1 -1
  156. package/dist/translations/ur.js +1 -1
  157. package/dist/translations/ur.umd.js +1 -1
  158. package/dist/translations/uz.js +1 -1
  159. package/dist/translations/uz.umd.js +1 -1
  160. package/dist/translations/vi.js +1 -1
  161. package/dist/translations/vi.umd.js +1 -1
  162. package/dist/translations/zh-cn.js +1 -1
  163. package/dist/translations/zh-cn.umd.js +1 -1
  164. package/dist/translations/zh.js +1 -1
  165. package/dist/translations/zh.umd.js +1 -1
  166. package/package.json +9 -9
@@ -1,34 +1,34 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- import type { Footnotes } from './footnotes.js';
6
- import type { FootnotesEditing } from './footnotesediting.js';
7
- import type { FootnotesUI } from './footnotesui.js';
8
- import type { InsertFootnoteCommand } from './commands/insertfootnotecommand.js';
9
- import type { FootnotesConfig } from './footnotesconfig.js';
10
- import type { FootnotesTracker } from './footnotestracker.js';
11
- import type { FootnotesPropertiesEditing } from './footnotesproperties/footnotespropertiesediting.js';
12
- import type { FootnotesStyleCommand } from './footnotesproperties/commands/footnotesstylecommand.js';
13
- import type { FootnotesStartCommand } from './footnotesproperties/commands/footnotesstartcommand.js';
14
- import type { FootnotesPropertiesUI } from './footnotesproperties/footnotespropertiesui.js';
15
- import type { FootnotesProperties } from './footnotesproperties.js';
16
- declare module '@ckeditor/ckeditor5-core' {
17
- interface PluginsMap {
18
- [Footnotes.pluginName]: Footnotes;
19
- [FootnotesEditing.pluginName]: FootnotesEditing;
20
- [FootnotesUI.pluginName]: FootnotesUI;
21
- [FootnotesTracker.pluginName]: FootnotesTracker;
22
- [FootnotesPropertiesEditing.pluginName]: FootnotesPropertiesEditing;
23
- [FootnotesPropertiesUI.pluginName]: FootnotesPropertiesUI;
24
- [FootnotesProperties.pluginName]: FootnotesProperties;
25
- }
26
- interface CommandsMap {
27
- insertFootnote: InsertFootnoteCommand;
28
- footnotesStyle: FootnotesStyleCommand;
29
- footnotesStart: FootnotesStartCommand;
30
- }
31
- interface EditorConfig {
32
- footnotes?: FootnotesConfig;
33
- }
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ import type { Footnotes } from "./footnotes.js";
6
+ import type { FootnotesEditing } from "./footnotesediting.js";
7
+ import type { FootnotesUI } from "./footnotesui.js";
8
+ import type { InsertFootnoteCommand } from "./commands/insertfootnotecommand.js";
9
+ import type { FootnotesConfig } from "./footnotesconfig.js";
10
+ import type { FootnotesTracker } from "./footnotestracker.js";
11
+ import type { FootnotesPropertiesEditing } from "./footnotesproperties/footnotespropertiesediting.js";
12
+ import type { FootnotesStyleCommand } from "./footnotesproperties/commands/footnotesstylecommand.js";
13
+ import type { FootnotesStartCommand } from "./footnotesproperties/commands/footnotesstartcommand.js";
14
+ import type { FootnotesPropertiesUI } from "./footnotesproperties/footnotespropertiesui.js";
15
+ import type { FootnotesProperties } from "./footnotesproperties.js";
16
+ declare module "@ckeditor/ckeditor5-core" {
17
+ interface PluginsMap {
18
+ [Footnotes.pluginName]: Footnotes;
19
+ [FootnotesEditing.pluginName]: FootnotesEditing;
20
+ [FootnotesUI.pluginName]: FootnotesUI;
21
+ [FootnotesTracker.pluginName]: FootnotesTracker;
22
+ [FootnotesPropertiesEditing.pluginName]: FootnotesPropertiesEditing;
23
+ [FootnotesPropertiesUI.pluginName]: FootnotesPropertiesUI;
24
+ [FootnotesProperties.pluginName]: FootnotesProperties;
25
+ }
26
+ interface CommandsMap {
27
+ insertFootnote: InsertFootnoteCommand;
28
+ footnotesStyle: FootnotesStyleCommand;
29
+ footnotesStart: FootnotesStartCommand;
30
+ }
31
+ interface EditorConfig {
32
+ footnotes?: FootnotesConfig;
33
+ }
34
34
  }
@@ -1,20 +1,20 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- import { Command } from '@ckeditor/ckeditor5-core';
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ import { Command } from "@ckeditor/ckeditor5-core";
6
6
  /**
7
- * The insert footnote command.
8
- */
7
+ * The insert footnote command.
8
+ */
9
9
  export declare class InsertFootnoteCommand extends Command {
10
- /**
11
- * @inheritDoc
12
- */
13
- refresh(): void;
14
- /**
15
- * @inheritdoc
16
- */
17
- execute(options?: {
18
- footnoteId: string;
19
- }): void;
10
+ /**
11
+ * @inheritDoc
12
+ */
13
+ override refresh(): void;
14
+ /**
15
+ * @inheritdoc
16
+ */
17
+ override execute(options?: {
18
+ footnoteId: string;
19
+ }): void;
20
20
  }
@@ -1,33 +1,33 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module footnotes/footnotes
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { FootnotesEditing } from './footnotesediting.js';
11
- import { FootnotesClipboard } from './footnotesclipboard.js';
12
- import { FootnotesUI } from './footnotesui.js';
6
+ * @module footnotes/footnotes
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
10
+ import { FootnotesEditing } from "./footnotesediting.js";
11
+ import { FootnotesClipboard } from "./footnotesclipboard.js";
12
+ import { FootnotesUI } from "./footnotesui.js";
13
13
  /**
14
- * The footnotes plugin.
15
- */
14
+ * The footnotes plugin.
15
+ */
16
16
  export declare class Footnotes extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- static get pluginName(): "Footnotes";
21
- /**
22
- * @inheritDoc
23
- */
24
- static get requires(): readonly [typeof FootnotesEditing, typeof FootnotesClipboard, typeof FootnotesUI];
25
- /**
26
- * @inheritDoc
27
- */
28
- static get isOfficialPlugin(): true;
29
- /**
30
- * @inheritDoc
31
- */
32
- static get isPremiumPlugin(): true;
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ static get pluginName(): "Footnotes";
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ static get requires(): PluginDependenciesOf<[FootnotesEditing, FootnotesClipboard, FootnotesUI]>;
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ static override get isOfficialPlugin(): true;
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ static override get isPremiumPlugin(): true;
33
33
  }
@@ -1,38 +1,38 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module footnotes/footnotesclipboard
7
- */
8
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import { ClipboardPipeline } from '@ckeditor/ckeditor5-clipboard';
10
- import { FootnotesEditing } from './footnotesediting.js';
6
+ * @module footnotes/footnotesclipboard
7
+ */
8
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
9
+ import { ClipboardPipeline } from "@ckeditor/ckeditor5-clipboard";
10
+ import { FootnotesEditing } from "./footnotesediting.js";
11
11
  /**
12
- * The footnotes clipboard integration plugin.
13
- *
14
- * Handles copy/paste operations for footnotes to preserve footnote mappings
15
- * during clipboard operations.
16
- */
12
+ * The footnotes clipboard integration plugin.
13
+ *
14
+ * Handles copy/paste operations for footnotes to preserve footnote mappings
15
+ * during clipboard operations.
16
+ */
17
17
  export declare class FootnotesClipboard extends Plugin {
18
- /**
19
- * @inheritDoc
20
- */
21
- static get pluginName(): "FootnotesClipboard";
22
- /**
23
- * @inheritDoc
24
- */
25
- static get requires(): readonly [typeof FootnotesEditing, typeof ClipboardPipeline];
26
- /**
27
- * @inheritDoc
28
- */
29
- static get isOfficialPlugin(): true;
30
- /**
31
- * @inheritDoc
32
- */
33
- static get isPremiumPlugin(): true;
34
- /**
35
- * @inheritDoc
36
- */
37
- init(): void;
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static get pluginName(): "FootnotesClipboard";
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get requires(): PluginDependenciesOf<[FootnotesEditing, ClipboardPipeline]>;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static override get isOfficialPlugin(): true;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ static override get isPremiumPlugin(): true;
34
+ /**
35
+ * @inheritDoc
36
+ */
37
+ init(): void;
38
38
  }
@@ -1,30 +1,30 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module footnotes/footnotesconfig
7
- * @publicApi
8
- */
9
- import type { FootnotesPropertiesConfig } from './footnotesproperties/footnotespropertiesconfig.js';
6
+ * @module footnotes/footnotesconfig
7
+ * @publicApi
8
+ */
9
+ import type { FootnotesPropertiesConfig } from "./footnotesproperties/footnotespropertiesconfig.js";
10
10
  /**
11
- * The configuration of the {@link module:footnotes/footnotes~Footnotes} feature.
12
- *
13
- * Read more in {@link module:footnotes/footnotesconfig~FootnotesConfig}.
14
- */
11
+ * The configuration of the {@link module:footnotes/footnotes~Footnotes} feature.
12
+ *
13
+ * Read more in {@link module:footnotes/footnotesconfig~FootnotesConfig}.
14
+ */
15
15
  export interface FootnotesConfig {
16
- /**
17
- * Allows multiple blocks in single footnote definition item.
18
- *
19
- * With this option enabled you can have block widgets, for example images or even tables, within a footnote definition item.
20
- *
21
- * **Note:** This is enabled by default.
22
- *
23
- * @default true
24
- */
25
- multiBlock?: boolean;
26
- /**
27
- * The configuration of the {@link module:footnotes/footnotesproperties~FootnotesProperties} feature.
28
- */
29
- footnotesProperties?: FootnotesPropertiesConfig;
16
+ /**
17
+ * Allows multiple blocks in single footnote definition item.
18
+ *
19
+ * With this option enabled you can have block widgets, for example images or even tables, within a footnote definition item.
20
+ *
21
+ * **Note:** This is enabled by default.
22
+ *
23
+ * @default true
24
+ */
25
+ multiBlock?: boolean;
26
+ /**
27
+ * The configuration of the {@link module:footnotes/footnotesproperties~FootnotesProperties} feature.
28
+ */
29
+ footnotesProperties?: FootnotesPropertiesConfig;
30
30
  }
@@ -1,47 +1,47 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module footnotes/footnotesediting
7
- * @publicApi
8
- */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { type ViewNode } from '@ckeditor/ckeditor5-engine';
11
- import { FootnotesTracker } from './footnotestracker.js';
6
+ * @module footnotes/footnotesediting
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
10
+ import { type ViewNode } from "@ckeditor/ckeditor5-engine";
11
+ import { FootnotesTracker } from "./footnotestracker.js";
12
12
  /**
13
- * The footnotes editing plugin.
14
- */
13
+ * The footnotes editing plugin.
14
+ */
15
15
  export declare class FootnotesEditing extends Plugin {
16
- /**
17
- * @inheritDoc
18
- */
19
- static get pluginName(): "FootnotesEditing";
20
- /**
21
- * @inheritDoc
22
- */
23
- static get requires(): readonly [typeof FootnotesTracker];
24
- /**
25
- * @inheritDoc
26
- */
27
- static get isOfficialPlugin(): true;
28
- /**
29
- * @inheritDoc
30
- */
31
- static get isPremiumPlugin(): true;
32
- /**
33
- * @inheritDoc
34
- */
35
- init(): void;
36
- /**
37
- * @inheritDoc
38
- */
39
- afterInit(): void;
16
+ /**
17
+ * @inheritDoc
18
+ */
19
+ static get pluginName(): "FootnotesEditing";
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static get requires(): PluginDependenciesOf<[FootnotesTracker]>;
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ static override get isOfficialPlugin(): true;
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ static override get isPremiumPlugin(): true;
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ init(): void;
36
+ /**
37
+ * @inheritDoc
38
+ */
39
+ afterInit(): void;
40
40
  }
41
41
  /**
42
- * Checks if the given element is a footnotes definitions widget.
43
- *
44
- * @param element The element to check.
45
- * @returns Whether the element is a footnotes definitions widget.
46
- */
42
+ * Checks if the given element is a footnotes definitions widget.
43
+ *
44
+ * @param element The element to check.
45
+ * @returns Whether the element is a footnotes definitions widget.
46
+ */
47
47
  export declare function isFootnotesDefinitionsWidget(element: ViewNode): boolean;
@@ -1,28 +1,28 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module footnotes/footnotesproperties/commands/footnotesstartcommand
7
- * @publicApi
8
- */
9
- import { Command } from '@ckeditor/ckeditor5-core';
6
+ * @module footnotes/footnotesproperties/commands/footnotesstartcommand
7
+ * @publicApi
8
+ */
9
+ import { Command } from "@ckeditor/ckeditor5-core";
10
10
  /**
11
- * Change footnotes definitions start command.
12
- */
11
+ * Change footnotes definitions start command.
12
+ */
13
13
  export declare class FootnotesStartCommand extends Command {
14
- /**
15
- * Current list start value of the footnotesDefinitions container.
16
- */
17
- value: number | null;
18
- /**
19
- * @inheritdoc
20
- */
21
- refresh(): void;
22
- /**
23
- * @inheritdoc
24
- */
25
- execute({ value }: {
26
- value: number;
27
- }): void;
14
+ /**
15
+ * Current list start value of the footnotesDefinitions container.
16
+ */
17
+ value: number | null;
18
+ /**
19
+ * @inheritdoc
20
+ */
21
+ override refresh(): void;
22
+ /**
23
+ * @inheritdoc
24
+ */
25
+ override execute({ value }: {
26
+ value: number;
27
+ }): void;
28
28
  }
@@ -1,29 +1,29 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module footnotes/footnotesproperties/commands/footnotesstylecommand
7
- * @publicApi
8
- */
9
- import { Command } from '@ckeditor/ckeditor5-core';
10
- import { type FootnotesDefinitionsStyle } from '../footnotespropertiesconfig.js';
6
+ * @module footnotes/footnotesproperties/commands/footnotesstylecommand
7
+ * @publicApi
8
+ */
9
+ import { Command } from "@ckeditor/ckeditor5-core";
10
+ import { type FootnotesDefinitionsStyle } from "../footnotespropertiesconfig.js";
11
11
  /**
12
- * Change footnotes definitions style command.
13
- */
12
+ * Change footnotes definitions style command.
13
+ */
14
14
  export declare class FootnotesStyleCommand extends Command {
15
- /**
16
- * Current list style value of the footnotesDefinitions container.
17
- */
18
- value: FootnotesDefinitionsStyle | null;
19
- /**
20
- * @inheritdoc
21
- */
22
- refresh(): void;
23
- /**
24
- * @inheritdoc
25
- */
26
- execute({ value }: {
27
- value: FootnotesDefinitionsStyle;
28
- }): void;
15
+ /**
16
+ * Current list style value of the footnotesDefinitions container.
17
+ */
18
+ value: FootnotesDefinitionsStyle | null;
19
+ /**
20
+ * @inheritdoc
21
+ */
22
+ override refresh(): void;
23
+ /**
24
+ * @inheritdoc
25
+ */
26
+ override execute({ value }: {
27
+ value: FootnotesDefinitionsStyle;
28
+ }): void;
29
29
  }
@@ -1,81 +1,81 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module footnotes/footnotesproperties/footnotespropertiesconfig
7
- * @publicApi
8
- */
6
+ * @module footnotes/footnotesproperties/footnotespropertiesconfig
7
+ * @publicApi
8
+ */
9
9
  /**
10
- * The configuration of the {@link module:footnotes/footnotesproperties~FootnotesProperties} feature.
11
- *
12
- * Read more in {@link module:footnotes/footnotesproperties~FootnotesProperties}.
13
- */
10
+ * The configuration of the {@link module:footnotes/footnotesproperties~FootnotesProperties} feature.
11
+ *
12
+ * Read more in {@link module:footnotes/footnotesproperties~FootnotesProperties}.
13
+ */
14
14
  export interface FootnotesPropertiesConfig {
15
- /**
16
- * The default style of the footnotes definitions. The default is `'decimal'`.
17
- *
18
- * Note: This configuration is used only when the footnotes definitions is being created after adding the first footnote.
19
- */
20
- defaultListStyle?: FootnotesDefinitionsStyle;
21
- /**
22
- * The default start index of the footnotes definitions. The default is `1`.
23
- *
24
- * Note: This configuration is used only when the footnotes definitions is being created after adding the first footnote.
25
- */
26
- defaultStartIndex?: number;
27
- /**
28
- * Items to be placed in the footnotes properties toolbar.
29
- *
30
- * Assuming that you use the
31
- * {@link module:footnotes/footnotesproperties/footnotespropertiesui~FootnotesPropertiesUI} feature,
32
- * the following toolbar items will be available in {@link module:ui/componentfactory~ComponentFactory}:
33
- *
34
- * * `'footnotesStyle'` - the dropdown for selecting the footnotes definitions style.
35
- *
36
- * The default configuration for footnotes toolbar is:
37
- *
38
- * ```ts
39
- * const footnotesPropertiesConfig = {
40
- * toolbar: [ 'footnotesStyle' ]
41
- * };
42
- * ```
43
- * @default `[ 'footnotesStyle' ]`
44
- */
45
- toolbar?: Array<string>;
46
- /**
47
- * The list of styles for footnotes definitions that will be shown in the footnotes properties dropdown
48
- * created by the {@link module:footnotes/footnotesproperties/footnotespropertiesui~FootnotesPropertiesUI} feature.
49
- * The order of styles in the dropdown corresponds to the order of styles in this configuration.
50
- *
51
- * @default `[ 'decimal', 'decimal-leading-zero', 'lower-latin', 'upper-latin', 'lower-roman', 'upper-roman' ]`
52
- */
53
- listStyles?: Array<FootnotesDefinitionsStyle>;
15
+ /**
16
+ * The default style of the footnotes definitions. The default is `'decimal'`.
17
+ *
18
+ * Note: This configuration is used only when the footnotes definitions is being created after adding the first footnote.
19
+ */
20
+ defaultListStyle?: FootnotesDefinitionsStyle;
21
+ /**
22
+ * The default start index of the footnotes definitions. The default is `1`.
23
+ *
24
+ * Note: This configuration is used only when the footnotes definitions is being created after adding the first footnote.
25
+ */
26
+ defaultStartIndex?: number;
27
+ /**
28
+ * Items to be placed in the footnotes properties toolbar.
29
+ *
30
+ * Assuming that you use the
31
+ * {@link module:footnotes/footnotesproperties/footnotespropertiesui~FootnotesPropertiesUI} feature,
32
+ * the following toolbar items will be available in {@link module:ui/componentfactory~ComponentFactory}:
33
+ *
34
+ * * `'footnotesStyle'` - the dropdown for selecting the footnotes definitions style.
35
+ *
36
+ * The default configuration for footnotes toolbar is:
37
+ *
38
+ * ```ts
39
+ * const footnotesPropertiesConfig = {
40
+ * toolbar: [ 'footnotesStyle' ]
41
+ * };
42
+ * ```
43
+ * @default `[ 'footnotesStyle' ]`
44
+ */
45
+ toolbar?: Array<string>;
46
+ /**
47
+ * The list of styles for footnotes definitions that will be shown in the footnotes properties dropdown
48
+ * created by the {@link module:footnotes/footnotesproperties/footnotespropertiesui~FootnotesPropertiesUI} feature.
49
+ * The order of styles in the dropdown corresponds to the order of styles in this configuration.
50
+ *
51
+ * @default `[ 'decimal', 'decimal-leading-zero', 'lower-latin', 'upper-latin', 'lower-roman', 'upper-roman' ]`
52
+ */
53
+ listStyles?: Array<FootnotesDefinitionsStyle>;
54
54
  }
55
55
  /**
56
- * The list of the default styles for footnotes definitions. These styles are shown
57
- * by default in the footnotes properties dropdown and are supported in the editor by default.
58
- */
56
+ * The list of the default styles for footnotes definitions. These styles are shown
57
+ * by default in the footnotes properties dropdown and are supported in the editor by default.
58
+ */
59
59
  export declare const FOOTNOTES_BASE_CANONICAL_DEFINITIONS_STYLES: readonly ["decimal", "decimal-leading-zero", "lower-latin", "upper-latin", "lower-roman", "upper-roman"];
60
60
  /**
61
- * The list of additional styles for footnotes definitions. These styles are supported in the editor but not shown
62
- * in the footnotes properties dropdown by default. To show them in the dropdown, they must be added to the
63
- * {@link module:footnotes/footnotesproperties/footnotespropertiesconfig~FootnotesPropertiesConfig#listStyles} configuration.
64
- */
61
+ * The list of additional styles for footnotes definitions. These styles are supported in the editor but not shown
62
+ * in the footnotes properties dropdown by default. To show them in the dropdown, they must be added to the
63
+ * {@link module:footnotes/footnotesproperties/footnotespropertiesconfig~FootnotesPropertiesConfig#listStyles} configuration.
64
+ */
65
65
  export declare const FOOTNOTES_ADDITIONAL_CANONICAL_DEFINITIONS_STYLES: readonly ["arabic-indic"];
66
66
  /**
67
- * The mapping of the footnotes definitions styles aliases to their canonical names.
68
- */
67
+ * The mapping of the footnotes definitions styles aliases to their canonical names.
68
+ */
69
69
  export declare const FOOTNOTES_DEFINITION_STYLES_ALIASES: Record<string, FootnotesDefinitionsStyle>;
70
70
  /**
71
- * The all available styles for footnotes definitions.
72
- */
73
- export declare const FOOTNOTES_DEFINITIONS_STYLES: readonly ["decimal", "decimal-leading-zero", "lower-latin", "upper-latin", "lower-roman", "upper-roman", "arabic-indic", "lower-alpha", "upper-alpha"];
71
+ * The all available styles for footnotes definitions.
72
+ */
73
+ export declare const FOOTNOTES_DEFINITIONS_STYLES: readonly [...typeof FOOTNOTES_BASE_CANONICAL_DEFINITIONS_STYLES, ...typeof FOOTNOTES_ADDITIONAL_CANONICAL_DEFINITIONS_STYLES, "lower-alpha", "upper-alpha"];
74
74
  /**
75
- * The style of the footnotes list. It should correspond to the `list-style-type` CSS property.
76
- */
75
+ * The style of the footnotes list. It should correspond to the `list-style-type` CSS property.
76
+ */
77
77
  export type FootnotesDefinitionsStyle = (typeof FOOTNOTES_DEFINITIONS_STYLES)[number];
78
78
  /**
79
- * The style of the footnotes list without aliases. It should correspond to the `list-style-type` CSS property.
80
- */
79
+ * The style of the footnotes list without aliases. It should correspond to the `list-style-type` CSS property.
80
+ */
81
81
  export type FootnotesDefinitionsCanonicalStyle = Exclude<FootnotesDefinitionsStyle, `${string}-alpha`>;