@ckeditor/ckeditor5-clipboard 46.1.0-alpha.1 → 46.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/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/dragdrop.js +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-clipboard",
|
|
3
|
-
"version": "46.1.0
|
|
3
|
+
"version": "46.1.0",
|
|
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": "46.1.0
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "46.1.0
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "46.1.0
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "46.1.0
|
|
20
|
-
"@ckeditor/ckeditor5-widget": "46.1.0
|
|
16
|
+
"@ckeditor/ckeditor5-core": "46.1.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "46.1.0",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "46.1.0",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "46.1.0",
|
|
20
|
+
"@ckeditor/ckeditor5-widget": "46.1.0",
|
|
21
21
|
"es-toolkit": "1.39.5"
|
|
22
22
|
},
|
|
23
23
|
"author": "CKSource (http://cksource.com/)",
|
package/src/dragdrop.js
CHANGED
|
@@ -526,8 +526,12 @@ export class DragDrop extends Plugin {
|
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
528
|
else if (env.isiOS) {
|
|
529
|
-
// Custom preview for iOS.
|
|
529
|
+
// Custom preview for iOS. Note that it must have some dimensions for iOS to start dragging element.
|
|
530
530
|
preview.style.maxWidth = `${editableWidth}px`;
|
|
531
|
+
preview.style.padding = '10px';
|
|
532
|
+
preview.style.minWidth = '200px';
|
|
533
|
+
preview.style.minHeight = '20px';
|
|
534
|
+
preview.style.boxSizing = 'border-box';
|
|
531
535
|
preview.style.backgroundColor = 'var(--ck-color-base-background)';
|
|
532
536
|
}
|
|
533
537
|
else {
|