npm.io
15.0.5 • Published 30m ago

@atlaskit/editor-plugin-code-bidi-warning

Licence
Apache-2.0
Version
15.0.5
Deps
6
Size
57 kB
Vulns
1
Weekly
0

Editor Plugin Code Bidi Warning

Code bidi warning 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 Code Bidi Warning plugin detects and highlights bidirectional text characters in code blocks that may cause readability issues or security concerns. It provides visual warnings to help users identify potentially problematic code patterns.

Key features

  • Bidi character detection - Automatically detect bidirectional text characters in code blocks
  • Visual warnings - Display decorations and tooltips for identified bidi characters
  • Feature flag support - Respect feature flags for enabling/disabling the warning functionality
  • Limited mode compatibility - Disable warnings when the editor is in limited mode
  • Configurable appearance - Support for different editor appearance modes

Install

Usage

Internal use only

@atlaskit/editor-plugin-code-bidi-warning 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 code bidi warning 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.