UNPKG

@atlaskit/editor-plugin-table

Version:

Table plugin for the @atlaskit/editor

9 lines (8 loc) 1.1 kB
import type { IntlShape } from 'react-intl-next/src/types'; import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics'; import type { PortalProviderAPI } from '@atlaskit/editor-common/portal'; import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin'; import type { GetEditorContainerWidth } from '@atlaskit/editor-common/types'; import type { PluginInjectionAPI, PluginInjectionAPIWithA11y } from '../types'; export declare function keymapPlugin(getEditorContainerWidth: GetEditorContainerWidth, api: PluginInjectionAPI | undefined | null, nodeViewPortalProviderAPI: PortalProviderAPI, editorAnalyticsAPI: EditorAnalyticsAPI | undefined | null, dragAndDropEnabled?: boolean, isTableScalingEnabled?: boolean, isTableAlignmentEnabled?: boolean, isFullWidthEnabled?: boolean, pluginInjectionApi?: PluginInjectionAPIWithA11y, getIntl?: () => IntlShape, isTableFixedColumnWidthsOptionEnabled?: boolean, shouldUseIncreasedScalingPercent?: boolean, isCommentEditor?: boolean, isChromelessEditor?: boolean, isTableResizingEnabled?: boolean): SafePlugin; export default keymapPlugin;