@ckeditor/ckeditor5-clipboard 45.0.0 → 45.1.0-alpha.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/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/clipboardmarkersutils.d.ts +0 -2
- package/src/clipboardmarkersutils.js +0 -2
- package/src/index.d.ts +1 -2
- package/src/index.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-clipboard",
|
|
3
|
-
"version": "45.0.
|
|
3
|
+
"version": "45.1.0-alpha.1",
|
|
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": "45.0.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "45.0.
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "45.0.
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "45.0.
|
|
20
|
-
"@ckeditor/ckeditor5-widget": "45.0.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "45.1.0-alpha.1",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "45.1.0-alpha.1",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "45.1.0-alpha.1",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "45.1.0-alpha.1",
|
|
20
|
+
"@ckeditor/ckeditor5-widget": "45.1.0-alpha.1",
|
|
21
21
|
"es-toolkit": "1.32.0"
|
|
22
22
|
},
|
|
23
23
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -46,7 +46,6 @@ export default class ClipboardMarkersUtils extends Plugin {
|
|
|
46
46
|
* Do not use any other custom selection object within callback, as this will lead to out-of-bounds exceptions in rare scenarios.
|
|
47
47
|
*
|
|
48
48
|
* @param action Type of clipboard action.
|
|
49
|
-
* @param writer An instance of the model writer.
|
|
50
49
|
* @param selection Selection to be checked.
|
|
51
50
|
* @param getCopiedFragment Callback that performs copy of selection and returns it as fragment.
|
|
52
51
|
* @internal
|
|
@@ -66,7 +65,6 @@ export default class ClipboardMarkersUtils extends Plugin {
|
|
|
66
65
|
* * Fake marker elements inside `getPastedDocumentElement` can be cloned, but their ranges cannot overlap.
|
|
67
66
|
* * If `duplicateOnPaste` is `true` in marker config then associated marker ID is regenerated before pasting.
|
|
68
67
|
*
|
|
69
|
-
* @param action Type of clipboard action.
|
|
70
68
|
* @param markers Object that maps marker name to corresponding range.
|
|
71
69
|
* @param getPastedDocumentElement Getter used to get target markers element.
|
|
72
70
|
* @internal
|
|
@@ -57,7 +57,6 @@ export default class ClipboardMarkersUtils extends Plugin {
|
|
|
57
57
|
* Do not use any other custom selection object within callback, as this will lead to out-of-bounds exceptions in rare scenarios.
|
|
58
58
|
*
|
|
59
59
|
* @param action Type of clipboard action.
|
|
60
|
-
* @param writer An instance of the model writer.
|
|
61
60
|
* @param selection Selection to be checked.
|
|
62
61
|
* @param getCopiedFragment Callback that performs copy of selection and returns it as fragment.
|
|
63
62
|
* @internal
|
|
@@ -113,7 +112,6 @@ export default class ClipboardMarkersUtils extends Plugin {
|
|
|
113
112
|
* * Fake marker elements inside `getPastedDocumentElement` can be cloned, but their ranges cannot overlap.
|
|
114
113
|
* * If `duplicateOnPaste` is `true` in marker config then associated marker ID is regenerated before pasting.
|
|
115
114
|
*
|
|
116
|
-
* @param action Type of clipboard action.
|
|
117
115
|
* @param markers Object that maps marker name to corresponding range.
|
|
118
116
|
* @param getPastedDocumentElement Getter used to get target markers element.
|
|
119
117
|
* @internal
|
package/src/index.d.ts
CHANGED
|
@@ -10,10 +10,9 @@ export { default as ClipboardPipeline, type ClipboardContentInsertionEvent, type
|
|
|
10
10
|
export { default as ClipboardMarkersUtils, type ClipboardMarkerRestrictedAction, type ClipboardMarkerConfiguration } from './clipboardmarkersutils.js';
|
|
11
11
|
export { default as plainTextToHtml } from './utils/plaintexttohtml.js';
|
|
12
12
|
export { default as viewToPlainText } from './utils/viewtoplaintext.js';
|
|
13
|
-
export type { ClipboardEventData } from './clipboardobserver.js';
|
|
14
13
|
export { default as DragDrop } from './dragdrop.js';
|
|
15
14
|
export { default as PastePlainText } from './pasteplaintext.js';
|
|
16
15
|
export { default as DragDropTarget } from './dragdroptarget.js';
|
|
17
16
|
export { default as DragDropBlockToolbar } from './dragdropblocktoolbar.js';
|
|
18
|
-
export type
|
|
17
|
+
export { default as ClipboardObserver, type ClipboardEventData, type ViewDocumentClipboardInputEvent, type ViewDocumentCopyEvent, type ViewDocumentPasteEvent, type ViewDocumentCutEvent } from './clipboardobserver.js';
|
|
19
18
|
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -14,4 +14,5 @@ export { default as DragDrop } from './dragdrop.js';
|
|
|
14
14
|
export { default as PastePlainText } from './pasteplaintext.js';
|
|
15
15
|
export { default as DragDropTarget } from './dragdroptarget.js';
|
|
16
16
|
export { default as DragDropBlockToolbar } from './dragdropblocktoolbar.js';
|
|
17
|
+
export { default as ClipboardObserver } from './clipboardobserver.js';
|
|
17
18
|
import './augmentation.js';
|