npm.io
17.0.1 • Published 3h ago

@atlaskit/editor-plugin-selection-toolbar

Licence
Apache-2.0
Version
17.0.1
Deps
20
Size
232 kB
Vulns
0
Weekly
0

Editor Plugin Selection Toolbar

Selection toolbar 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 Selection Toolbar plugin provides a floating toolbar that appears when text is selected in the editor. It enables users to perform formatting actions and access contextual controls based on the current selection within the editor.

Key features

  • Floating toolbar on selection - Displays contextual formatting options when text is selected
  • Toolbar positioning - Supports multiple toolbar docking positions (top, bottom, none) with user preferences
  • Configurable toolbar placement - Option to prefer toolbar above or below the selection
  • Toolbar state management - Manages visibility and stability of the toolbar during editing
  • Analytics integration - Tracks toolbar interactions and user preferences through analytics events
  • User preferences - Respects user's toolbar docking preferences across sessions

Install


Usage


Internal use only

@atlaskit/editor-plugin-selection-toolbar 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 selection toolbar 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.