@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.
- package/CHANGELOG.md +9 -9
- package/LICENSE.md +1 -1
- package/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/ast.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/eo.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/eu.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/gu.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/hy.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/km.po +1 -1
- package/lang/translations/kn.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/oc.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/si.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +4 -3
- package/src/augmentation.d.ts +2 -2
- package/src/augmentation.js +1 -1
- package/src/command.d.ts +2 -2
- package/src/command.js +1 -1
- package/src/commandcollection.d.ts +2 -2
- package/src/commandcollection.js +1 -1
- package/src/context.d.ts +5 -5
- package/src/context.js +2 -2
- package/src/contextplugin.d.ts +6 -6
- package/src/contextplugin.js +1 -1
- package/src/editingkeystrokehandler.d.ts +2 -2
- package/src/editingkeystrokehandler.js +1 -1
- package/src/editor/editor.d.ts +7 -7
- package/src/editor/editor.js +5 -5
- package/src/editor/editorconfig.d.ts +4 -4
- package/src/editor/editorconfig.js +1 -1
- package/src/editor/utils/attachtoform.d.ts +3 -3
- package/src/editor/utils/attachtoform.js +1 -1
- package/src/editor/utils/dataapimixin.d.ts +2 -2
- package/src/editor/utils/dataapimixin.js +1 -1
- package/src/editor/utils/elementapimixin.d.ts +2 -2
- package/src/editor/utils/elementapimixin.js +1 -1
- package/src/editor/utils/securesourceelement.d.ts +2 -2
- package/src/editor/utils/securesourceelement.js +1 -1
- package/src/index.d.ts +38 -17
- package/src/index.js +56 -14
- package/src/multicommand.d.ts +2 -2
- package/src/multicommand.js +2 -2
- package/src/pendingactions.d.ts +2 -2
- package/src/pendingactions.js +2 -2
- package/src/plugin.d.ts +2 -2
- package/src/plugin.js +1 -1
- package/src/plugincollection.d.ts +2 -2
- package/src/plugincollection.js +1 -1
- package/theme/icons/browse-files.svg +1 -0
- package/theme/icons/bulletedlist.svg +1 -0
- package/theme/icons/codeblock.svg +1 -0
- package/theme/icons/color-palette.svg +1 -0
- package/theme/icons/heading1.svg +1 -0
- package/theme/icons/heading2.svg +1 -0
- package/theme/icons/heading3.svg +1 -0
- package/theme/icons/heading4.svg +1 -0
- package/theme/icons/heading5.svg +1 -0
- package/theme/icons/heading6.svg +1 -0
- package/theme/icons/horizontalline.svg +1 -0
- package/theme/icons/html.svg +1 -0
- package/theme/icons/image-asset-manager.svg +1 -1
- package/theme/icons/image-upload.svg +1 -1
- package/theme/icons/image-url.svg +1 -1
- package/theme/icons/image.svg +1 -1
- package/theme/icons/indent.svg +1 -0
- package/theme/icons/low-vision.svg +1 -1
- package/theme/icons/next-arrow.svg +1 -0
- package/theme/icons/numberedlist.svg +1 -0
- package/theme/icons/object-size-large.svg +1 -1
- package/theme/icons/object-size-medium.svg +1 -1
- package/theme/icons/object-size-small.svg +1 -1
- package/theme/icons/outdent.svg +1 -0
- package/theme/icons/previous-arrow.svg +1 -0
- package/theme/icons/redo.svg +1 -0
- package/theme/icons/table.svg +1 -0
- package/theme/icons/text-alternative.svg +1 -1
- package/theme/icons/todolist.svg +1 -0
- package/theme/icons/undo.svg +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -71,7 +71,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
71
71
|
|
|
72
72
|
Implemented the `EditorUI#setEditableElement()` method.
|
|
73
73
|
Deprecated the `EditorUI#_editableElements` property.
|
|
74
|
-
* Introduced `MultiCommand` which acts as a composite command – it can group
|
|
74
|
+
* Introduced `MultiCommand` which acts as a composite command – it can group many commands under the hood. ([ebcbd01](https://github.com/ckeditor/ckeditor5-core/commit/ebcbd01))
|
|
75
75
|
|
|
76
76
|
### Other changes
|
|
77
77
|
|
|
@@ -117,8 +117,8 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
117
117
|
* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c))
|
|
118
118
|
* The `Editor#getData()` method now returns an empty string by default when editor content is empty (instead of returning `'<p> </p>'` as before).
|
|
119
119
|
* The `editor#pluginsReady` event was removed. Use plugin `afterInit()` method instead.
|
|
120
|
-
* Removed `EditorWithUI#element` property.
|
|
121
|
-
* Removed `EditorWithUI#uiReady` event.
|
|
120
|
+
* Removed `EditorWithUI#element` property. The `EditorUI#element` property should be used instead.
|
|
121
|
+
* Removed `EditorWithUI#uiReady` event. The `EditorUI#ready` event should be used instead.
|
|
122
122
|
* Removed `view` parameter in `EditorUI` constructor. Only subclasses should use it without passing it further to `EditorUI`.
|
|
123
123
|
* Removed `EditorUI#view` property. The `view` property from subclasses (like `ClassicEditorUI#view`) should be used directly instead.
|
|
124
124
|
* The `editor.plugins.get()` will now throw an error if the plugin is not loaded. Use `editor.plugins.has()` to check if plugin is available.
|
|
@@ -148,7 +148,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
148
148
|
|
|
149
149
|
* Added the observable `Editor#state` property. Closes [#124](https://github.com/ckeditor/ckeditor5-core/issues/124). ([ec89d8d](https://github.com/ckeditor/ckeditor5-core/commit/ec89d8d))
|
|
150
150
|
* Imported the module providing the `CKEDITOR_VERSION` global constant in the `Editor` class (see [ckeditor/ckeditor5#1005](https://github.com/ckeditor/ckeditor5/issues/1005)). ([a1a9144](https://github.com/ckeditor/ckeditor5-core/commit/a1a9144))
|
|
151
|
-
* Introduced the `#element` property to the `EditorWithUI` interface. The `#element` property from the `ElementApi` interface has been renamed to `#sourceElement`. Most editors implement both interfaces, which
|
|
151
|
+
* Introduced the `#element` property to the `EditorWithUI` interface. The `#element` property from the `ElementApi` interface has been renamed to `#sourceElement`. Most editors implement both interfaces, which means that the old `editor.element` property is now called `editor.sourceElement` and there is a new `editor.element` property with a new meaning. Closes [#64](https://github.com/ckeditor/ckeditor5-core/issues/64). ([eb43b63](https://github.com/ckeditor/ckeditor5-core/commit/eb43b63))
|
|
152
152
|
* Introduced the `EditorUI#update` event. Closes [#130](https://github.com/ckeditor/ckeditor5-core/issues/130). ([734166a](https://github.com/ckeditor/ckeditor5-core/commit/734166a))
|
|
153
153
|
|
|
154
154
|
### Bug fixes
|
|
@@ -189,7 +189,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
189
189
|
|
|
190
190
|
### BREAKING CHANGES
|
|
191
191
|
|
|
192
|
-
* The license under which CKEditor 5 is released
|
|
192
|
+
* The license under which CKEditor 5 is released was changed from a triple GPL, LGPL, and MPL license to a GPL2+. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information.
|
|
193
193
|
|
|
194
194
|
|
|
195
195
|
## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-core/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018)
|
|
@@ -238,7 +238,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
238
238
|
### Bug fixes
|
|
239
239
|
|
|
240
240
|
* `EditingKeystrokeHandler` should prevent default action only for commands. Closes [#90](https://github.com/ckeditor/ckeditor5-core/issues/90). ([82ff39a](https://github.com/ckeditor/ckeditor5-core/commit/82ff39a))
|
|
241
|
-
* `ToggleAttributeCommand` should listen to reliable events
|
|
241
|
+
* `ToggleAttributeCommand` should listen to reliable events to determine its state. Closes [#50](https://github.com/ckeditor/ckeditor5-core/issues/50). ([6816505](https://github.com/ckeditor/ckeditor5-core/commit/6816505))
|
|
242
242
|
* SVG icons should not define own fill if controlled by the styles. Closes [#79](https://github.com/ckeditor/ckeditor5-core/issues/79). ([fadf5ec](https://github.com/ckeditor/ckeditor5-core/commit/fadf5ec))
|
|
243
243
|
|
|
244
244
|
### Features
|
|
@@ -267,12 +267,12 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
267
267
|
|
|
268
268
|
* The `ToggleAttributeCommand` was moved to the `ckeditor5-basic-styles` package as `AttributeCommand` and the other command helpers to `ckeditor5-engine` as `Schema` methods.
|
|
269
269
|
* The `Command`'s protected `_doExecute()` and `_checkEnabled()` methods have been replaced by public `execute()` and `refresh()` methods.
|
|
270
|
-
* The `Command`'s `refreshState` event was removed and one should use `change:isEnabled`
|
|
270
|
+
* The `Command`'s `refreshState` event was removed and one should use `change:isEnabled` to control and override its state.
|
|
271
271
|
* The `core/command/command` module has been moved to the root directory (so the `Command` class is `core/command~Command` now).
|
|
272
272
|
* The `Command#refresh()` method is now automatically called on `editor.document#changesDone`.
|
|
273
273
|
* The `editor.commands` map was replaced by a `CommandCollection` instance so `editor.commands.set()` calls need to be replaced with `editor.commands.add()`.
|
|
274
274
|
|
|
275
|
-
###
|
|
275
|
+
### Note
|
|
276
276
|
|
|
277
277
|
* Plugin naming convention has changed.
|
|
278
278
|
|
|
@@ -292,7 +292,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
292
292
|
|
|
293
293
|
### Features
|
|
294
294
|
|
|
295
|
-
* Added support for building plugins and default
|
|
295
|
+
* Added support for building plugins and default configurations into `Editor` classes. Closes [#67](https://github.com/ckeditor/ckeditor5-core/issues/67). ([a1fa64f](https://github.com/ckeditor/ckeditor5-core/commit/a1fa64f))
|
|
296
296
|
|
|
297
297
|
### Other changes
|
|
298
298
|
|
package/LICENSE.md
CHANGED
|
@@ -2,7 +2,7 @@ Software License Agreement
|
|
|
2
2
|
==========================
|
|
3
3
|
|
|
4
4
|
**CKEditor 5 core editor architecture** – https://github.com/ckeditor/ckeditor5-core <br>
|
|
5
|
-
Copyright (c) 2003–
|
|
5
|
+
Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
|
6
6
|
|
|
7
7
|
Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
|
|
8
8
|
|
package/lang/translations/af.po
CHANGED
package/lang/translations/ar.po
CHANGED
package/lang/translations/ast.po
CHANGED
package/lang/translations/az.po
CHANGED
package/lang/translations/bg.po
CHANGED
package/lang/translations/bn.po
CHANGED
package/lang/translations/bs.po
CHANGED
package/lang/translations/ca.po
CHANGED
package/lang/translations/cs.po
CHANGED
package/lang/translations/da.po
CHANGED
package/lang/translations/de.po
CHANGED
package/lang/translations/el.po
CHANGED
package/lang/translations/en.po
CHANGED
package/lang/translations/eo.po
CHANGED
package/lang/translations/es.po
CHANGED
package/lang/translations/et.po
CHANGED
package/lang/translations/eu.po
CHANGED
package/lang/translations/fa.po
CHANGED
package/lang/translations/fi.po
CHANGED
package/lang/translations/fr.po
CHANGED
package/lang/translations/gl.po
CHANGED
package/lang/translations/gu.po
CHANGED
package/lang/translations/he.po
CHANGED
package/lang/translations/hi.po
CHANGED
package/lang/translations/hr.po
CHANGED
package/lang/translations/hu.po
CHANGED
package/lang/translations/hy.po
CHANGED
package/lang/translations/id.po
CHANGED
package/lang/translations/it.po
CHANGED
package/lang/translations/ja.po
CHANGED
package/lang/translations/jv.po
CHANGED
package/lang/translations/km.po
CHANGED
package/lang/translations/kn.po
CHANGED
package/lang/translations/ko.po
CHANGED
package/lang/translations/ku.po
CHANGED
package/lang/translations/lt.po
CHANGED
package/lang/translations/lv.po
CHANGED
package/lang/translations/ms.po
CHANGED
package/lang/translations/nb.po
CHANGED
package/lang/translations/ne.po
CHANGED
package/lang/translations/nl.po
CHANGED
package/lang/translations/no.po
CHANGED
package/lang/translations/oc.po
CHANGED
package/lang/translations/pl.po
CHANGED
package/lang/translations/pt.po
CHANGED
package/lang/translations/ro.po
CHANGED
package/lang/translations/ru.po
CHANGED
package/lang/translations/si.po
CHANGED
package/lang/translations/sk.po
CHANGED
package/lang/translations/sl.po
CHANGED
package/lang/translations/sq.po
CHANGED
package/lang/translations/sr.po
CHANGED
package/lang/translations/sv.po
CHANGED
package/lang/translations/th.po
CHANGED
package/lang/translations/tk.po
CHANGED
package/lang/translations/tr.po
CHANGED
package/lang/translations/tt.po
CHANGED
package/lang/translations/ug.po
CHANGED
package/lang/translations/uk.po
CHANGED
package/lang/translations/ur.po
CHANGED
package/lang/translations/uz.po
CHANGED
package/lang/translations/vi.po
CHANGED
package/lang/translations/zh.po
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "41.0.0",
|
|
4
4
|
"description": "The core architecture of CKEditor 5 – the best browser-based rich text editor.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wysiwyg",
|
|
@@ -21,10 +21,11 @@
|
|
|
21
21
|
"ckeditor5-lib",
|
|
22
22
|
"ckeditor5-dll"
|
|
23
23
|
],
|
|
24
|
+
"type": "module",
|
|
24
25
|
"main": "src/index.js",
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"@ckeditor/ckeditor5-engine": "
|
|
27
|
-
"@ckeditor/ckeditor5-utils": "
|
|
27
|
+
"@ckeditor/ckeditor5-engine": "41.0.0",
|
|
28
|
+
"@ckeditor/ckeditor5-utils": "41.0.0",
|
|
28
29
|
"lodash-es": "4.17.21"
|
|
29
30
|
},
|
|
30
31
|
"author": "CKSource (http://cksource.com/)",
|