@atlaskit/editor-plugin-paste 9.1.12 → 9.1.13
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/CHANGELOG.md +7 -0
- package/README.md +39 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,9 +1,45 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Editor Plugin Paste
|
|
2
2
|
|
|
3
3
|
Paste plugin for @atlaskit/editor-core
|
|
4
4
|
|
|
5
|
+
**Note:** This component is designed for internal Atlassian development.
|
|
6
|
+
External contributors will be able to use this component but will not be able to submit issues.
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
The Paste plugin handles all paste operations in the Atlassian Editor. It intelligently processes clipboard content from various sources and transforms it into the appropriate editor content, supporting rich text, plain text, code blocks, media, links, and special formatting from applications like Microsoft Word, Excel, and VS Code.
|
|
11
|
+
|
|
12
|
+
## Key features
|
|
13
|
+
|
|
14
|
+
- **Rich content handling** - Process and transform HTML, markdown, and plain text from clipboard
|
|
15
|
+
- **Smart content detection** - Automatically detect and handle paste from Word, Excel, VS Code, and other sources
|
|
16
|
+
- **Media support** - Handle pasted images and files with proper media node creation
|
|
17
|
+
- **Link intelligence** - Convert pasted URLs to smart cards or inline links based on context
|
|
18
|
+
- **Content transformation** - Transform pasted content to match editor schema (lists, tables, code blocks, etc.)
|
|
19
|
+
- **Macro auto-conversion** - Automatically convert pasted macro links to proper extensions
|
|
20
|
+
- **Paste warnings** - Display contextual warnings for paste operations when needed
|
|
21
|
+
- **Analytics tracking** - Track paste events and sources for performance monitoring
|
|
22
|
+
|
|
23
|
+
## Install
|
|
24
|
+
---
|
|
25
|
+
- **Install** - *yarn add @atlaskit/editor-plugin-paste*
|
|
26
|
+
- **npm** - [@atlaskit/editor-plugin-paste](https://www.npmjs.com/package/@atlaskit/editor-plugin-paste)
|
|
27
|
+
- **Source** - [Bitbucket](https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/editor/editor-plugin-paste)
|
|
28
|
+
- **Bundle** - [unpkg.com](https://unpkg.com/@atlaskit/editor-plugin-paste/dist/)
|
|
29
|
+
|
|
5
30
|
## Usage
|
|
31
|
+
---
|
|
32
|
+
**Internal use only**
|
|
33
|
+
|
|
34
|
+
@atlaskit/editor-plugin-paste is intended for internal use by the @atlaskit/editor-core and as a plugin dependency of the Editor within your product.
|
|
35
|
+
|
|
36
|
+
Direct use of this component is not supported.
|
|
6
37
|
|
|
7
|
-
|
|
38
|
+
Please see [Atlaskit - Editor plugin paste](https://atlaskit.atlassian.com/packages/editor/editor-plugin-paste) for documentation and examples for this package.
|
|
8
39
|
|
|
9
|
-
|
|
40
|
+
## Support
|
|
41
|
+
---
|
|
42
|
+
For internal Atlassian, visit the slack channel [#help-editor](https://atlassian.slack.com/archives/CFG3PSQ9E) for support or visit [go/editor-help](https://go/editor-help) to submit a bug.
|
|
43
|
+
## License
|
|
44
|
+
---
|
|
45
|
+
Please see [Atlassian Frontend - License](https://hello.atlassian.net/wiki/spaces/AF/pages/2589099144/Documentation#License) for more licensing information.
|