@atlaskit/editor-plugin-table
Version:
Table plugin for the @atlaskit/editor
10 lines (9 loc) • 522 B
TypeScript
import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
type TableWidthInCommentFixPluginState = {
documentHasLoadedOnce: boolean;
};
export declare const pluginKey: PluginKey<TableWidthInCommentFixPluginState>;
declare const createPlugin: (dispatch: Dispatch, isTableAlignmentEnabled: boolean) => SafePlugin<TableWidthInCommentFixPluginState>;
export { createPlugin };