UNPKG

@atlaskit/editor-plugin-table

Version:

Table plugin for the @atlaskit/editor

12 lines (11 loc) 528 B
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<{ documentHasLoadedOnce: boolean; }>; export { createPlugin };