@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
15 lines (14 loc) • 333 B
TypeScript
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
/**
* @name text_node
*/
export interface TextDefinition {
marks?: Array<any>;
/**
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
* @minLength 1
*/
text: string;
type: 'text';
}
export declare const text: NodeSpec;