@ckeditor/ckeditor5-core 40.2.0 → 41.0.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 (137) hide show
  1. package/CHANGELOG.md +9 -9
  2. package/LICENSE.md +1 -1
  3. package/lang/translations/af.po +1 -1
  4. package/lang/translations/ar.po +1 -1
  5. package/lang/translations/ast.po +1 -1
  6. package/lang/translations/az.po +1 -1
  7. package/lang/translations/bg.po +1 -1
  8. package/lang/translations/bn.po +1 -1
  9. package/lang/translations/bs.po +1 -1
  10. package/lang/translations/ca.po +1 -1
  11. package/lang/translations/cs.po +1 -1
  12. package/lang/translations/da.po +1 -1
  13. package/lang/translations/de-ch.po +1 -1
  14. package/lang/translations/de.po +1 -1
  15. package/lang/translations/el.po +1 -1
  16. package/lang/translations/en-au.po +1 -1
  17. package/lang/translations/en-gb.po +1 -1
  18. package/lang/translations/en.po +1 -1
  19. package/lang/translations/eo.po +1 -1
  20. package/lang/translations/es-co.po +1 -1
  21. package/lang/translations/es.po +1 -1
  22. package/lang/translations/et.po +1 -1
  23. package/lang/translations/eu.po +1 -1
  24. package/lang/translations/fa.po +1 -1
  25. package/lang/translations/fi.po +1 -1
  26. package/lang/translations/fr.po +1 -1
  27. package/lang/translations/gl.po +1 -1
  28. package/lang/translations/gu.po +1 -1
  29. package/lang/translations/he.po +1 -1
  30. package/lang/translations/hi.po +1 -1
  31. package/lang/translations/hr.po +1 -1
  32. package/lang/translations/hu.po +1 -1
  33. package/lang/translations/hy.po +1 -1
  34. package/lang/translations/id.po +1 -1
  35. package/lang/translations/it.po +1 -1
  36. package/lang/translations/ja.po +1 -1
  37. package/lang/translations/jv.po +1 -1
  38. package/lang/translations/km.po +1 -1
  39. package/lang/translations/kn.po +1 -1
  40. package/lang/translations/ko.po +1 -1
  41. package/lang/translations/ku.po +1 -1
  42. package/lang/translations/lt.po +1 -1
  43. package/lang/translations/lv.po +1 -1
  44. package/lang/translations/ms.po +1 -1
  45. package/lang/translations/nb.po +1 -1
  46. package/lang/translations/ne.po +1 -1
  47. package/lang/translations/nl.po +1 -1
  48. package/lang/translations/no.po +1 -1
  49. package/lang/translations/oc.po +1 -1
  50. package/lang/translations/pl.po +1 -1
  51. package/lang/translations/pt-br.po +1 -1
  52. package/lang/translations/pt.po +1 -1
  53. package/lang/translations/ro.po +1 -1
  54. package/lang/translations/ru.po +1 -1
  55. package/lang/translations/si.po +1 -1
  56. package/lang/translations/sk.po +1 -1
  57. package/lang/translations/sl.po +1 -1
  58. package/lang/translations/sq.po +1 -1
  59. package/lang/translations/sr-latn.po +1 -1
  60. package/lang/translations/sr.po +1 -1
  61. package/lang/translations/sv.po +1 -1
  62. package/lang/translations/th.po +1 -1
  63. package/lang/translations/tk.po +1 -1
  64. package/lang/translations/tr.po +1 -1
  65. package/lang/translations/tt.po +1 -1
  66. package/lang/translations/ug.po +1 -1
  67. package/lang/translations/uk.po +1 -1
  68. package/lang/translations/ur.po +1 -1
  69. package/lang/translations/uz.po +1 -1
  70. package/lang/translations/vi.po +1 -1
  71. package/lang/translations/zh-cn.po +1 -1
  72. package/lang/translations/zh.po +1 -1
  73. package/package.json +4 -3
  74. package/src/augmentation.d.ts +2 -2
  75. package/src/augmentation.js +1 -1
  76. package/src/command.d.ts +2 -2
  77. package/src/command.js +1 -1
  78. package/src/commandcollection.d.ts +2 -2
  79. package/src/commandcollection.js +1 -1
  80. package/src/context.d.ts +5 -5
  81. package/src/context.js +2 -2
  82. package/src/contextplugin.d.ts +6 -6
  83. package/src/contextplugin.js +1 -1
  84. package/src/editingkeystrokehandler.d.ts +2 -2
  85. package/src/editingkeystrokehandler.js +1 -1
  86. package/src/editor/editor.d.ts +7 -7
  87. package/src/editor/editor.js +5 -5
  88. package/src/editor/editorconfig.d.ts +4 -4
  89. package/src/editor/editorconfig.js +1 -1
  90. package/src/editor/utils/attachtoform.d.ts +3 -3
  91. package/src/editor/utils/attachtoform.js +1 -1
  92. package/src/editor/utils/dataapimixin.d.ts +2 -2
  93. package/src/editor/utils/dataapimixin.js +1 -1
  94. package/src/editor/utils/elementapimixin.d.ts +2 -2
  95. package/src/editor/utils/elementapimixin.js +1 -1
  96. package/src/editor/utils/securesourceelement.d.ts +2 -2
  97. package/src/editor/utils/securesourceelement.js +1 -1
  98. package/src/index.d.ts +38 -17
  99. package/src/index.js +56 -14
  100. package/src/multicommand.d.ts +2 -2
  101. package/src/multicommand.js +2 -2
  102. package/src/pendingactions.d.ts +2 -2
  103. package/src/pendingactions.js +2 -2
  104. package/src/plugin.d.ts +2 -2
  105. package/src/plugin.js +1 -1
  106. package/src/plugincollection.d.ts +2 -2
  107. package/src/plugincollection.js +1 -1
  108. package/theme/icons/browse-files.svg +1 -0
  109. package/theme/icons/bulletedlist.svg +1 -0
  110. package/theme/icons/codeblock.svg +1 -0
  111. package/theme/icons/color-palette.svg +1 -0
  112. package/theme/icons/heading1.svg +1 -0
  113. package/theme/icons/heading2.svg +1 -0
  114. package/theme/icons/heading3.svg +1 -0
  115. package/theme/icons/heading4.svg +1 -0
  116. package/theme/icons/heading5.svg +1 -0
  117. package/theme/icons/heading6.svg +1 -0
  118. package/theme/icons/horizontalline.svg +1 -0
  119. package/theme/icons/html.svg +1 -0
  120. package/theme/icons/image-asset-manager.svg +1 -1
  121. package/theme/icons/image-upload.svg +1 -1
  122. package/theme/icons/image-url.svg +1 -1
  123. package/theme/icons/image.svg +1 -1
  124. package/theme/icons/indent.svg +1 -0
  125. package/theme/icons/low-vision.svg +1 -1
  126. package/theme/icons/next-arrow.svg +1 -0
  127. package/theme/icons/numberedlist.svg +1 -0
  128. package/theme/icons/object-size-large.svg +1 -1
  129. package/theme/icons/object-size-medium.svg +1 -1
  130. package/theme/icons/object-size-small.svg +1 -1
  131. package/theme/icons/outdent.svg +1 -0
  132. package/theme/icons/previous-arrow.svg +1 -0
  133. package/theme/icons/redo.svg +1 -0
  134. package/theme/icons/table.svg +1 -0
  135. package/theme/icons/text-alternative.svg +1 -1
  136. package/theme/icons/todolist.svg +1 -0
  137. package/theme/icons/undo.svg +1 -0
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import type { PendingActions } from './index';
5
+ import type { PendingActions } from './index.js';
6
6
  declare module '@ckeditor/ckeditor5-core' {
7
7
  interface PluginsMap {
8
8
  [PendingActions.pluginName]: PendingActions;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  export {};
package/src/command.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module core/command
7
7
  */
8
8
  import { type DecoratedMethodEvent } from '@ckeditor/ckeditor5-utils';
9
- import type Editor from './editor/editor';
9
+ import type Editor from './editor/editor.js';
10
10
  declare const Command_base: {
11
11
  new (): import("@ckeditor/ckeditor5-utils").Observable;
12
12
  prototype: import("@ckeditor/ckeditor5-utils").Observable;
package/src/command.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import type Command from './command';
5
+ import type Command from './command.js';
6
6
  /**
7
7
  * Collection of commands. Its instance is available in {@link module:core/editor/editor~Editor#commands `editor.commands`}.
8
8
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/context.d.ts CHANGED
@@ -1,15 +1,15 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module core/context
7
7
  */
8
8
  import { Config, Collection, Locale, type LocaleTranslate } from '@ckeditor/ckeditor5-utils';
9
- import PluginCollection from './plugincollection';
10
- import type Editor from './editor/editor';
11
- import type { LoadedPlugins, PluginConstructor } from './plugin';
12
- import type { EditorConfig } from './editor/editorconfig';
9
+ import PluginCollection from './plugincollection.js';
10
+ import type Editor from './editor/editor.js';
11
+ import type { LoadedPlugins, PluginConstructor } from './plugin.js';
12
+ import type { EditorConfig } from './editor/editorconfig.js';
13
13
  /**
14
14
  * Provides a common, higher-level environment for solutions that use multiple {@link module:core/editor/editor~Editor editors}
15
15
  * or plugins that work outside the editor. Use it instead of {@link module:core/editor/editor~Editor.create `Editor.create()`}
package/src/context.js CHANGED
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module core/context
7
7
  */
8
8
  import { Config, Collection, CKEditorError, Locale } from '@ckeditor/ckeditor5-utils';
9
- import PluginCollection from './plugincollection';
9
+ import PluginCollection from './plugincollection.js';
10
10
  /**
11
11
  * Provides a common, higher-level environment for solutions that use multiple {@link module:core/editor/editor~Editor editors}
12
12
  * or plugins that work outside the editor. Use it instead of {@link module:core/editor/editor~Editor.create `Editor.create()`}
@@ -1,16 +1,16 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module core/contextplugin
7
7
  */
8
8
  import { type Collection, type Config, type Locale, type LocaleTranslate } from '@ckeditor/ckeditor5-utils';
9
- import type Editor from './editor/editor';
10
- import type { EditorConfig } from './editor/editorconfig';
11
- import type Context from './context';
12
- import type { PluginDependencies, PluginInterface } from './plugin';
13
- import type PluginCollection from './plugincollection';
9
+ import type Editor from './editor/editor.js';
10
+ import type { EditorConfig } from './editor/editorconfig.js';
11
+ import type Context from './context.js';
12
+ import type { PluginDependencies, PluginInterface } from './plugin.js';
13
+ import type PluginCollection from './plugincollection.js';
14
14
  declare const ContextPlugin_base: {
15
15
  new (): import("@ckeditor/ckeditor5-utils").Observable;
16
16
  prototype: import("@ckeditor/ckeditor5-utils").Observable;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module core/editingkeystrokehandler
7
7
  */
8
8
  import { KeystrokeHandler, type PriorityString } from '@ckeditor/ckeditor5-utils';
9
- import type Editor from './editor/editor';
9
+ import type Editor from './editor/editor.js';
10
10
  /**
11
11
  * A keystroke handler for editor editing. Its instance is available
12
12
  * in {@link module:core/editor/editor~Editor#keystrokes} so plugins
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
@@ -8,12 +8,12 @@
8
8
  import { Config, type Locale, type LocaleTranslate } from '@ckeditor/ckeditor5-utils';
9
9
  import { Conversion, DataController, EditingController, Model } from '@ckeditor/ckeditor5-engine';
10
10
  import type { EditorUI } from '@ckeditor/ckeditor5-ui';
11
- import Context from '../context';
12
- import PluginCollection from '../plugincollection';
13
- import CommandCollection, { type CommandsMap } from '../commandcollection';
14
- import EditingKeystrokeHandler from '../editingkeystrokehandler';
15
- import type { LoadedPlugins, PluginConstructor } from '../plugin';
16
- import type { EditorConfig } from './editorconfig';
11
+ import Context from '../context.js';
12
+ import PluginCollection from '../plugincollection.js';
13
+ import CommandCollection, { type CommandsMap } from '../commandcollection.js';
14
+ import EditingKeystrokeHandler from '../editingkeystrokehandler.js';
15
+ import type { LoadedPlugins, PluginConstructor } from '../plugin.js';
16
+ import type { EditorConfig } from './editorconfig.js';
17
17
  declare const Editor_base: {
18
18
  new (): import("@ckeditor/ckeditor5-utils").Observable;
19
19
  prototype: import("@ckeditor/ckeditor5-utils").Observable;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
@@ -7,10 +7,10 @@
7
7
  */
8
8
  import { Config, CKEditorError, ObservableMixin } from '@ckeditor/ckeditor5-utils';
9
9
  import { Conversion, DataController, EditingController, Model, StylesProcessor } from '@ckeditor/ckeditor5-engine';
10
- import Context from '../context';
11
- import PluginCollection from '../plugincollection';
12
- import CommandCollection from '../commandcollection';
13
- import EditingKeystrokeHandler from '../editingkeystrokehandler';
10
+ import Context from '../context.js';
11
+ import PluginCollection from '../plugincollection.js';
12
+ import CommandCollection from '../commandcollection.js';
13
+ import EditingKeystrokeHandler from '../editingkeystrokehandler.js';
14
14
  /**
15
15
  * The class representing a basic, generic editor.
16
16
  *
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module core/editor/editorconfig
7
7
  */
8
- import type Context from '../context';
9
- import type { PluginConstructor } from '../plugin';
10
- import type Editor from './editor';
8
+ import type Context from '../context.js';
9
+ import type { PluginConstructor } from '../plugin.js';
10
+ import type Editor from './editor.js';
11
11
  /**
12
12
  * CKEditor configuration options.
13
13
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  export {};
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import type { default as Editor } from '../editor';
6
- import type { ElementApi } from './elementapimixin';
5
+ import type { default as Editor } from '../editor.js';
6
+ import type { ElementApi } from './elementapimixin.js';
7
7
  /**
8
8
  * Checks if the editor is initialized on a `<textarea>` element that belongs to a form. If yes, it updates the editor's element
9
9
  * content before submitting the form.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module core/editor/utils/dataapimixin
7
7
  */
8
- import type Editor from '../editor';
8
+ import type Editor from '../editor.js';
9
9
  import type { Constructor, Mixed } from '@ckeditor/ckeditor5-utils';
10
10
  /**
11
11
  * Implementation of the {@link module:core/editor/utils/dataapimixin~DataApi}.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module core/editor/utils/elementapimixin
7
7
  */
8
8
  import { type Constructor, type Mixed } from '@ckeditor/ckeditor5-utils';
9
- import type Editor from '../editor';
9
+ import type Editor from '../editor.js';
10
10
  /**
11
11
  * Implementation of the {@link module:core/editor/utils/elementapimixin~ElementApi}.
12
12
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import type { default as Editor } from '../editor';
5
+ import type { default as Editor } from '../editor.js';
6
6
  /**
7
7
  * Marks the source element on which the editor was initialized. This prevents other editor instances from using this element.
8
8
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/index.d.ts CHANGED
@@ -1,31 +1,32 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module core
7
7
  */
8
- export { default as Plugin, type PluginDependencies, type PluginConstructor } from './plugin';
9
- export { default as Command, type CommandExecuteEvent } from './command';
10
- export { default as MultiCommand } from './multicommand';
11
- export type { CommandsMap } from './commandcollection';
12
- export type { PluginsMap, default as PluginCollection } from './plugincollection';
13
- export { default as Context, type ContextConfig } from './context';
14
- export { default as ContextPlugin, type ContextPluginDependencies } from './contextplugin';
15
- export { type EditingKeystrokeCallback } from './editingkeystrokehandler';
16
- export { default as Editor, type EditorReadyEvent, type EditorDestroyEvent } from './editor/editor';
17
- export type { EditorConfig, LanguageConfig, ToolbarConfig, ToolbarConfigItem, UiConfig } from './editor/editorconfig';
18
- export { default as attachToForm } from './editor/utils/attachtoform';
19
- export { default as DataApiMixin, type DataApi } from './editor/utils/dataapimixin';
20
- export { default as ElementApiMixin, type ElementApi } from './editor/utils/elementapimixin';
21
- export { default as secureSourceElement } from './editor/utils/securesourceelement';
22
- export { default as PendingActions, type PendingAction } from './pendingactions';
8
+ export { default as Plugin, type PluginDependencies, type PluginConstructor } from './plugin.js';
9
+ export { default as Command, type CommandExecuteEvent } from './command.js';
10
+ export { default as MultiCommand } from './multicommand.js';
11
+ export type { CommandsMap } from './commandcollection.js';
12
+ export type { PluginsMap, default as PluginCollection } from './plugincollection.js';
13
+ export { default as Context, type ContextConfig } from './context.js';
14
+ export { default as ContextPlugin, type ContextPluginDependencies } from './contextplugin.js';
15
+ export { type EditingKeystrokeCallback } from './editingkeystrokehandler.js';
16
+ export { default as Editor, type EditorReadyEvent, type EditorDestroyEvent } from './editor/editor.js';
17
+ export type { EditorConfig, LanguageConfig, ToolbarConfig, ToolbarConfigItem, UiConfig } from './editor/editorconfig.js';
18
+ export { default as attachToForm } from './editor/utils/attachtoform.js';
19
+ export { default as DataApiMixin, type DataApi } from './editor/utils/dataapimixin.js';
20
+ export { default as ElementApiMixin, type ElementApi } from './editor/utils/elementapimixin.js';
21
+ export { default as secureSourceElement } from './editor/utils/securesourceelement.js';
22
+ export { default as PendingActions, type PendingAction } from './pendingactions.js';
23
23
  export declare const icons: {
24
24
  bold: string;
25
25
  cancel: string;
26
26
  caption: string;
27
27
  check: string;
28
28
  cog: string;
29
+ colorPalette: string;
29
30
  eraser: string;
30
31
  history: string;
31
32
  image: string;
@@ -35,6 +36,8 @@ export declare const icons: {
35
36
  lowVision: string;
36
37
  textAlternative: string;
37
38
  loupe: string;
39
+ previousArrow: string;
40
+ nextArrow: string;
38
41
  importExport: string;
39
42
  paragraph: string;
40
43
  plus: string;
@@ -62,5 +65,23 @@ export declare const icons: {
62
65
  quote: string;
63
66
  threeVerticalDots: string;
64
67
  dragIndicator: string;
68
+ redo: string;
69
+ undo: string;
70
+ bulletedList: string;
71
+ numberedList: string;
72
+ todoList: string;
73
+ codeBlock: string;
74
+ browseFiles: string;
75
+ heading1: string;
76
+ heading2: string;
77
+ heading3: string;
78
+ heading4: string;
79
+ heading5: string;
80
+ heading6: string;
81
+ horizontalLine: string;
82
+ html: string;
83
+ indent: string;
84
+ outdent: string;
85
+ table: string;
65
86
  };
66
- import './augmentation';
87
+ import './augmentation.js';
package/src/index.js CHANGED
@@ -1,30 +1,33 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module core
7
7
  */
8
- export { default as Plugin } from './plugin';
9
- export { default as Command } from './command';
10
- export { default as MultiCommand } from './multicommand';
11
- export { default as Context } from './context';
12
- export { default as ContextPlugin } from './contextplugin';
13
- export { default as Editor } from './editor/editor';
14
- export { default as attachToForm } from './editor/utils/attachtoform';
15
- export { default as DataApiMixin } from './editor/utils/dataapimixin';
16
- export { default as ElementApiMixin } from './editor/utils/elementapimixin';
17
- export { default as secureSourceElement } from './editor/utils/securesourceelement';
18
- export { default as PendingActions } from './pendingactions';
8
+ export { default as Plugin } from './plugin.js';
9
+ export { default as Command } from './command.js';
10
+ export { default as MultiCommand } from './multicommand.js';
11
+ export { default as Context } from './context.js';
12
+ export { default as ContextPlugin } from './contextplugin.js';
13
+ export { default as Editor } from './editor/editor.js';
14
+ export { default as attachToForm } from './editor/utils/attachtoform.js';
15
+ export { default as DataApiMixin } from './editor/utils/dataapimixin.js';
16
+ export { default as ElementApiMixin } from './editor/utils/elementapimixin.js';
17
+ export { default as secureSourceElement } from './editor/utils/securesourceelement.js';
18
+ export { default as PendingActions } from './pendingactions.js';
19
19
  import cancel from './../theme/icons/cancel.svg';
20
20
  import caption from './../theme/icons/caption.svg';
21
21
  import check from './../theme/icons/check.svg';
22
22
  import cog from './../theme/icons/cog.svg';
23
+ import colorPalette from './../theme/icons/color-palette.svg';
23
24
  import eraser from './../theme/icons/eraser.svg';
24
25
  import history from './../theme/icons/history.svg';
25
26
  import lowVision from './../theme/icons/low-vision.svg';
26
27
  import textAlternative from './../theme/icons/text-alternative.svg';
27
28
  import loupe from './../theme/icons/loupe.svg';
29
+ import previousArrow from './../theme/icons/previous-arrow.svg';
30
+ import nextArrow from './../theme/icons/next-arrow.svg';
28
31
  import image from './../theme/icons/image.svg';
29
32
  import imageUpload from './../theme/icons/image-upload.svg';
30
33
  import imageAssetManager from './../theme/icons/image-asset-manager.svg';
@@ -57,12 +60,31 @@ import paragraph from './../theme/icons/paragraph.svg';
57
60
  import plus from './../theme/icons/plus.svg';
58
61
  import text from './../theme/icons/text.svg';
59
62
  import importExport from './../theme/icons/importexport.svg';
63
+ import redo from './../theme/icons/redo.svg';
64
+ import undo from './../theme/icons/undo.svg';
65
+ import bulletedList from './../theme/icons/bulletedlist.svg';
66
+ import numberedList from './../theme/icons/numberedlist.svg';
67
+ import todoList from './../theme/icons/todolist.svg';
68
+ import codeBlock from './../theme/icons/codeblock.svg';
69
+ import browseFiles from './../theme/icons/browse-files.svg';
70
+ import heading1 from './../theme/icons/heading1.svg';
71
+ import heading2 from './../theme/icons/heading2.svg';
72
+ import heading3 from './../theme/icons/heading3.svg';
73
+ import heading4 from './../theme/icons/heading4.svg';
74
+ import heading5 from './../theme/icons/heading5.svg';
75
+ import heading6 from './../theme/icons/heading6.svg';
76
+ import horizontalLine from './../theme/icons/horizontalline.svg';
77
+ import html from './../theme/icons/html.svg';
78
+ import indent from './../theme/icons/indent.svg';
79
+ import outdent from './../theme/icons/outdent.svg';
80
+ import table from './../theme/icons/table.svg';
60
81
  export const icons = {
61
82
  bold,
62
83
  cancel,
63
84
  caption,
64
85
  check,
65
86
  cog,
87
+ colorPalette,
66
88
  eraser,
67
89
  history,
68
90
  image,
@@ -72,6 +94,8 @@ export const icons = {
72
94
  lowVision,
73
95
  textAlternative,
74
96
  loupe,
97
+ previousArrow,
98
+ nextArrow,
75
99
  importExport,
76
100
  paragraph,
77
101
  plus,
@@ -98,6 +122,24 @@ export const icons = {
98
122
  pilcrow,
99
123
  quote,
100
124
  threeVerticalDots,
101
- dragIndicator
125
+ dragIndicator,
126
+ redo,
127
+ undo,
128
+ bulletedList,
129
+ numberedList,
130
+ todoList,
131
+ codeBlock,
132
+ browseFiles,
133
+ heading1,
134
+ heading2,
135
+ heading3,
136
+ heading4,
137
+ heading5,
138
+ heading6,
139
+ horizontalLine,
140
+ html,
141
+ indent,
142
+ outdent,
143
+ table
102
144
  };
103
- import './augmentation';
145
+ import './augmentation.js';
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module core/multicommand
7
7
  */
8
- import Command from './command';
8
+ import Command from './command.js';
9
9
  import { type PriorityString } from '@ckeditor/ckeditor5-utils';
10
10
  /**
11
11
  * A CKEditor command that aggregates other commands.
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module core/multicommand
7
7
  */
8
- import Command from './command';
8
+ import Command from './command.js';
9
9
  import { insertToPriorityArray } from '@ckeditor/ckeditor5-utils';
10
10
  /**
11
11
  * A CKEditor command that aggregates other commands.
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module core/pendingactions
7
7
  */
8
- import ContextPlugin from './contextplugin';
8
+ import ContextPlugin from './contextplugin.js';
9
9
  import { type CollectionAddEvent, type CollectionRemoveEvent, type Observable } from '@ckeditor/ckeditor5-utils';
10
10
  /**
11
11
  * The list of pending editor actions.
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module core/pendingactions
7
7
  */
8
- import ContextPlugin from './contextplugin';
8
+ import ContextPlugin from './contextplugin.js';
9
9
  import { CKEditorError, Collection, ObservableMixin } from '@ckeditor/ckeditor5-utils';
10
10
  /**
11
11
  * The list of pending editor actions.
package/src/plugin.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import type Editor from './editor/editor';
5
+ import type Editor from './editor/editor.js';
6
6
  declare const Plugin_base: {
7
7
  new (): import("@ckeditor/ckeditor5-utils").Observable;
8
8
  prototype: import("@ckeditor/ckeditor5-utils").Observable;
package/src/plugin.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import type { LoadedPlugins, PluginClassConstructor, PluginConstructor, PluginInterface } from './plugin';
5
+ import type { LoadedPlugins, PluginClassConstructor, PluginConstructor, PluginInterface } from './plugin.js';
6
6
  declare const PluginCollection_base: {
7
7
  new (): import("@ckeditor/ckeditor5-utils").Emitter;
8
8
  prototype: import("@ckeditor/ckeditor5-utils").Emitter;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.627 16.5zm5.873-.196zm0-7.001V8h-13v8.5h4.341c.191.54.457 1.044.785 1.5H2a1.5 1.5 0 0 1-1.5-1.5v-13A1.5 1.5 0 0 1 2 2h4.5a1.5 1.5 0 0 1 1.06.44L9.122 4H16a1.5 1.5 0 0 1 1.5 1.5v1A1.5 1.5 0 0 1 19 8v2.531a6.027 6.027 0 0 0-1.5-1.228zM16 6.5v-1H8.5l-2-2H2v13h1V8a1.5 1.5 0 0 1 1.5-1.5H16z"/><path d="M14.5 19.5a5 5 0 1 1 0-10 5 5 0 0 1 0 10zM15 14v-2h-1v2h-2v1h2v2h1v-2h2v-1h-2z"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 5.75c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zm-6 0C1 4.784 1.777 4 2.75 4c.966 0 1.75.777 1.75 1.75 0 .966-.777 1.75-1.75 1.75C1.784 7.5 1 6.723 1 5.75zm6 9c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zm-6 0c0-.966.777-1.75 1.75-1.75.966 0 1.75.777 1.75 1.75 0 .966-.777 1.75-1.75 1.75-.966 0-1.75-.777-1.75-1.75z"/></svg>