@atlaskit/editor-core
Version:
A package contains Atlassian editor core functionality
18 lines (17 loc) • 356 B
TypeScript
import { NodeSpec } from '../../prosemirror';
import { InlineLinkText } from './doc';
/**
* @name heading_node
*/
export interface Definition {
type: 'heading';
content: Array<InlineLinkText>;
attrs: {
/**
* @minimum 1
* @maximum 6
*/
level: number;
};
}
export declare const heading: NodeSpec;