@atlaskit/editor-plugin-copy-button
v10.1.0
Published
editor-plugin-copy-button for @atlaskit/editor-core
Readme
Editor Plugin Copy Button
Copy Button plugin for @atlaskit/editor-core
Note: This component is designed for internal Atlassian development. External contributors will be able to use this component but will not be able to submit issues.
Overview
The Copy Button plugin provides toolbar button functionality for copying content within the Atlassian Editor. It integrates with the floating toolbar to display copy buttons for marks and nodes, offering visual feedback and accessibility features for copy operations.
Key features
- Copy button toolbar integration - Seamlessly integrate copy buttons into the floating toolbar
- Mark and node support - Support copying both marks and nodes with specific copy handlers
- Visual feedback - Provide hover decoration and copied state indication to users
- Accessibility support - Announce copy operations to users via aria notifications
- Analytics integration - Track copy button interactions with analytics events
- Customizable handlers - Configure custom mouse and focus event handlers for copy buttons
Install
- Install - yarn add @atlaskit/editor-plugin-copy-button
- npm - @atlaskit/editor-plugin-copy-button
- Source - Bitbucket
- Bundle - unpkg.com
Usage
Internal use only
@atlaskit/editor-plugin-copy-button is intended for internal use by the @atlaskit/editor-core and as a plugin dependency of the Editor within your product.
Direct use of this component is not supported.
Please see Atlaskit - Editor plugin copy-button for documentation and examples for this package.
Support
For internal Atlassian, visit the slack channel #help-editor for support or visit go/editor-help to submit a bug.
License
Please see Atlassian Frontend - License for more licensing information.
