@ckeditor/ckeditor5-clipboard 0.0.0-nightly-20260108.0 → 0.0.0-nightly-next-20260108.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.
@@ -1,3 +1,7 @@
1
+ /**
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
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -1,3 +1,7 @@
1
+ /**
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
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -1,3 +1,7 @@
1
+ /**
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
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -1,3 +1,7 @@
1
+ /**
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
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -1,3 +1,7 @@
1
+ /**
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
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -1,3 +1,7 @@
1
+ /**
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
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -1,3 +1,7 @@
1
+ /**
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
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -1,3 +1,7 @@
1
+ /**
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
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -1,3 +1,7 @@
1
+ /**
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
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -1,3 +1,7 @@
1
+ /**
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
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -1,3 +1,7 @@
1
+ /**
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
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -1,3 +1,7 @@
1
+ /**
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
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -1,3 +1,7 @@
1
+ /**
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
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -1,3 +1,7 @@
1
+ /**
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
+ */
1
5
  /**
2
6
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
package/package.json CHANGED
@@ -1,59 +1,51 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-clipboard",
3
- "version": "0.0.0-nightly-20260108.0",
3
+ "version": "0.0.0-nightly-next-20260108.0",
4
4
  "description": "Clipboard integration feature for CKEditor 5.",
5
+ "license": "SEE LICENSE IN LICENSE.md",
6
+ "author": "CKSource (http://cksource.com/)",
7
+ "homepage": "https://ckeditor.com/ckeditor-5",
8
+ "bugs": "https://github.com/ckeditor/ckeditor5/issues",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/ckeditor/ckeditor5.git",
12
+ "directory": "packages/ckeditor5-clipboard"
13
+ },
5
14
  "keywords": [
6
15
  "ckeditor",
7
16
  "ckeditor5",
8
17
  "ckeditor 5",
9
18
  "ckeditor5-feature",
10
- "ckeditor5-plugin",
11
- "ckeditor5-dll"
19
+ "ckeditor5-plugin"
12
20
  ],
13
21
  "type": "module",
14
- "main": "src/index.js",
22
+ "main": "dist/index.js",
15
23
  "dependencies": {
16
- "@ckeditor/ckeditor5-core": "0.0.0-nightly-20260108.0",
17
- "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20260108.0",
18
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20260108.0",
19
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20260108.0",
20
- "@ckeditor/ckeditor5-widget": "0.0.0-nightly-20260108.0",
24
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-next-20260108.0",
25
+ "@ckeditor/ckeditor5-engine": "0.0.0-nightly-next-20260108.0",
26
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-next-20260108.0",
27
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-next-20260108.0",
28
+ "@ckeditor/ckeditor5-widget": "0.0.0-nightly-next-20260108.0",
21
29
  "es-toolkit": "1.39.5"
22
30
  },
23
- "author": "CKSource (http://cksource.com/)",
24
- "license": "SEE LICENSE IN LICENSE.md",
25
- "homepage": "https://ckeditor.com/ckeditor-5",
26
- "bugs": "https://github.com/ckeditor/ckeditor5/issues",
27
- "repository": {
28
- "type": "git",
29
- "url": "https://github.com/ckeditor/ckeditor5.git",
30
- "directory": "packages/ckeditor5-clipboard"
31
- },
32
31
  "files": [
33
32
  "dist",
34
33
  "lang",
35
- "src/**/*.js",
36
- "src/**/*.d.ts",
37
34
  "theme",
38
35
  "CHANGELOG.md"
39
36
  ],
40
- "types": "src/index.d.ts",
37
+ "types": "dist/index.d.ts",
41
38
  "exports": {
42
39
  ".": {
43
- "types": "./src/index.d.ts",
44
- "import": "./src/index.js",
45
- "default": "./src/index.js"
40
+ "types": "./dist/index.d.ts",
41
+ "import": "./dist/index.js",
42
+ "default": "./dist/index.js"
46
43
  },
47
44
  "./dist/*": {
48
- "types": "./src/index.d.ts",
45
+ "types": "./dist/index.d.ts",
49
46
  "import": "./dist/*",
50
47
  "default": "./dist/*"
51
48
  },
52
- "./src/*": {
53
- "types": "./src/*.d.ts",
54
- "import": "./src/*",
55
- "default": "./src/*"
56
- },
57
49
  "./lang/*": "./lang/*",
58
50
  "./theme/*": "./theme/*",
59
51
  "./package.json": "./package.json"
@@ -1,5 +0,0 @@
1
- /**
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
- export {};
package/src/clipboard.js DELETED
@@ -1,66 +0,0 @@
1
- /**
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
- /**
6
- * @module clipboard/clipboard
7
- */
8
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import { ClipboardPipeline } from './clipboardpipeline.js';
10
- import { DragDrop } from './dragdrop.js';
11
- import { PastePlainText } from './pasteplaintext.js';
12
- import { ClipboardMarkersUtils } from './clipboardmarkersutils.js';
13
- /**
14
- * The clipboard feature.
15
- *
16
- * Read more about the clipboard integration in the {@glink framework/deep-dive/clipboard clipboard deep-dive} guide.
17
- *
18
- * This is a "glue" plugin which loads the following plugins:
19
- * * {@link module:clipboard/clipboardpipeline~ClipboardPipeline}
20
- * * {@link module:clipboard/dragdrop~DragDrop}
21
- * * {@link module:clipboard/pasteplaintext~PastePlainText}
22
- */
23
- export class Clipboard extends Plugin {
24
- /**
25
- * @inheritDoc
26
- */
27
- static get pluginName() {
28
- return 'Clipboard';
29
- }
30
- /**
31
- * @inheritDoc
32
- */
33
- static get isOfficialPlugin() {
34
- return true;
35
- }
36
- /**
37
- * @inheritDoc
38
- */
39
- static get requires() {
40
- return [ClipboardMarkersUtils, ClipboardPipeline, DragDrop, PastePlainText];
41
- }
42
- /**
43
- * @inheritDoc
44
- */
45
- init() {
46
- const editor = this.editor;
47
- const t = this.editor.t;
48
- // Add the information about the keystrokes to the accessibility database.
49
- editor.accessibility.addKeystrokeInfos({
50
- keystrokes: [
51
- {
52
- label: t('Copy selected content'),
53
- keystroke: 'CTRL+C'
54
- },
55
- {
56
- label: t('Paste content'),
57
- keystroke: 'CTRL+V'
58
- },
59
- {
60
- label: t('Paste content as plain text'),
61
- keystroke: 'CTRL+SHIFT+V'
62
- }
63
- ]
64
- });
65
- }
66
- }