@ckeditor/ckeditor5-list 35.2.1 → 35.3.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-list",
|
|
3
|
-
"version": "35.
|
|
3
|
+
"version": "35.3.1",
|
|
4
4
|
"description": "Ordered and unordered lists feature to CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,44 +12,44 @@
|
|
|
12
12
|
],
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"ckeditor5": "^35.
|
|
16
|
-
"@ckeditor/ckeditor5-ui": "^35.
|
|
15
|
+
"ckeditor5": "^35.3.1",
|
|
16
|
+
"@ckeditor/ckeditor5-ui": "^35.3.1"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@ckeditor/ckeditor5-alignment": "^35.
|
|
20
|
-
"@ckeditor/ckeditor5-autoformat": "^35.
|
|
21
|
-
"@ckeditor/ckeditor5-basic-styles": "^35.
|
|
22
|
-
"@ckeditor/ckeditor5-block-quote": "^35.
|
|
23
|
-
"@ckeditor/ckeditor5-clipboard": "^35.
|
|
24
|
-
"@ckeditor/ckeditor5-cloud-services": "^35.
|
|
25
|
-
"@ckeditor/ckeditor5-code-block": "^35.
|
|
26
|
-
"@ckeditor/ckeditor5-core": "^35.
|
|
19
|
+
"@ckeditor/ckeditor5-alignment": "^35.3.1",
|
|
20
|
+
"@ckeditor/ckeditor5-autoformat": "^35.3.1",
|
|
21
|
+
"@ckeditor/ckeditor5-basic-styles": "^35.3.1",
|
|
22
|
+
"@ckeditor/ckeditor5-block-quote": "^35.3.1",
|
|
23
|
+
"@ckeditor/ckeditor5-clipboard": "^35.3.1",
|
|
24
|
+
"@ckeditor/ckeditor5-cloud-services": "^35.3.1",
|
|
25
|
+
"@ckeditor/ckeditor5-code-block": "^35.3.1",
|
|
26
|
+
"@ckeditor/ckeditor5-core": "^35.3.1",
|
|
27
27
|
"@ckeditor/ckeditor5-dev-utils": "^31.0.0",
|
|
28
|
-
"@ckeditor/ckeditor5-easy-image": "^35.
|
|
29
|
-
"@ckeditor/ckeditor5-editor-classic": "^35.
|
|
30
|
-
"@ckeditor/ckeditor5-engine": "^35.
|
|
31
|
-
"@ckeditor/ckeditor5-enter": "^35.
|
|
32
|
-
"@ckeditor/ckeditor5-essentials": "^35.
|
|
33
|
-
"@ckeditor/ckeditor5-font": "^35.
|
|
34
|
-
"@ckeditor/ckeditor5-heading": "^35.
|
|
35
|
-
"@ckeditor/ckeditor5-highlight": "^35.
|
|
36
|
-
"@ckeditor/ckeditor5-horizontal-line": "^35.
|
|
37
|
-
"@ckeditor/ckeditor5-html-embed": "^35.
|
|
38
|
-
"@ckeditor/ckeditor5-html-support": "^35.
|
|
39
|
-
"@ckeditor/ckeditor5-image": "^35.
|
|
40
|
-
"@ckeditor/ckeditor5-indent": "^35.
|
|
41
|
-
"@ckeditor/ckeditor5-link": "^35.
|
|
42
|
-
"@ckeditor/ckeditor5-media-embed": "^35.
|
|
43
|
-
"@ckeditor/ckeditor5-page-break": "^35.
|
|
44
|
-
"@ckeditor/ckeditor5-paragraph": "^35.
|
|
45
|
-
"@ckeditor/ckeditor5-remove-format": "^35.
|
|
46
|
-
"@ckeditor/ckeditor5-source-editing": "^35.
|
|
47
|
-
"@ckeditor/ckeditor5-table": "^35.
|
|
48
|
-
"@ckeditor/ckeditor5-theme-lark": "^35.
|
|
49
|
-
"@ckeditor/ckeditor5-typing": "^35.
|
|
50
|
-
"@ckeditor/ckeditor5-undo": "^35.
|
|
51
|
-
"@ckeditor/ckeditor5-utils": "^35.
|
|
52
|
-
"@ckeditor/ckeditor5-widget": "^35.
|
|
28
|
+
"@ckeditor/ckeditor5-easy-image": "^35.3.1",
|
|
29
|
+
"@ckeditor/ckeditor5-editor-classic": "^35.3.1",
|
|
30
|
+
"@ckeditor/ckeditor5-engine": "^35.3.1",
|
|
31
|
+
"@ckeditor/ckeditor5-enter": "^35.3.1",
|
|
32
|
+
"@ckeditor/ckeditor5-essentials": "^35.3.1",
|
|
33
|
+
"@ckeditor/ckeditor5-font": "^35.3.1",
|
|
34
|
+
"@ckeditor/ckeditor5-heading": "^35.3.1",
|
|
35
|
+
"@ckeditor/ckeditor5-highlight": "^35.3.1",
|
|
36
|
+
"@ckeditor/ckeditor5-horizontal-line": "^35.3.1",
|
|
37
|
+
"@ckeditor/ckeditor5-html-embed": "^35.3.1",
|
|
38
|
+
"@ckeditor/ckeditor5-html-support": "^35.3.1",
|
|
39
|
+
"@ckeditor/ckeditor5-image": "^35.3.1",
|
|
40
|
+
"@ckeditor/ckeditor5-indent": "^35.3.1",
|
|
41
|
+
"@ckeditor/ckeditor5-link": "^35.3.1",
|
|
42
|
+
"@ckeditor/ckeditor5-media-embed": "^35.3.1",
|
|
43
|
+
"@ckeditor/ckeditor5-page-break": "^35.3.1",
|
|
44
|
+
"@ckeditor/ckeditor5-paragraph": "^35.3.1",
|
|
45
|
+
"@ckeditor/ckeditor5-remove-format": "^35.3.1",
|
|
46
|
+
"@ckeditor/ckeditor5-source-editing": "^35.3.1",
|
|
47
|
+
"@ckeditor/ckeditor5-table": "^35.3.1",
|
|
48
|
+
"@ckeditor/ckeditor5-theme-lark": "^35.3.1",
|
|
49
|
+
"@ckeditor/ckeditor5-typing": "^35.3.1",
|
|
50
|
+
"@ckeditor/ckeditor5-undo": "^35.3.1",
|
|
51
|
+
"@ckeditor/ckeditor5-utils": "^35.3.1",
|
|
52
|
+
"@ckeditor/ckeditor5-widget": "^35.3.1",
|
|
53
53
|
"webpack": "^5.58.1",
|
|
54
54
|
"webpack-cli": "^4.9.0"
|
|
55
55
|
},
|
package/src/list/converters.js
CHANGED
|
@@ -762,7 +762,7 @@ export function modelChangePostFixer( model, writer ) {
|
|
|
762
762
|
* @param {module:utils/eventinfo~EventInfo} evt An object containing information about the fired event.
|
|
763
763
|
* @param {Array} args Arguments of {@link module:engine/model/model~Model#insertContent}.
|
|
764
764
|
*/
|
|
765
|
-
export function modelIndentPasteFixer( evt, [ content, selectable ] ) {
|
|
765
|
+
export function modelIndentPasteFixer( evt, [ content, selectable, placeOrOffset ] ) {
|
|
766
766
|
// Check whether inserted content starts from a `listItem`. If it does not, it means that there are some other
|
|
767
767
|
// elements before it and there is no need to fix indents, because even if we insert that content into a list,
|
|
768
768
|
// that list will be broken.
|
|
@@ -775,7 +775,7 @@ export function modelIndentPasteFixer( evt, [ content, selectable ] ) {
|
|
|
775
775
|
if ( !selectable ) {
|
|
776
776
|
selection = this.document.selection;
|
|
777
777
|
} else {
|
|
778
|
-
selection = this.createSelection( selectable );
|
|
778
|
+
selection = this.createSelection( selectable, placeOrOffset );
|
|
779
779
|
}
|
|
780
780
|
|
|
781
781
|
if ( item && item.is( 'element', 'listItem' ) ) {
|
|
@@ -361,13 +361,6 @@ function upcastListItemAttributes( attributeStrategies ) {
|
|
|
361
361
|
return dispatcher => {
|
|
362
362
|
dispatcher.on( 'element:li', ( evt, data, conversionApi ) => {
|
|
363
363
|
const listParent = data.viewItem.parent;
|
|
364
|
-
|
|
365
|
-
// It may happen that the native spell checker fixes a word inside a list item.
|
|
366
|
-
// When the children mutation is fired, the `<li>` does not have the parent element. See: #9325.
|
|
367
|
-
if ( !listParent ) {
|
|
368
|
-
return;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
364
|
const listItem = data.modelRange.start.nodeAfter || data.modelRange.end.nodeBefore;
|
|
372
365
|
|
|
373
366
|
for ( const strategy of attributeStrategies ) {
|