UNPKG

467 BTypeScriptView Raw
1import { NodeSpec } from 'prosemirror-model';
2import { BlockContent } from './types/block-content';
3/**
4 * @name layoutColumn_node
5 */
6export interface LayoutColumnDefinition {
7 type: 'layoutColumn';
8 attrs: {
9 /**
10 * @minimum 0
11 * @maximum 100
12 */
13 width: number;
14 };
15 /**
16 * @minItems 1
17 * @allowUnsupportedBlock true
18 */
19 content: Array<BlockContent>;
20}
21export declare const layoutColumn: NodeSpec;