@atlaskit/editor-plugin-width
Version:
Width plugin for @atlaskit/editor-core
10 lines (9 loc) • 379 B
TypeScript
import type { EditorContainerWidth, NextEditorPlugin } from '@atlaskit/editor-common/types';
export type WidthPlugin = NextEditorPlugin<'width', {
sharedState: EditorContainerWidth | undefined;
}>;
/**
* Width plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
* from `@atlaskit/editor-core`.
*/
export declare const widthPlugin: WidthPlugin;