@ckeditor/ckeditor5-clipboard 47.7.1 → 47.7.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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/utils/viewtoplaintext.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-clipboard",
|
|
3
|
-
"version": "47.7.
|
|
3
|
+
"version": "47.7.2",
|
|
4
4
|
"description": "Clipboard integration feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "47.7.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "47.7.
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "47.7.
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "47.7.
|
|
20
|
-
"@ckeditor/ckeditor5-widget": "47.7.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "47.7.2",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "47.7.2",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "47.7.2",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "47.7.2",
|
|
20
|
+
"@ckeditor/ckeditor5-widget": "47.7.2",
|
|
21
21
|
"es-toolkit": "1.39.5"
|
|
22
22
|
},
|
|
23
23
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -22,7 +22,7 @@ export function viewToPlainText(converter, viewItem) {
|
|
|
22
22
|
return viewItem.getAttribute('alt');
|
|
23
23
|
}
|
|
24
24
|
if (viewItem.is('element', 'br')) {
|
|
25
|
-
return '\n'; // Convert soft breaks to single line break (
|
|
25
|
+
return '\n'; // Convert soft breaks to single line break (https://github.com/ckeditor/ckeditor5/issues/8045).
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Item is a document fragment, attribute element or container element. It doesn't
|