@ckeditor/ckeditor5-clipboard 48.2.0-alpha.7 → 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.
@@ -1,47 +1,47 @@
1
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
- */
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
- * @module clipboard/lineview
7
- */
8
- import { View } from '@ckeditor/ckeditor5-ui';
6
+ * @module clipboard/lineview
7
+ */
8
+ import { View } from "@ckeditor/ckeditor5-ui";
9
9
  /**
10
- * The horizontal drop target line view.
11
- *
12
- * @internal
13
- */
10
+ * The horizontal drop target line view.
11
+ *
12
+ * @internal
13
+ */
14
14
  export declare class LineView extends View {
15
- /**
16
- * Controls whether the line is visible.
17
- *
18
- * @observable
19
- * @default false
20
- */
21
- isVisible: boolean;
22
- /**
23
- * Controls the line position x coordinate.
24
- *
25
- * @observable
26
- * @default null
27
- */
28
- left: number | null;
29
- /**
30
- * Controls the line width.
31
- *
32
- * @observable
33
- * @default null
34
- */
35
- width: number | null;
36
- /**
37
- * Controls the line position y coordinate.
38
- *
39
- * @observable
40
- * @default null
41
- */
42
- top: number | null;
43
- /**
44
- * @inheritDoc
45
- */
46
- constructor();
15
+ /**
16
+ * Controls whether the line is visible.
17
+ *
18
+ * @observable
19
+ * @default false
20
+ */
21
+ isVisible: boolean;
22
+ /**
23
+ * Controls the line position x coordinate.
24
+ *
25
+ * @observable
26
+ * @default null
27
+ */
28
+ left: number | null;
29
+ /**
30
+ * Controls the line width.
31
+ *
32
+ * @observable
33
+ * @default null
34
+ */
35
+ width: number | null;
36
+ /**
37
+ * Controls the line position y coordinate.
38
+ *
39
+ * @observable
40
+ * @default null
41
+ */
42
+ top: number | null;
43
+ /**
44
+ * @inheritDoc
45
+ */
46
+ constructor();
47
47
  }
@@ -1,32 +1,32 @@
1
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
- */
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
- * @module clipboard/pasteplaintext
7
- */
8
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import { ClipboardPipeline } from './clipboardpipeline.js';
6
+ * @module clipboard/pasteplaintext
7
+ */
8
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
9
+ import { ClipboardPipeline } from "./clipboardpipeline.js";
10
10
  /**
11
- * The plugin detects the user's intention to paste plain text.
12
- *
13
- * For example, it detects the <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>V</kbd> keystroke.
14
- */
11
+ * The plugin detects the user's intention to paste plain text.
12
+ *
13
+ * For example, it detects the <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>V</kbd> keystroke.
14
+ */
15
15
  export declare class PastePlainText extends Plugin {
16
- /**
17
- * @inheritDoc
18
- */
19
- static get pluginName(): "PastePlainText";
20
- /**
21
- * @inheritDoc
22
- */
23
- static get isOfficialPlugin(): true;
24
- /**
25
- * @inheritDoc
26
- */
27
- static get requires(): readonly [typeof ClipboardPipeline];
28
- /**
29
- * @inheritDoc
30
- */
31
- init(): void;
16
+ /**
17
+ * @inheritDoc
18
+ */
19
+ static get pluginName(): "PastePlainText";
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static override get isOfficialPlugin(): true;
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ static get requires(): PluginDependenciesOf<[ClipboardPipeline]>;
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ init(): void;
32
32
  }
@@ -1,16 +1,16 @@
1
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
- */
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
- * @module clipboard/utils/normalizeclipboarddata
7
- */
6
+ * @module clipboard/utils/normalizeclipboarddata
7
+ */
8
8
  /**
9
- * Removes some popular browser quirks out of the clipboard data (HTML).
10
- * Removes all HTML comments. These are considered an internal thing and it makes little sense if they leak into the editor data.
11
- *
12
- * @param data The HTML data to normalize.
13
- * @returns Normalized HTML.
14
- * @internal
15
- */
9
+ * Removes some popular browser quirks out of the clipboard data (HTML).
10
+ * Removes all HTML comments. These are considered an internal thing and it makes little sense if they leak into the editor data.
11
+ *
12
+ * @param data The HTML data to normalize.
13
+ * @returns Normalized HTML.
14
+ * @internal
15
+ */
16
16
  export declare function normalizeClipboardData(data: string): string;
@@ -1,14 +1,14 @@
1
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
- */
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
- * @module clipboard/utils/plaintexttohtml
7
- */
6
+ * @module clipboard/utils/plaintexttohtml
7
+ */
8
8
  /**
9
- * Converts plain text to its HTML-ized version.
10
- *
11
- * @param text The plain text to convert.
12
- * @returns HTML generated from the plain text.
13
- */
9
+ * Converts plain text to its HTML-ized version.
10
+ *
11
+ * @param text The plain text to convert.
12
+ * @returns HTML generated from the plain text.
13
+ */
14
14
  export declare function plainTextToHtml(text: string): string;
@@ -1,16 +1,16 @@
1
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
- */
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
- * @module clipboard/utils/viewtoplaintext
7
- */
8
- import type { ViewDomConverter, ViewDocumentFragment, ViewItem } from '@ckeditor/ckeditor5-engine';
6
+ * @module clipboard/utils/viewtoplaintext
7
+ */
8
+ import type { ViewDomConverter, ViewDocumentFragment, ViewItem } from "@ckeditor/ckeditor5-engine";
9
9
  /**
10
- * Converts {@link module:engine/view/item~ViewItem view item} and all of its children to plain text.
11
- *
12
- * @param converter The converter instance.
13
- * @param viewItem View item to convert.
14
- * @returns Plain text representation of `viewItem`.
15
- */
10
+ * Converts {@link module:engine/view/item~ViewItem view item} and all of its children to plain text.
11
+ *
12
+ * @param converter The converter instance.
13
+ * @param viewItem View item to convert.
14
+ * @returns Plain text representation of `viewItem`.
15
+ */
16
16
  export declare function viewToPlainText(converter: ViewDomConverter, viewItem: ViewItem | ViewDocumentFragment): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-clipboard",
3
- "version": "48.2.0-alpha.7",
3
+ "version": "48.3.0-alpha.0",
4
4
  "description": "Clipboard integration feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -26,11 +26,11 @@
26
26
  "./package.json": "./package.json"
27
27
  },
28
28
  "dependencies": {
29
- "@ckeditor/ckeditor5-core": "48.2.0-alpha.7",
30
- "@ckeditor/ckeditor5-engine": "48.2.0-alpha.7",
31
- "@ckeditor/ckeditor5-ui": "48.2.0-alpha.7",
32
- "@ckeditor/ckeditor5-utils": "48.2.0-alpha.7",
33
- "@ckeditor/ckeditor5-widget": "48.2.0-alpha.7",
29
+ "@ckeditor/ckeditor5-core": "48.3.0-alpha.0",
30
+ "@ckeditor/ckeditor5-engine": "48.3.0-alpha.0",
31
+ "@ckeditor/ckeditor5-ui": "48.3.0-alpha.0",
32
+ "@ckeditor/ckeditor5-utils": "48.3.0-alpha.0",
33
+ "@ckeditor/ckeditor5-widget": "48.3.0-alpha.0",
34
34
  "es-toolkit": "1.45.1"
35
35
  },
36
36
  "files": [