@atlaskit/adf-schema
Version: 
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
16 lines (15 loc) • 344 B
TypeScript
import { MarkSpec, Mark } from 'prosemirror-model';
export interface SubSupAttributes {
    type: 'sub' | 'sup';
}
/**
 * @name subsup_mark
 */
export interface SubSupDefinition {
    type: 'subsup';
    attrs: SubSupAttributes;
}
export interface SubSupMark extends Mark {
    attrs: SubSupAttributes;
}
export declare const subsup: MarkSpec;