@ckeditor/ckeditor5-clipboard 40.2.0 → 41.0.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/LICENSE.md +1 -1
- package/package.json +7 -6
- package/src/augmentation.d.ts +2 -2
- package/src/augmentation.js +1 -1
- package/src/clipboard.d.ts +4 -4
- package/src/clipboard.js +4 -4
- package/src/clipboardobserver.d.ts +3 -3
- package/src/clipboardobserver.js +1 -1
- package/src/clipboardpipeline.d.ts +1 -1
- package/src/clipboardpipeline.js +5 -5
- package/src/dragdrop.d.ts +4 -4
- package/src/dragdrop.js +5 -5
- package/src/dragdropblocktoolbar.d.ts +1 -1
- package/src/dragdropblocktoolbar.js +2 -2
- package/src/dragdroptarget.d.ts +1 -1
- package/src/dragdroptarget.js +11 -5
- package/src/index.d.ts +10 -10
- package/src/index.js +8 -8
- package/src/lineview.d.ts +1 -1
- package/src/lineview.js +1 -1
- package/src/pasteplaintext.d.ts +2 -2
- package/src/pasteplaintext.js +3 -3
- package/src/utils/normalizeclipboarddata.d.ts +1 -1
- package/src/utils/normalizeclipboarddata.js +1 -1
- package/src/utils/plaintexttohtml.d.ts +1 -1
- package/src/utils/plaintexttohtml.js +1 -1
- package/src/utils/viewtoplaintext.d.ts +1 -1
- package/src/utils/viewtoplaintext.js +1 -1
- package/theme/clipboard.css +1 -1
package/LICENSE.md
CHANGED
|
@@ -2,7 +2,7 @@ Software License Agreement
|
|
|
2
2
|
==========================
|
|
3
3
|
|
|
4
4
|
**CKEditor 5 clipboard feature** – https://github.com/ckeditor/ckeditor5-clipboard <br>
|
|
5
|
-
Copyright (c) 2003–
|
|
5
|
+
Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
|
6
6
|
|
|
7
7
|
Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-clipboard",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "41.0.0",
|
|
4
4
|
"description": "Clipboard integration feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -10,13 +10,14 @@
|
|
|
10
10
|
"ckeditor5-plugin",
|
|
11
11
|
"ckeditor5-dll"
|
|
12
12
|
],
|
|
13
|
+
"type": "module",
|
|
13
14
|
"main": "src/index.js",
|
|
14
15
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-core": "
|
|
16
|
-
"@ckeditor/ckeditor5-engine": "
|
|
17
|
-
"@ckeditor/ckeditor5-ui": "
|
|
18
|
-
"@ckeditor/ckeditor5-utils": "
|
|
19
|
-
"@ckeditor/ckeditor5-widget": "
|
|
16
|
+
"@ckeditor/ckeditor5-core": "41.0.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "41.0.0",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "41.0.0",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "41.0.0",
|
|
20
|
+
"@ckeditor/ckeditor5-widget": "41.0.0",
|
|
20
21
|
"lodash-es": "4.17.21"
|
|
21
22
|
},
|
|
22
23
|
"author": "CKSource (http://cksource.com/)",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import type { Clipboard, ClipboardPipeline, PastePlainText, DragDrop, DragDropTarget, DragDropBlockToolbar } from './index';
|
|
5
|
+
import type { Clipboard, ClipboardPipeline, PastePlainText, DragDrop, DragDropTarget, DragDropBlockToolbar } from './index.js';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
7
7
|
interface PluginsMap {
|
|
8
8
|
[Clipboard.pluginName]: Clipboard;
|
package/src/augmentation.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
export {};
|
package/src/clipboard.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module clipboard/clipboard
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
|
-
import ClipboardPipeline from './clipboardpipeline';
|
|
10
|
-
import DragDrop from './dragdrop';
|
|
11
|
-
import PastePlainText from './pasteplaintext';
|
|
9
|
+
import ClipboardPipeline from './clipboardpipeline.js';
|
|
10
|
+
import DragDrop from './dragdrop.js';
|
|
11
|
+
import PastePlainText from './pasteplaintext.js';
|
|
12
12
|
/**
|
|
13
13
|
* The clipboard feature.
|
|
14
14
|
*
|
package/src/clipboard.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module clipboard/clipboard
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
|
-
import ClipboardPipeline from './clipboardpipeline';
|
|
10
|
-
import DragDrop from './dragdrop';
|
|
11
|
-
import PastePlainText from './pasteplaintext';
|
|
9
|
+
import ClipboardPipeline from './clipboardpipeline.js';
|
|
10
|
+
import DragDrop from './dragdrop.js';
|
|
11
|
+
import PastePlainText from './pasteplaintext.js';
|
|
12
12
|
/**
|
|
13
13
|
* The clipboard feature.
|
|
14
14
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import { DataTransfer, DomEventObserver, type DomEventData, type
|
|
5
|
+
import { DataTransfer, DomEventObserver, type DomEventData, type EditingView, type ViewDocumentFragment, type ViewElement, type ViewRange } from '@ckeditor/ckeditor5-engine';
|
|
6
6
|
/**
|
|
7
7
|
* Clipboard events observer.
|
|
8
8
|
*
|
|
@@ -27,7 +27,7 @@ import { DataTransfer, DomEventObserver, type DomEventData, type View, type View
|
|
|
27
27
|
*/
|
|
28
28
|
export default class ClipboardObserver extends DomEventObserver<'paste' | 'copy' | 'cut' | 'drop' | 'dragover' | 'dragstart' | 'dragend' | 'dragenter' | 'dragleave', ClipboardEventData> {
|
|
29
29
|
readonly domEventType: readonly ["paste", "copy", "cut", "drop", "dragover", "dragstart", "dragend", "dragenter", "dragleave"];
|
|
30
|
-
constructor(view:
|
|
30
|
+
constructor(view: EditingView);
|
|
31
31
|
onDomEvent(domEvent: ClipboardEvent | DragEvent): void;
|
|
32
32
|
}
|
|
33
33
|
/**
|
package/src/clipboardobserver.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/clipboardpipeline.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { EventInfo } from '@ckeditor/ckeditor5-utils';
|
|
10
|
-
import ClipboardObserver from './clipboardobserver';
|
|
11
|
-
import plainTextToHtml from './utils/plaintexttohtml';
|
|
12
|
-
import normalizeClipboardHtml from './utils/normalizeclipboarddata';
|
|
13
|
-
import viewToPlainText from './utils/viewtoplaintext';
|
|
10
|
+
import ClipboardObserver from './clipboardobserver.js';
|
|
11
|
+
import plainTextToHtml from './utils/plaintexttohtml.js';
|
|
12
|
+
import normalizeClipboardHtml from './utils/normalizeclipboarddata.js';
|
|
13
|
+
import viewToPlainText from './utils/viewtoplaintext.js';
|
|
14
14
|
// Input pipeline events overview:
|
|
15
15
|
//
|
|
16
16
|
// ┌──────────────────────┐ ┌──────────────────────┐
|
package/src/dragdrop.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { Widget } from '@ckeditor/ckeditor5-widget';
|
|
10
|
-
import ClipboardPipeline from './clipboardpipeline';
|
|
11
|
-
import DragDropTarget from './dragdroptarget';
|
|
12
|
-
import DragDropBlockToolbar from './dragdropblocktoolbar';
|
|
10
|
+
import ClipboardPipeline from './clipboardpipeline.js';
|
|
11
|
+
import DragDropTarget from './dragdroptarget.js';
|
|
12
|
+
import DragDropBlockToolbar from './dragdropblocktoolbar.js';
|
|
13
13
|
import '../theme/clipboard.css';
|
|
14
14
|
/**
|
|
15
15
|
* The drag and drop feature. It works on top of the {@link module:clipboard/clipboardpipeline~ClipboardPipeline}.
|
package/src/dragdrop.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -9,10 +9,10 @@ import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
|
9
9
|
import { LiveRange, MouseObserver } from '@ckeditor/ckeditor5-engine';
|
|
10
10
|
import { Widget, isWidget } from '@ckeditor/ckeditor5-widget';
|
|
11
11
|
import { env, uid, global, createElement, DomEmitterMixin, delay, Rect } from '@ckeditor/ckeditor5-utils';
|
|
12
|
-
import ClipboardPipeline from './clipboardpipeline';
|
|
13
|
-
import ClipboardObserver from './clipboardobserver';
|
|
14
|
-
import DragDropTarget from './dragdroptarget';
|
|
15
|
-
import DragDropBlockToolbar from './dragdropblocktoolbar';
|
|
12
|
+
import ClipboardPipeline from './clipboardpipeline.js';
|
|
13
|
+
import ClipboardObserver from './clipboardobserver.js';
|
|
14
|
+
import DragDropTarget from './dragdroptarget.js';
|
|
15
|
+
import DragDropBlockToolbar from './dragdropblocktoolbar.js';
|
|
16
16
|
import '../theme/clipboard.css';
|
|
17
17
|
// Drag and drop events overview:
|
|
18
18
|
//
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { env, global, DomEmitterMixin } from '@ckeditor/ckeditor5-utils';
|
|
10
|
-
import ClipboardObserver from './clipboardobserver';
|
|
10
|
+
import ClipboardObserver from './clipboardobserver.js';
|
|
11
11
|
/**
|
|
12
12
|
* Integration of a block Drag and Drop support with the block toolbar.
|
|
13
13
|
*
|
package/src/dragdroptarget.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/dragdroptarget.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { global, Rect, DomEmitterMixin, delay, ResizeObserver } from '@ckeditor/ckeditor5-utils';
|
|
10
|
-
import LineView from './lineview';
|
|
10
|
+
import LineView from './lineview.js';
|
|
11
11
|
import { throttle } from 'lodash-es';
|
|
12
12
|
/**
|
|
13
13
|
* Part of the Drag and Drop handling. Responsible for finding and displaying the drop target.
|
|
@@ -200,6 +200,9 @@ export default class DragDropTarget extends Plugin {
|
|
|
200
200
|
const viewElementAfter = nodeAfter ? editing.mapper.toViewElement(nodeAfter) : null;
|
|
201
201
|
const domElementAfter = viewElementAfter ? editing.view.domConverter.mapViewToDom(viewElementAfter) : null;
|
|
202
202
|
const viewElementParent = editing.mapper.toViewElement(nodeParent);
|
|
203
|
+
if (!viewElementParent) {
|
|
204
|
+
return;
|
|
205
|
+
}
|
|
203
206
|
const domElementParent = editing.view.domConverter.mapViewToDom(viewElementParent);
|
|
204
207
|
const domScrollableRect = this._getScrollableRect(viewElementParent);
|
|
205
208
|
const { scrollX, scrollY } = global.window;
|
|
@@ -285,7 +288,7 @@ function findDropTargetRange(editor, targetViewElement, targetViewRanges, client
|
|
|
285
288
|
}
|
|
286
289
|
else if (model.schema.checkChild(modelElement, '$block')) {
|
|
287
290
|
const childNodes = Array.from(modelElement.getChildren())
|
|
288
|
-
.filter((node) => node.is('element') && !
|
|
291
|
+
.filter((node) => node.is('element') && !shouldIgnoreElement(editor, node));
|
|
289
292
|
let startIndex = 0;
|
|
290
293
|
let endIndex = childNodes.length;
|
|
291
294
|
if (endIndex == 0) {
|
|
@@ -308,12 +311,15 @@ function findDropTargetRange(editor, targetViewElement, targetViewRanges, client
|
|
|
308
311
|
return null;
|
|
309
312
|
}
|
|
310
313
|
/**
|
|
311
|
-
* Returns true for elements
|
|
314
|
+
* Returns true for elements which should be ignored.
|
|
312
315
|
*/
|
|
313
|
-
function
|
|
316
|
+
function shouldIgnoreElement(editor, modelElement) {
|
|
314
317
|
const mapper = editor.editing.mapper;
|
|
315
318
|
const domConverter = editor.editing.view.domConverter;
|
|
316
319
|
const viewElement = mapper.toViewElement(modelElement);
|
|
320
|
+
if (!viewElement) {
|
|
321
|
+
return true;
|
|
322
|
+
}
|
|
317
323
|
const domElement = domConverter.mapViewToDom(viewElement);
|
|
318
324
|
return global.window.getComputedStyle(domElement).float != 'none';
|
|
319
325
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module clipboard
|
|
7
7
|
*/
|
|
8
|
-
export { default as Clipboard } from './clipboard';
|
|
9
|
-
export { default as ClipboardPipeline, type ClipboardContentInsertionEvent, type ClipboardInputTransformationEvent, type ClipboardInputTransformationData, type ClipboardOutputTransformationEvent, type ClipboardOutputTransformationData, type ViewDocumentClipboardOutputEvent } from './clipboardpipeline';
|
|
10
|
-
export type { ClipboardEventData } from './clipboardobserver';
|
|
11
|
-
export { default as DragDrop } from './dragdrop';
|
|
12
|
-
export { default as PastePlainText } from './pasteplaintext';
|
|
13
|
-
export { default as DragDropTarget } from './dragdroptarget';
|
|
14
|
-
export { default as DragDropBlockToolbar } from './dragdropblocktoolbar';
|
|
15
|
-
export type { ViewDocumentClipboardInputEvent, ViewDocumentCopyEvent, ViewDocumentCutEvent } from './clipboardobserver';
|
|
16
|
-
import './augmentation';
|
|
8
|
+
export { default as Clipboard } from './clipboard.js';
|
|
9
|
+
export { default as ClipboardPipeline, type ClipboardContentInsertionEvent, type ClipboardInputTransformationEvent, type ClipboardInputTransformationData, type ClipboardOutputTransformationEvent, type ClipboardOutputTransformationData, type ViewDocumentClipboardOutputEvent } from './clipboardpipeline.js';
|
|
10
|
+
export type { ClipboardEventData } from './clipboardobserver.js';
|
|
11
|
+
export { default as DragDrop } from './dragdrop.js';
|
|
12
|
+
export { default as PastePlainText } from './pasteplaintext.js';
|
|
13
|
+
export { default as DragDropTarget } from './dragdroptarget.js';
|
|
14
|
+
export { default as DragDropBlockToolbar } from './dragdropblocktoolbar.js';
|
|
15
|
+
export type { ViewDocumentClipboardInputEvent, ViewDocumentCopyEvent, ViewDocumentCutEvent } from './clipboardobserver.js';
|
|
16
|
+
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module clipboard
|
|
7
7
|
*/
|
|
8
|
-
export { default as Clipboard } from './clipboard';
|
|
9
|
-
export { default as ClipboardPipeline } from './clipboardpipeline';
|
|
10
|
-
export { default as DragDrop } from './dragdrop';
|
|
11
|
-
export { default as PastePlainText } from './pasteplaintext';
|
|
12
|
-
export { default as DragDropTarget } from './dragdroptarget';
|
|
13
|
-
export { default as DragDropBlockToolbar } from './dragdropblocktoolbar';
|
|
14
|
-
import './augmentation';
|
|
8
|
+
export { default as Clipboard } from './clipboard.js';
|
|
9
|
+
export { default as ClipboardPipeline } from './clipboardpipeline.js';
|
|
10
|
+
export { default as DragDrop } from './dragdrop.js';
|
|
11
|
+
export { default as PastePlainText } from './pasteplaintext.js';
|
|
12
|
+
export { default as DragDropTarget } from './dragdroptarget.js';
|
|
13
|
+
export { default as DragDropBlockToolbar } from './dragdropblocktoolbar.js';
|
|
14
|
+
import './augmentation.js';
|
package/src/lineview.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/lineview.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/pasteplaintext.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module clipboard/pasteplaintext
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
|
-
import ClipboardPipeline from './clipboardpipeline';
|
|
9
|
+
import ClipboardPipeline from './clipboardpipeline.js';
|
|
10
10
|
/**
|
|
11
11
|
* The plugin detects the user's intention to paste plain text.
|
|
12
12
|
*
|
package/src/pasteplaintext.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module clipboard/pasteplaintext
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
|
-
import ClipboardObserver from './clipboardobserver';
|
|
10
|
-
import ClipboardPipeline from './clipboardpipeline';
|
|
9
|
+
import ClipboardObserver from './clipboardobserver.js';
|
|
10
|
+
import ClipboardPipeline from './clipboardpipeline.js';
|
|
11
11
|
/**
|
|
12
12
|
* The plugin detects the user's intention to paste plain text.
|
|
13
13
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
// Elements which should not have empty-line padding.
|
package/theme/clipboard.css
CHANGED