@atlaskit/editor-plugin-block-menu
v9.2.0
Published
BlockMenu plugin for @atlaskit/editor-core
Readme
Editor Plugin Block Menu
Block Menu 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 Block Menu plugin provides a context menu for block-level transformations and operations in the Atlassian Editor. It enables users to quickly transform content blocks (paragraphs, lists, headings, etc.) into different node types and perform block-level actions like moving, copying, and deleting content through an interactive menu interface.
Key features
- Block transformation - Transform content blocks between different node types (paragraphs, lists, headings, blockquotes, code blocks, etc.)
- Customizable menu - Register custom menu items, sections, and nested menus through a flexible component registry
- Block actions - Move blocks up/down, delete, copy links to specific blocks with deep linking support
- Intelligent transformations - Handle complex transformations with proper handling of nested content, lists, and mixed content types
- Analytics integration - Built-in event tracking for menu interactions and block transformations
- Performance monitoring - Measure and track transformation performance metrics
- Keyboard and mouse support - Open menu via drag handle, keyboard shortcut, or custom triggers
Install
- Install - yarn add @atlaskit/editor-plugin-block-menu
- npm - @atlaskit/editor-plugin-block-menu
- Source - Bitbucket
- Bundle - unpkg.com
Usage
Internal use only
@atlaskit/editor-plugin-block-menu is intended for internal use by @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 block menu 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.
