Editor plugin extension
editor-plugin-extension plugin for @atlaskit/editor-core
yarn add @atlaskit/editor-plugin-extension
5.0.2
Patch Changes
- #123345
31b02e82858e5
- NO-ISSUE: Update usages of selection utils - Updated dependencies
Internal Editor Use Only
Editor Plugin Extension 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 extension plugin used by @atlaskit/editor-core.
Usage
The dependencies
, configuration
, state
, actions
, and commands
of the plugin are defined
below:
type ExtensionPlugin = NextEditorPlugin<
'extension',
{
pluginConfiguration: ExtensionPluginOptions | undefined;
dependencies: [
OptionalPlugin<AnalyticsPlugin>,
OptionalPlugin<FeatureFlagsPlugin>,
WidthPlugin,
DecorationsPlugin,
OptionalPlugin<ContextPanelPlugin>,
BasePlugin,
];
sharedState:
| {
showContextPanel: boolean | undefined;
}
| undefined;
actions: {
editSelectedExtension: () => boolean;
api: () => ExtensionAPI;
insertMacroFromMacroBrowser: InsertMacroFromMacroBrowser;
runMacroAutoConvert: RunMacroAutoConvert;
forceAutoSave: typeof forceAutoSave;
};
}
>;
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.