@ckeditor/ckeditor5-clipboard 37.0.0 → 37.1.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/package.json +22 -22
- package/src/dragdrop.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-clipboard",
|
|
3
|
-
"version": "37.
|
|
3
|
+
"version": "37.1.0",
|
|
4
4
|
"description": "Clipboard integration feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,30 +12,30 @@
|
|
|
12
12
|
],
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-core": "^37.
|
|
16
|
-
"@ckeditor/ckeditor5-engine": "^37.
|
|
17
|
-
"@ckeditor/ckeditor5-utils": "^37.
|
|
18
|
-
"@ckeditor/ckeditor5-widget": "^37.
|
|
15
|
+
"@ckeditor/ckeditor5-core": "^37.1.0",
|
|
16
|
+
"@ckeditor/ckeditor5-engine": "^37.1.0",
|
|
17
|
+
"@ckeditor/ckeditor5-utils": "^37.1.0",
|
|
18
|
+
"@ckeditor/ckeditor5-widget": "^37.1.0",
|
|
19
19
|
"lodash-es": "^4.17.15"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@ckeditor/ckeditor5-alignment": "^37.
|
|
23
|
-
"@ckeditor/ckeditor5-basic-styles": "^37.
|
|
24
|
-
"@ckeditor/ckeditor5-block-quote": "^37.
|
|
25
|
-
"@ckeditor/ckeditor5-cloud-services": "^37.
|
|
26
|
-
"@ckeditor/ckeditor5-code-block": "^37.
|
|
27
|
-
"@ckeditor/ckeditor5-easy-image": "^37.
|
|
28
|
-
"@ckeditor/ckeditor5-editor-classic": "^37.
|
|
29
|
-
"@ckeditor/ckeditor5-enter": "^37.
|
|
30
|
-
"@ckeditor/ckeditor5-horizontal-line": "^37.
|
|
31
|
-
"@ckeditor/ckeditor5-image": "^37.
|
|
32
|
-
"@ckeditor/ckeditor5-link": "^37.
|
|
33
|
-
"@ckeditor/ckeditor5-page-break": "^37.
|
|
34
|
-
"@ckeditor/ckeditor5-paragraph": "^37.
|
|
35
|
-
"@ckeditor/ckeditor5-paste-from-office": "^37.
|
|
36
|
-
"@ckeditor/ckeditor5-remove-format": "^37.
|
|
37
|
-
"@ckeditor/ckeditor5-table": "^37.
|
|
38
|
-
"@ckeditor/ckeditor5-typing": "^37.
|
|
22
|
+
"@ckeditor/ckeditor5-alignment": "^37.1.0",
|
|
23
|
+
"@ckeditor/ckeditor5-basic-styles": "^37.1.0",
|
|
24
|
+
"@ckeditor/ckeditor5-block-quote": "^37.1.0",
|
|
25
|
+
"@ckeditor/ckeditor5-cloud-services": "^37.1.0",
|
|
26
|
+
"@ckeditor/ckeditor5-code-block": "^37.1.0",
|
|
27
|
+
"@ckeditor/ckeditor5-easy-image": "^37.1.0",
|
|
28
|
+
"@ckeditor/ckeditor5-editor-classic": "^37.1.0",
|
|
29
|
+
"@ckeditor/ckeditor5-enter": "^37.1.0",
|
|
30
|
+
"@ckeditor/ckeditor5-horizontal-line": "^37.1.0",
|
|
31
|
+
"@ckeditor/ckeditor5-image": "^37.1.0",
|
|
32
|
+
"@ckeditor/ckeditor5-link": "^37.1.0",
|
|
33
|
+
"@ckeditor/ckeditor5-page-break": "^37.1.0",
|
|
34
|
+
"@ckeditor/ckeditor5-paragraph": "^37.1.0",
|
|
35
|
+
"@ckeditor/ckeditor5-paste-from-office": "^37.1.0",
|
|
36
|
+
"@ckeditor/ckeditor5-remove-format": "^37.1.0",
|
|
37
|
+
"@ckeditor/ckeditor5-table": "^37.1.0",
|
|
38
|
+
"@ckeditor/ckeditor5-typing": "^37.1.0",
|
|
39
39
|
"typescript": "^4.8.4",
|
|
40
40
|
"webpack": "^5.58.1",
|
|
41
41
|
"webpack-cli": "^4.9.0"
|
package/src/dragdrop.js
CHANGED
|
@@ -257,7 +257,7 @@ export default class DragDrop extends Plugin {
|
|
|
257
257
|
data.dataTransfer.dropEffect = 'move';
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
-
/* istanbul ignore else */
|
|
260
|
+
/* istanbul ignore else -- @preserve */
|
|
261
261
|
if (targetRange) {
|
|
262
262
|
this._updateDropMarkerThrottled(targetRange);
|
|
263
263
|
}
|
|
@@ -279,7 +279,7 @@ export default class DragDrop extends Plugin {
|
|
|
279
279
|
// The dragging markers must be removed after searching for the target range because sometimes
|
|
280
280
|
// the target lands on the marker itself.
|
|
281
281
|
this._removeDropMarker();
|
|
282
|
-
/* istanbul ignore if */
|
|
282
|
+
/* istanbul ignore if -- @preserve */
|
|
283
283
|
if (!targetRange) {
|
|
284
284
|
this._finalizeDragging(false);
|
|
285
285
|
evt.stop();
|
|
@@ -589,7 +589,7 @@ function findDropTargetRangeOnAncestorObject(editor, element) {
|
|
|
589
589
|
}
|
|
590
590
|
currentElement = currentElement.parent;
|
|
591
591
|
}
|
|
592
|
-
/* istanbul ignore next */
|
|
592
|
+
/* istanbul ignore next -- @preserve */
|
|
593
593
|
return null;
|
|
594
594
|
}
|
|
595
595
|
/**
|