npm.io
36.0.0 • Published 2d ago

@atlaskit/editor-plugin-selection-extension

Licence
Apache-2.0
Version
36.0.0
Deps
25
Size
363 kB
Vulns
0
Weekly
0

Editor Plugin Selection Extension

Selection Extension plugin for confluence

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 Extension plugin provides a framework for extending the Atlassian Editor with custom actions triggered by text and block selections. It enables the creation of custom menus, toolbars, and interactive components that respond to user selections within the editor.

Key features

  • Custom selection extensions - Register and manage custom extensions that respond to text and block selections
  • Toolbar and menu integration - Seamlessly integrate custom actions into editor toolbars and block menus
  • Document manipulation - Insert and replace content using ADF (Atlassian Document Format) at selected positions
  • Selection tracking - Track and access detailed selection information including coordinates and content
  • Block menu support - Extend block-level menus with custom actions and configurations

Install


Usage


Internal use only

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