@atlaskit/editor-plugin-block-controls
Version:
Block controls plugin for @atlaskit/editor-core
54 lines (32 loc) • 2.42 kB
Markdown
# Editor Plugin Block Controls
Block controls 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 Controls plugin provides comprehensive UI controls for managing blocks in the Atlassian Editor. It enables drag-and-drop functionality, block selection, quick insert capabilities, and visual decorations for interactive block management. This plugin integrates with the editor's core system to provide an intuitive interface for manipulating content blocks.
## Key features
- **Drag and drop** - Move blocks around the editor with intuitive drag-and-drop gestures
- **Block selection** - Select and manage individual or multiple blocks
- **Quick insert** - Quick access to insert new content blocks
- **Visual decorations** - Hover states, drag handles, and drop target indicators
- **Block menu** - Context menu for block-level operations
- **Selection preservation** - Preserve text selection during block operations
- **Right-side controls** - Configurable right-edge button controls for block actions
## Install
- **Install** - _yarn add @atlaskit/editor-plugin-block-controls_
- **npm** - [@atlaskit/editor-plugin-block-controls](https://www.npmjs.com/package/@atlaskit/editor-plugin-block-controls)
- **Source** - [Bitbucket](https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/editor/editor-plugin-block-controls)
- **Bundle** - [unpkg.com](https://unpkg.com/@atlaskit/editor-plugin-block-controls/dist/)
## Usage
**Internal use only**
@atlaskit/editor-plugin-block-controls 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 block controls](https://atlaskit.atlassian.com/packages/editor/editor-plugin-block-controls) for documentation and examples for this package.
## Support
For internal Atlassian, visit the slack channel [#help-editor](https://atlassian.slack.com/archives/CFG3PSQ9E) for support or visit [go/editor-help](https://go/editor-help) to submit a bug.
## License
Please see [Atlassian Frontend - License](https://hello.atlassian.net/wiki/spaces/AF/pages/2589099144/Documentation#License) for more licensing information.