@zodiac-ui/editor
Version:
A rich text editor for Angular based on `@atlaskit/editor-core`.
65 lines (64 loc) • 1.28 kB
TypeScript
import { NodeSpec } from 'prosemirror-model';
/**
* @name block_content
*/
export declare type BlockContent = any;
/**
* @name table_cell_content
* @minItems 1
* @allowUnsupportedBlock true
*/
export declare type TableCellContent = any;
/**
* @name extension_content
* @minItems 1
* @allowUnsupportedBlock true
*/
export declare type ExtensionContent = any;
/**
* @additionalProperties true
*/
export interface MarksObject<T> {
marks?: Array<T>;
}
/**
* @additionalProperties true
*/
export interface NoMark {
/**
* @maxItems 0
*/
marks?: Array<any>;
}
/**
* @name formatted_text_inline_node
*/
export declare type InlineFormattedText = any;
/**
* @name link_text_inline_node
*/
export declare type InlineLinkText = any;
/**
* @name code_inline_node
*/
export declare type InlineCode = any;
/**
* @name atomic_inline_node
*/
export declare type InlineAtomic = any;
/**
* @name inline_node
*/
export declare type Inline = InlineFormattedText | InlineCode | InlineAtomic;
/**
* @name doc_node
*/
export interface DocNode {
version: 1;
type: 'doc';
/**
* @allowUnsupportedBlock true
*/
content: any;
}
export declare const docNode: NodeSpec;