npm.io
14.2.2 • Published 2d ago

@atlaskit/editor-plugin-block-menu

Licence
Apache-2.0
Version
14.2.2
Deps
22
Size
770 kB
Vulns
0
Weekly
0

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

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.