@ckeditor/ckeditor5-engine 39.0.1 → 39.0.2
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 +2 -2
- package/LICENSE.md +1 -1
- package/README.md +8 -8
- package/package.json +2 -6
- package/src/conversion/upcasthelpers.d.ts +1 -1
- package/src/conversion/upcasthelpers.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -87,7 +87,7 @@ Changes for the past releases are available below.
|
|
|
87
87
|
|
|
88
88
|
### MAJOR BREAKING CHANGES
|
|
89
89
|
|
|
90
|
-
* The behavior of block filler detection on DOM to view conversion was changed. Now, it specifically checks the parent of a text node to check whether it is a block. Which means that a list of block element names has to be used. If you use custom elements or use one of the HTML elements which CKEditor
|
|
90
|
+
* The behavior of block filler detection on DOM to view conversion was changed. Now, it specifically checks the parent of a text node to check whether it is a block. Which means that a list of block element names has to be used. If you use custom elements or use one of the HTML elements which CKEditor 5 does not recognize as a block element, see [#404](https://github.com/ckeditor/ckeditor5-engine/issues/404) and `DomConverter.blockElements` documentation.
|
|
91
91
|
* The `Selection#getTopMostBlocks()` was removed from the public API. Use `Selection#getSelectedBlocks()` instead.
|
|
92
92
|
* The `Selection#getSelectedBlocks()` does not return blocks nested in other blocks now.
|
|
93
93
|
|
|
@@ -440,7 +440,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
440
440
|
|
|
441
441
|
### BREAKING CHANGES
|
|
442
442
|
|
|
443
|
-
* The license under which CKEditor
|
|
443
|
+
* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information.
|
|
444
444
|
|
|
445
445
|
|
|
446
446
|
## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-engine/compare/v1.0.0-beta.2...v1.0.0-beta.4) (2018-04-19)
|
package/LICENSE.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Software License Agreement
|
|
2
2
|
==========================
|
|
3
3
|
|
|
4
|
-
**CKEditor
|
|
4
|
+
**CKEditor 5 editing engine** – https://github.com/ckeditor/ckeditor5-engine <br>
|
|
5
5
|
Copyright (c) 2003-2023, [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).
|
package/README.md
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
CKEditor
|
|
1
|
+
CKEditor 5 editing engine
|
|
2
2
|
========================================
|
|
3
3
|
|
|
4
4
|
[](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine)
|
|
5
5
|
[](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
|
|
6
6
|
[](https://app.travis-ci.com/github/ckeditor/ckeditor5)
|
|
7
7
|
|
|
8
|
-
The CKEditor
|
|
8
|
+
The CKEditor 5 editing engine implements a flexible MVC-based architecture for creating rich text editing features.
|
|
9
9
|
|
|
10
10
|
## Architecture overview
|
|
11
11
|
|
|
12
|
-
* **Custom data model.** CKEditor
|
|
13
|
-
* **Virtual DOM.** CKEditor
|
|
12
|
+
* **Custom data model.** CKEditor 5 implements a tree-structured custom data model, designed to fit multiple requirements such as enabling real-time collaboration and complex editing features (like tables or nested blocks).
|
|
13
|
+
* **Virtual DOM.** CKEditor 5's editing engine features a custom, editing-oriented virtual DOM implementation that aims to hide browser quirks from your sight. **No more `contentEditable` nightmares!**
|
|
14
14
|
* **Real-time collaborative editing**. The editor implements Operational Transformation for the tree-structured model as well as many other mechanisms which were required to create a seamless collaborative UX. Additionally, we provide cloud infrastructure and plugins enabling real-time collaborative editing in your application! [Check the collaboration demo](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/overview.html).
|
|
15
15
|
* **Extensible.** The entire editor architecture was designed for maximum flexibility. The code is event-based and highly decoupled, allowing you to plug in or replace selected pieces. Features do not directly depend on each other and communicate in standardized ways.
|
|
16
16
|
* **Schema-less core**. The core makes minimal assumptions and can be controlled through the schema. This leaves all decisions to plugins and to you.
|
|
17
|
-
* **Modular architecture.** Not only can the core modules be reused and recomposed but even the features were implemented in a highly granular way. Feel like running a headless CKEditor
|
|
17
|
+
* **Modular architecture.** Not only can the core modules be reused and recomposed but even the features were implemented in a highly granular way. Feel like running a headless CKEditor 5 with a couple of features in Node.js? Not a problem!
|
|
18
18
|
* **Framework for building rich-text editors.** Every use case is different and every editor needs to fulfill different goals. Therefore, we give you the freedom to create your own editors with custom-tailored features and UI.
|
|
19
|
-
* **Heavily tested from day one.** CKEditor
|
|
19
|
+
* **Heavily tested from day one.** CKEditor 5 comes with 3x more tests than React itself. All packages have 100% code coverage.
|
|
20
20
|
* **8+ years of support.** It is not yet another framework to be gone next year or a hyped proof-of-concept to fail in a real-life scenario. We have over 15 years of experience in creating rich text editors and invested over 4 years in designing and building your next future-proof rich text editor of choice.
|
|
21
21
|
|
|
22
22
|
## Documentation
|
|
23
23
|
|
|
24
|
-
For a general introduction see the [Overview of CKEditor
|
|
24
|
+
For a general introduction see the [Overview of CKEditor 5 Framework](https://ckeditor.com/docs/ckeditor5/latest/framework/architecture/core-editor-architecture.html) guide and then the [Editing engine architecture guide](https://ckeditor.com/docs/ckeditor5/latest/framework/architecture/editing-engine.html).
|
|
25
25
|
|
|
26
|
-
Additionally, refer to the [`@ckeditor/ckeditor5-engine` package](https://ckeditor.com/docs/ckeditor5/latest/api/engine.html) page in [CKEditor
|
|
26
|
+
Additionally, refer to the [`@ckeditor/ckeditor5-engine` package](https://ckeditor.com/docs/ckeditor5/latest/api/engine.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/) for even more information.
|
|
27
27
|
|
|
28
28
|
## License
|
|
29
29
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-engine",
|
|
3
|
-
"version": "39.0.
|
|
3
|
+
"version": "39.0.2",
|
|
4
4
|
"description": "The editing engine of CKEditor 5 – the best browser-based rich text editor.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wysiwyg",
|
|
@@ -23,13 +23,9 @@
|
|
|
23
23
|
],
|
|
24
24
|
"main": "src/index.js",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@ckeditor/ckeditor5-utils": "39.0.
|
|
26
|
+
"@ckeditor/ckeditor5-utils": "39.0.2",
|
|
27
27
|
"lodash-es": "4.17.21"
|
|
28
28
|
},
|
|
29
|
-
"engines": {
|
|
30
|
-
"node": ">=16.0.0",
|
|
31
|
-
"npm": ">=5.7.1"
|
|
32
|
-
},
|
|
33
29
|
"author": "CKSource (http://cksource.com/)",
|
|
34
30
|
"license": "GPL-2.0-or-later",
|
|
35
31
|
"homepage": "https://ckeditor.com/ckeditor-5",
|
|
@@ -190,7 +190,7 @@ export default class UpcastHelpers extends ConversionHelpers<UpcastDispatcher> {
|
|
|
190
190
|
* <div class="dark"><div>foo</div></div> --> <div dark="true"><div>foo</div></div>
|
|
191
191
|
* ```
|
|
192
192
|
*
|
|
193
|
-
* Above, `class="dark"` attribute is added only to the `<div>` elements that has it. This is in
|
|
193
|
+
* Above, `class="dark"` attribute is added only to the `<div>` elements that has it. This is in contrast to
|
|
194
194
|
* {@link module:engine/conversion/upcasthelpers~UpcastHelpers#elementToAttribute} which sets attributes for
|
|
195
195
|
* all the children in the model:
|
|
196
196
|
*
|
|
@@ -178,7 +178,7 @@ export default class UpcastHelpers extends ConversionHelpers {
|
|
|
178
178
|
* <div class="dark"><div>foo</div></div> --> <div dark="true"><div>foo</div></div>
|
|
179
179
|
* ```
|
|
180
180
|
*
|
|
181
|
-
* Above, `class="dark"` attribute is added only to the `<div>` elements that has it. This is in
|
|
181
|
+
* Above, `class="dark"` attribute is added only to the `<div>` elements that has it. This is in contrast to
|
|
182
182
|
* {@link module:engine/conversion/upcasthelpers~UpcastHelpers#elementToAttribute} which sets attributes for
|
|
183
183
|
* all the children in the model:
|
|
184
184
|
*
|