@atlaskit/editor-core
Version:
A package contains Atlassian editor core functionality
19 lines (18 loc) • 437 B
TypeScript
import { NodeSpec } from '../../prosemirror';
import { TopLevel } from './doc';
export declare type PanelType = 'info' | 'note' | 'tip' | 'warning';
export interface Attributes {
panelType: PanelType;
}
/**
* @name panel_node
*/
export interface Definition {
type: 'panel';
attrs: Attributes;
content: TopLevel;
}
export interface DOMAttributes {
[propName: string]: string;
}
export declare const panel: NodeSpec;