@ckeditor/ckeditor5-clipboard 48.2.0 → 48.3.0-alpha.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/augmentation.d.ts +14 -14
- package/dist/clipboard.d.ts +35 -35
- package/dist/clipboardmarkersutils.d.ts +194 -194
- package/dist/clipboardobserver.d.ts +274 -274
- package/dist/clipboardpipeline.d.ts +252 -252
- package/dist/dragdrop.d.ts +101 -101
- package/dist/dragdropblocktoolbar.d.ts +46 -46
- package/dist/dragdroptarget.d.ts +95 -94
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +21 -21
- package/dist/index.js +1706 -2182
- package/dist/index.js.map +1 -1
- package/dist/lineview.d.ts +42 -42
- package/dist/pasteplaintext.d.ts +27 -27
- package/dist/utils/normalizeclipboarddata.d.ts +12 -12
- package/dist/utils/plaintexttohtml.d.ts +10 -10
- package/dist/utils/viewtoplaintext.d.ts +12 -12
- package/package.json +6 -6
package/dist/dragdrop.d.ts
CHANGED
|
@@ -1,106 +1,106 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import { Plugin } from
|
|
9
|
-
import { Widget } from
|
|
10
|
-
import { ClipboardPipeline } from
|
|
11
|
-
import { DragDropTarget } from
|
|
12
|
-
import { DragDropBlockToolbar } from
|
|
13
|
-
import
|
|
6
|
+
* @module clipboard/dragdrop
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
9
|
+
import { Widget } from "@ckeditor/ckeditor5-widget";
|
|
10
|
+
import { ClipboardPipeline } from "./clipboardpipeline.js";
|
|
11
|
+
import { DragDropTarget } from "./dragdroptarget.js";
|
|
12
|
+
import { DragDropBlockToolbar } from "./dragdropblocktoolbar.js";
|
|
13
|
+
import "../theme/clipboard.css";
|
|
14
14
|
/**
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
* The drag and drop feature. It works on top of the {@link module:clipboard/clipboardpipeline~ClipboardPipeline}.
|
|
16
|
+
*
|
|
17
|
+
* Read more about the clipboard integration in the {@glink framework/deep-dive/clipboard clipboard deep-dive} guide.
|
|
18
|
+
*
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
21
21
|
export declare class DragDrop extends Plugin {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
22
|
+
/**
|
|
23
|
+
* The live range over the original content that is being dragged.
|
|
24
|
+
*/
|
|
25
|
+
private _draggedRange;
|
|
26
|
+
/**
|
|
27
|
+
* The UID of current dragging that is used to verify if the drop started in the same editor as the drag start.
|
|
28
|
+
*
|
|
29
|
+
* **Note**: This is a workaround for broken 'dragend' events (they are not fired if the source text node got removed).
|
|
30
|
+
*/
|
|
31
|
+
private _draggingUid;
|
|
32
|
+
/**
|
|
33
|
+
* The reference to the model element that currently has a `draggable` attribute set (it is set while dragging).
|
|
34
|
+
*/
|
|
35
|
+
private _draggableElement;
|
|
36
|
+
/**
|
|
37
|
+
* A delayed callback removing draggable attributes.
|
|
38
|
+
*/
|
|
39
|
+
private _clearDraggableAttributesDelayed;
|
|
40
|
+
/**
|
|
41
|
+
* Whether the dragged content can be dropped only in block context.
|
|
42
|
+
*/
|
|
43
|
+
private _blockMode;
|
|
44
|
+
/**
|
|
45
|
+
* DOM Emitter.
|
|
46
|
+
*/
|
|
47
|
+
private _domEmitter;
|
|
48
|
+
/**
|
|
49
|
+
* The DOM element used to generate dragged preview image.
|
|
50
|
+
*/
|
|
51
|
+
private _previewContainer?;
|
|
52
|
+
/**
|
|
53
|
+
* @inheritDoc
|
|
54
|
+
*/
|
|
55
|
+
static get pluginName(): "DragDrop";
|
|
56
|
+
/**
|
|
57
|
+
* @inheritDoc
|
|
58
|
+
*/
|
|
59
|
+
static override get isOfficialPlugin(): true;
|
|
60
|
+
/**
|
|
61
|
+
* @inheritDoc
|
|
62
|
+
*/
|
|
63
|
+
static get requires(): PluginDependenciesOf<[ClipboardPipeline, Widget, DragDropTarget, DragDropBlockToolbar]>;
|
|
64
|
+
/**
|
|
65
|
+
* @inheritDoc
|
|
66
|
+
*/
|
|
67
|
+
init(): void;
|
|
68
|
+
/**
|
|
69
|
+
* @inheritDoc
|
|
70
|
+
*/
|
|
71
|
+
override destroy(): void;
|
|
72
|
+
/**
|
|
73
|
+
* Drag and drop events handling.
|
|
74
|
+
*/
|
|
75
|
+
private _setupDragging;
|
|
76
|
+
/**
|
|
77
|
+
* Integration with the `clipboardInput` event.
|
|
78
|
+
*/
|
|
79
|
+
private _setupClipboardInputIntegration;
|
|
80
|
+
/**
|
|
81
|
+
* Integration with the `contentInsertion` event of the clipboard pipeline.
|
|
82
|
+
*/
|
|
83
|
+
private _setupContentInsertionIntegration;
|
|
84
|
+
/**
|
|
85
|
+
* Adds listeners that add the `draggable` attribute to the elements while the mouse button is down so the dragging could start.
|
|
86
|
+
*/
|
|
87
|
+
private _setupDraggableAttributeHandling;
|
|
88
|
+
/**
|
|
89
|
+
* Removes the `draggable` attribute from the element that was used for dragging.
|
|
90
|
+
*/
|
|
91
|
+
private _clearDraggableAttributes;
|
|
92
|
+
/**
|
|
93
|
+
* Deletes the dragged content from its original range and clears the dragging state.
|
|
94
|
+
*
|
|
95
|
+
* @param moved Whether the move succeeded.
|
|
96
|
+
*/
|
|
97
|
+
private _finalizeDragging;
|
|
98
|
+
/**
|
|
99
|
+
* Sets the dragged source range based on event target and document selection.
|
|
100
|
+
*/
|
|
101
|
+
private _prepareDraggedRange;
|
|
102
|
+
/**
|
|
103
|
+
* Updates the dragged preview image.
|
|
104
|
+
*/
|
|
105
|
+
private _updatePreview;
|
|
106
106
|
}
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import { Plugin } from
|
|
6
|
+
* @module clipboard/dragdropblocktoolbar
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from "@ckeditor/ckeditor5-core";
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
* Integration of a block Drag and Drop support with the block toolbar.
|
|
11
|
+
*
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
14
|
export declare class DragDropBlockToolbar extends Plugin {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Whether current dragging is started by block toolbar button dragging.
|
|
17
|
+
*/
|
|
18
|
+
private _isBlockDragging;
|
|
19
|
+
/**
|
|
20
|
+
* DOM Emitter.
|
|
21
|
+
*/
|
|
22
|
+
private _domEmitter;
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static get pluginName(): "DragDropBlockToolbar";
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
static override get isOfficialPlugin(): true;
|
|
31
|
+
/**
|
|
32
|
+
* @inheritDoc
|
|
33
|
+
*/
|
|
34
|
+
init(): void;
|
|
35
|
+
/**
|
|
36
|
+
* @inheritDoc
|
|
37
|
+
*/
|
|
38
|
+
override destroy(): void;
|
|
39
|
+
/**
|
|
40
|
+
* The `dragstart` event handler.
|
|
41
|
+
*/
|
|
42
|
+
private _handleBlockDragStart;
|
|
43
|
+
/**
|
|
44
|
+
* The `dragover` and `drop` event handler.
|
|
45
|
+
*/
|
|
46
|
+
private _handleBlockDragging;
|
|
47
|
+
/**
|
|
48
|
+
* The `dragend` event handler.
|
|
49
|
+
*/
|
|
50
|
+
private _handleBlockDragEnd;
|
|
51
51
|
}
|
package/dist/dragdroptarget.d.ts
CHANGED
|
@@ -1,99 +1,100 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import { Plugin } from
|
|
9
|
-
import { type ModelRange, type ModelLiveRange, type ViewElement, type ViewRange } from
|
|
6
|
+
* @module clipboard/dragdroptarget
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from "@ckeditor/ckeditor5-core";
|
|
9
|
+
import { type ModelRange, type ModelLiveRange, type ViewElement, type ViewRange } from "@ckeditor/ckeditor5-engine";
|
|
10
|
+
import { delay } from "@ckeditor/ckeditor5-utils";
|
|
10
11
|
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
* Part of the Drag and Drop handling. Responsible for finding and displaying the drop target.
|
|
13
|
+
*
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
15
16
|
export declare class DragDropTarget extends Plugin {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
17
|
+
/**
|
|
18
|
+
* A delayed callback removing the drop marker.
|
|
19
|
+
*
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
readonly removeDropMarkerDelayed: ReturnType<typeof delay>;
|
|
23
|
+
/**
|
|
24
|
+
* A throttled callback updating the drop marker.
|
|
25
|
+
*/
|
|
26
|
+
private readonly _updateDropMarkerThrottled;
|
|
27
|
+
/**
|
|
28
|
+
* A throttled callback reconverting the drop parker.
|
|
29
|
+
*/
|
|
30
|
+
private readonly _reconvertMarkerThrottled;
|
|
31
|
+
/**
|
|
32
|
+
* The horizontal drop target line view.
|
|
33
|
+
*/
|
|
34
|
+
private _dropTargetLineView;
|
|
35
|
+
/**
|
|
36
|
+
* DOM Emitter.
|
|
37
|
+
*/
|
|
38
|
+
private _domEmitter;
|
|
39
|
+
/**
|
|
40
|
+
* Map of document scrollable elements.
|
|
41
|
+
*/
|
|
42
|
+
private _scrollables;
|
|
43
|
+
/**
|
|
44
|
+
* @inheritDoc
|
|
45
|
+
*/
|
|
46
|
+
static get pluginName(): "DragDropTarget";
|
|
47
|
+
/**
|
|
48
|
+
* @inheritDoc
|
|
49
|
+
*/
|
|
50
|
+
static override get isOfficialPlugin(): true;
|
|
51
|
+
/**
|
|
52
|
+
* @inheritDoc
|
|
53
|
+
*/
|
|
54
|
+
init(): void;
|
|
55
|
+
/**
|
|
56
|
+
* @inheritDoc
|
|
57
|
+
*/
|
|
58
|
+
override destroy(): void;
|
|
59
|
+
/**
|
|
60
|
+
* Finds the drop target range and updates the drop marker.
|
|
61
|
+
*
|
|
62
|
+
* @return The updated drop target range or null if no valid range was found.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
updateDropMarker(targetViewElement: ViewElement, targetViewRanges: Array<ViewRange> | null, clientX: number, clientY: number, blockMode: boolean, draggedRange: ModelLiveRange | null): ModelRange | null;
|
|
66
|
+
/**
|
|
67
|
+
* Finds the final drop target range.
|
|
68
|
+
*
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
getFinalDropRange(targetViewElement: ViewElement, targetViewRanges: Array<ViewRange> | null, clientX: number, clientY: number, blockMode: boolean, draggedRange: ModelLiveRange | null): ModelRange | null;
|
|
72
|
+
/**
|
|
73
|
+
* Removes the drop target marker.
|
|
74
|
+
*
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
removeDropMarker(): void;
|
|
78
|
+
/**
|
|
79
|
+
* Creates downcast conversion for the drop target marker.
|
|
80
|
+
*/
|
|
81
|
+
private _setupDropMarker;
|
|
82
|
+
/**
|
|
83
|
+
* Updates the drop target marker to the provided range.
|
|
84
|
+
*
|
|
85
|
+
* @param targetRange The range to set the marker to.
|
|
86
|
+
*/
|
|
87
|
+
private _updateDropMarker;
|
|
88
|
+
/**
|
|
89
|
+
* Creates the UI element for vertical (in-line) drop target.
|
|
90
|
+
*/
|
|
91
|
+
private _createDropTargetPosition;
|
|
92
|
+
/**
|
|
93
|
+
* Updates the horizontal drop target line.
|
|
94
|
+
*/
|
|
95
|
+
private _updateDropTargetLine;
|
|
96
|
+
/**
|
|
97
|
+
* Finds the closest scrollable element rect for the given view element.
|
|
98
|
+
*/
|
|
99
|
+
private _getScrollableRect;
|
|
99
100
|
}
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../theme/clipboard.css","index.css"],"names":[],"mappings":";;;;AAMA,CAAA,IAAA,CAAA;ACLA,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,IAAI;AAC5C,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG;AAC5C,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC;AAChE;;ADaE,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,EAAA,CAAA,EAAA,CAAA,SAAA,CAAA,IAAA,CAAA,MAAA,CAAA,QAAA,CAAA,IAAA,CAAA;ACVF,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAA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CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,WAAW;AACzF,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG;AACb;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n\n:root {\n\t--ck-clipboard-drop-target-dot-width: 12px;\n\t--ck-clipboard-drop-target-dot-height: 8px;\n\t--ck-clipboard-drop-target-color: var(--ck-color-focus-border);\n}\n\n.ck.ck-editor__editable {\n\t/*\n\t * Vertical drop target (in text).\n\t */\n\t& .ck.ck-clipboard-drop-target-position {\n\t\t& span {\n\t\t\tbottom: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\t\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\t\t\tborder: 1px solid var(--ck-clipboard-drop-target-color);\n\t\t\tbackground: var(--ck-clipboard-drop-target-color);\n\t\t\tmargin-left: -1px;\n\t\t\tposition: absolute;\n\n\t\t\t/* The triangle above the marker */\n\t\t\t&::after {\n\t\t\t\tcontent: '';\n\t\t\t\twidth: 0;\n\t\t\t\theight: 0;\n\n\t\t\t\tdisplay: block;\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 50%;\n\t\t\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\n\t\t\t\ttransform: translateX(-50%);\n\t\t\t\tborder-color: var(--ck-clipboard-drop-target-color) transparent transparent transparent;\n\t\t\t\tborder-width: calc(var(--ck-clipboard-drop-target-dot-height)) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width));\n\t\t\t\tborder-style: solid;\n\t\t\t}\n\t\t\twidth: 0\n\t\t}\n\t\tdisplay: inline;\n\t\tposition: relative;\n\t\tpointer-events: none\n\t}\n\n\t/*\n\t * Styles of the widget that it a drop target.\n\t */\n\t& .ck-widget.ck-clipboard-drop-target-range {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color) !important;\n\t}\n\n\t/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n\t& .ck-widget:-webkit-drag {\n\t\tzoom: 0.6;\n\t\toutline: none !important;\n\t\t& > .ck-widget__selection-handle {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\t& > .ck-widget__type-around {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\t/*\n\t * Vertical drop target (in text).\n\t */\n\n\t/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n}\n\n.ck.ck-clipboard-drop-target-line {\n\theight: 0;\n\tborder: 1px solid var(--ck-clipboard-drop-target-color);\n\tbackground: var(--ck-clipboard-drop-target-color);\n\tmargin-top: -1px;\n\tposition: absolute;\n\tz-index: var(--ck-z-default);\n\n\t&::before {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-width));\n\t\twidth: 0;\n\t\theight: 0;\n\t\tborder-style: solid;\n\t}\n\n\tpointer-events: none\n}\n\n[dir=\"ltr\"] .ck.ck-clipboard-drop-target-line::before {\n\tleft: -1px;\n\tborder-width: calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height);\n\tborder-color: transparent transparent transparent var(--ck-clipboard-drop-target-color);\n}\n\n[dir=\"rtl\"] .ck.ck-clipboard-drop-target-line::before {\n\tright: -1px;\n\tborder-width: calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0;\n\tborder-color: transparent var(--ck-clipboard-drop-target-color) transparent transparent;\n}\n",":root {\n --ck-clipboard-drop-target-dot-width: 12px;\n --ck-clipboard-drop-target-dot-height: 8px;\n --ck-clipboard-drop-target-color: var(--ck-color-focus-border);\n}\n\n.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span {\n bottom: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n top: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n border: 1px solid var(--ck-clipboard-drop-target-color);\n background: var(--ck-clipboard-drop-target-color);\n margin-left: -1px;\n position: absolute;\n}\n\n.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span:after {\n content: \"\";\n width: 0;\n height: 0;\n left: 50%;\n top: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n border-color: var(--ck-clipboard-drop-target-color) transparent transparent transparent;\n border-width: calc(var(--ck-clipboard-drop-target-dot-height)) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width));\n border-style: solid;\n display: block;\n position: absolute;\n transform: translateX(-50%);\n}\n\n.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span {\n width: 0;\n}\n\n.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position {\n pointer-events: none;\n display: inline;\n position: relative;\n}\n\n.ck.ck-editor__editable .ck-widget.ck-clipboard-drop-target-range {\n outline: var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color) !important;\n}\n\n.ck.ck-editor__editable .ck-widget:-webkit-drag {\n zoom: .6;\n outline: none !important;\n}\n\n.ck.ck-editor__editable .ck-widget:-webkit-drag > .ck-widget__selection-handle, .ck.ck-editor__editable .ck-widget:-webkit-drag > .ck-widget__type-around {\n display: none;\n}\n\n.ck.ck-clipboard-drop-target-line {\n border: 1px solid var(--ck-clipboard-drop-target-color);\n background: var(--ck-clipboard-drop-target-color);\n height: 0;\n z-index: var(--ck-z-default);\n margin-top: -1px;\n position: absolute;\n}\n\n.ck.ck-clipboard-drop-target-line:before {\n content: \"\";\n top: calc(-.5 * var(--ck-clipboard-drop-target-dot-width));\n border-style: solid;\n width: 0;\n height: 0;\n position: absolute;\n}\n\n.ck.ck-clipboard-drop-target-line {\n pointer-events: none;\n}\n\n[dir=\"ltr\"] .ck.ck-clipboard-drop-target-line:before {\n border-width: calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height);\n border-color: transparent transparent transparent var(--ck-clipboard-drop-target-color);\n left: -1px;\n}\n\n[dir=\"rtl\"] .ck.ck-clipboard-drop-target-line:before {\n border-width: calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0;\n border-color: transparent var(--ck-clipboard-drop-target-color) transparent transparent;\n right: -1px;\n}\n\n/*# sourceMappingURL=index.css.map */"]}
|
|
1
|
+
{"version":3,"sources":["../theme/clipboard.css","index.css"],"names":[],"mappings":";;;;AAMA,CAAA,IAAA,CAAA;ACLA,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,IAAI;AAC5C,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG;AAC5C,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC;AAChE;;ADaE,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,EAAA,CAAA,EAAA,CAAA,SAAA,CAAA,IAAA,CAAA,MAAA,CAAA,QAAA,CAAA,IAAA,CAAA;ACVF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AAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACtK,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,WAAW;AACzF,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG;AACb;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n\n:root {\n\t--ck-clipboard-drop-target-dot-width: 12px;\n\t--ck-clipboard-drop-target-dot-height: 8px;\n\t--ck-clipboard-drop-target-color: var(--ck-color-focus-border);\n}\n\n.ck.ck-editor__editable {\n\t/*\n\t * Vertical drop target (in text).\n\t */\n\t& .ck.ck-clipboard-drop-target-position {\n\t\t& span {\n\t\t\tbottom: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\t\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\t\t\tborder: 1px solid var(--ck-clipboard-drop-target-color);\n\t\t\tbackground: var(--ck-clipboard-drop-target-color);\n\t\t\tmargin-left: -1px;\n\t\t\tposition: absolute;\n\n\t\t\t/* The triangle above the marker */\n\t\t\t&::after {\n\t\t\t\tcontent: '';\n\t\t\t\twidth: 0;\n\t\t\t\theight: 0;\n\n\t\t\t\tdisplay: block;\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 50%;\n\t\t\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\n\t\t\t\ttransform: translateX(-50%);\n\t\t\t\tborder-color: var(--ck-clipboard-drop-target-color) transparent transparent transparent;\n\t\t\t\tborder-width: calc(var(--ck-clipboard-drop-target-dot-height)) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width));\n\t\t\t\tborder-style: solid;\n\t\t\t}\n\t\t\twidth: 0\n\t\t}\n\t\tdisplay: inline;\n\t\tposition: relative;\n\t\tpointer-events: none\n\t}\n\n\t/*\n\t * Styles of the widget that it a drop target.\n\t */\n\t& .ck-widget.ck-clipboard-drop-target-range {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color) !important;\n\t}\n\n\t/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n\t& .ck-widget:-webkit-drag {\n\t\tzoom: 0.6;\n\t\toutline: none !important;\n\t\t& > .ck-widget__selection-handle {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\t& > .ck-widget__type-around {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\t/*\n\t * Vertical drop target (in text).\n\t */\n\n\t/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n}\n\n.ck.ck-clipboard-drop-target-line {\n\theight: 0;\n\tborder: 1px solid var(--ck-clipboard-drop-target-color);\n\tbackground: var(--ck-clipboard-drop-target-color);\n\tmargin-top: -1px;\n\tposition: absolute;\n\tz-index: var(--ck-z-default);\n\n\t&::before {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-width));\n\t\twidth: 0;\n\t\theight: 0;\n\t\tborder-style: solid;\n\t}\n\n\tpointer-events: none\n}\n\n[dir=\"ltr\"] .ck.ck-clipboard-drop-target-line::before {\n\tleft: -1px;\n\tborder-width: calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height);\n\tborder-color: transparent transparent transparent var(--ck-clipboard-drop-target-color);\n}\n\n[dir=\"rtl\"] .ck.ck-clipboard-drop-target-line::before {\n\tright: -1px;\n\tborder-width: calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0;\n\tborder-color: transparent var(--ck-clipboard-drop-target-color) transparent transparent;\n}\n",":root {\n --ck-clipboard-drop-target-dot-width: 12px;\n --ck-clipboard-drop-target-dot-height: 8px;\n --ck-clipboard-drop-target-color: var(--ck-color-focus-border);\n}\n\n.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span {\n bottom: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n top: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n border: 1px solid var(--ck-clipboard-drop-target-color);\n background: var(--ck-clipboard-drop-target-color);\n margin-left: -1px;\n position: absolute;\n}\n\n.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span:after {\n content: \"\";\n width: 0;\n height: 0;\n left: 50%;\n top: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n border-color: var(--ck-clipboard-drop-target-color) transparent transparent transparent;\n border-width: calc(var(--ck-clipboard-drop-target-dot-height)) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width));\n border-style: solid;\n display: block;\n position: absolute;\n transform: translateX(-50%);\n}\n\n.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span {\n width: 0;\n}\n\n.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position {\n pointer-events: none;\n display: inline;\n position: relative;\n}\n\n.ck.ck-editor__editable .ck-widget.ck-clipboard-drop-target-range {\n outline: var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color) !important;\n}\n\n.ck.ck-editor__editable .ck-widget:-webkit-drag {\n zoom: .6;\n outline: none !important;\n}\n\n.ck.ck-editor__editable .ck-widget:-webkit-drag > .ck-widget__selection-handle, .ck.ck-editor__editable .ck-widget:-webkit-drag > .ck-widget__type-around {\n display: none;\n}\n\n.ck.ck-clipboard-drop-target-line {\n border: 1px solid var(--ck-clipboard-drop-target-color);\n background: var(--ck-clipboard-drop-target-color);\n height: 0;\n z-index: var(--ck-z-default);\n margin-top: -1px;\n position: absolute;\n}\n\n.ck.ck-clipboard-drop-target-line:before {\n content: \"\";\n top: calc(-.5 * var(--ck-clipboard-drop-target-dot-width));\n border-style: solid;\n width: 0;\n height: 0;\n position: absolute;\n}\n\n.ck.ck-clipboard-drop-target-line {\n pointer-events: none;\n}\n\n[dir=\"ltr\"] .ck.ck-clipboard-drop-target-line:before {\n border-width: calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height);\n border-color: transparent transparent transparent var(--ck-clipboard-drop-target-color);\n left: -1px;\n}\n\n[dir=\"rtl\"] .ck.ck-clipboard-drop-target-line:before {\n border-width: calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0;\n border-color: transparent var(--ck-clipboard-drop-target-color) transparent transparent;\n right: -1px;\n}\n\n/*# sourceMappingURL=index.css.map */"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export { Clipboard } from
|
|
9
|
-
export { ClipboardPipeline, type ClipboardContentInsertionEvent, type ClipboardContentInsertionData, type ClipboardInputTransformationEvent, type ClipboardInputTransformationData, type ClipboardOutputTransformationEvent, type ClipboardOutputTransformationData, type ViewDocumentClipboardOutputEvent, type ViewDocumentClipboardOutputEventData } from
|
|
10
|
-
export { ClipboardMarkersUtils, type ClipboardMarkerRestrictedAction, type ClipboardMarkerConfiguration } from
|
|
11
|
-
export { plainTextToHtml } from
|
|
12
|
-
export { viewToPlainText } from
|
|
13
|
-
export { DragDrop } from
|
|
14
|
-
export { PastePlainText } from
|
|
15
|
-
export { DragDropTarget } from
|
|
16
|
-
export { DragDropBlockToolbar } from
|
|
17
|
-
export { ClipboardObserver, type ClipboardEventData, type ClipboardInputEventData, type DraggingEventData, type ViewDocumentClipboardInputEvent, type ViewDocumentCopyEvent, type ViewDocumentPasteEvent, type ViewDocumentCutEvent, type ViewDocumentDragOverEvent, type ViewDocumentDropEvent, type ViewDocumentDraggingEvent, type ViewDocumentDragStartEvent, type ViewDocumentDragEndEvent, type ViewDocumentDragEnterEvent, type ViewDocumentDragLeaveEvent } from
|
|
18
|
-
export { DragDrop as _DragDrop } from
|
|
19
|
-
export { DragDropBlockToolbar as _DragDropBlockToolbar } from
|
|
20
|
-
export { DragDropTarget as _DragDropTarget } from
|
|
21
|
-
export { LineView as _ClipboardLineView } from
|
|
22
|
-
export { normalizeClipboardData as _normalizeClipboardData } from
|
|
23
|
-
import
|
|
6
|
+
* @module clipboard
|
|
7
|
+
*/
|
|
8
|
+
export { Clipboard } from "./clipboard.js";
|
|
9
|
+
export { ClipboardPipeline, type ClipboardContentInsertionEvent, type ClipboardContentInsertionData, type ClipboardInputTransformationEvent, type ClipboardInputTransformationData, type ClipboardOutputTransformationEvent, type ClipboardOutputTransformationData, type ViewDocumentClipboardOutputEvent, type ViewDocumentClipboardOutputEventData } from "./clipboardpipeline.js";
|
|
10
|
+
export { ClipboardMarkersUtils, type ClipboardMarkerRestrictedAction, type ClipboardMarkerConfiguration } from "./clipboardmarkersutils.js";
|
|
11
|
+
export { plainTextToHtml } from "./utils/plaintexttohtml.js";
|
|
12
|
+
export { viewToPlainText } from "./utils/viewtoplaintext.js";
|
|
13
|
+
export { DragDrop } from "./dragdrop.js";
|
|
14
|
+
export { PastePlainText } from "./pasteplaintext.js";
|
|
15
|
+
export { DragDropTarget } from "./dragdroptarget.js";
|
|
16
|
+
export { DragDropBlockToolbar } from "./dragdropblocktoolbar.js";
|
|
17
|
+
export { ClipboardObserver, type ClipboardEventData, type ClipboardInputEventData, type DraggingEventData, type ViewDocumentClipboardInputEvent, type ViewDocumentCopyEvent, type ViewDocumentPasteEvent, type ViewDocumentCutEvent, type ViewDocumentDragOverEvent, type ViewDocumentDropEvent, type ViewDocumentDraggingEvent, type ViewDocumentDragStartEvent, type ViewDocumentDragEndEvent, type ViewDocumentDragEnterEvent, type ViewDocumentDragLeaveEvent } from "./clipboardobserver.js";
|
|
18
|
+
export { DragDrop as _DragDrop } from "./dragdrop.js";
|
|
19
|
+
export { DragDropBlockToolbar as _DragDropBlockToolbar } from "./dragdropblocktoolbar.js";
|
|
20
|
+
export { DragDropTarget as _DragDropTarget } from "./dragdroptarget.js";
|
|
21
|
+
export { LineView as _ClipboardLineView } from "./lineview.js";
|
|
22
|
+
export { normalizeClipboardData as _normalizeClipboardData } from "./utils/normalizeclipboarddata.js";
|
|
23
|
+
import "./augmentation.js";
|