UNPKG

@atlaskit/editor-plugin-table

Version:

Table plugin for the @atlaskit/editor

18 lines (17 loc) 668 B
import type { GetEditorContainerWidth } from '@atlaskit/editor-common/types'; import type { DOMOutputSpec, NodeSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model'; type Config = { allowColumnResizing: boolean; getEditorContainerWidth: GetEditorContainerWidth; isChromelessEditor?: boolean; isCommentEditor?: boolean; isNested?: boolean; isNestingSupported?: boolean; isTableScalingEnabled?: boolean; shouldUseIncreasedScalingPercent?: boolean; tableResizingEnabled: boolean; }; export declare const tableNodeSpecWithFixedToDOM: (config: Config) => NodeSpec & { toDOM: (node: PMNode) => DOMOutputSpec; }; export {};