npm.io
34.0.0 • Published 2d ago

@atlaskit/editor-plugin-placeholder-text

Licence
Apache-2.0
Version
34.0.0
Deps
11
Size
154 kB
Vulns
0
Weekly
0

Editor Plugin Placeholder Text

Placeholder Text 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 Placeholder Text plugin provides functionality to insert and manage placeholder nodes within the Atlassian Editor. It enables users to add temporary text placeholders that can be edited or replaced, with support for floating toolbars and type-ahead integration.

Key features

  • Placeholder insertion - Insert placeholder text nodes at the current selection
  • Floating toolbar - Interactive toolbar for managing placeholder text insertion
  • Type-ahead integration - Seamless integration with the type-ahead plugin for content suggestions
  • Fake text cursor - Visual feedback showing cursor position within placeholder nodes
  • Auto-removal - Automatic removal of empty placeholder nodes when content is added

Install

Usage

Internal use only

@atlaskit/editor-plugin-placeholder-text 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 placeholder text 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.