npm.io
16.0.2 • Published 10h ago

@atlaskit/editor-plugin-copy-button

Licence
Apache-2.0
Version
16.0.2
Deps
7
Size
97 kB
Vulns
0
Weekly
0

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


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.