Editor plugin code block advanced
CodeBlockAdvanced plugin for @atlaskit/editor-core
yarn add @atlaskit/editor-plugin-code-block-advanced
2.1.1
Patch Changes
- Updated dependencies
Internal Editor Use Only
Editor Plugin Code Block Advanced is intended for internal use by the Editor Platform as a plugin dependency of the Editor within your product.
Direct use of this component is not supported.
Consider using Editor Core instead.
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.
This package includes the code block advanced plugin used by @atlaskit/editor-core
.
This can be used to extend @atlaskit/editor-plugin-code-block
by using a CodeMirror editor for
the nodeview to use rich functionality. Extensions can be injected via its configuration.
Usage
The dependencies
, configuration
, state
, actions
, and commands
of the plugin are defined
below:
type CodeBlockAdvancedPlugin = NextEditorPlugin<
'codeBlockAdvanced',
{
dependencies: [CodeBlockPlugin];
pluginConfiguration:
| {
extensions?: Extension[];
}
| undefined;
}
>;
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.