UNPKG

344 BTypeScriptView Raw
1import { MarkSpec, Mark } from 'prosemirror-model';
2export interface SubSupAttributes {
3 type: 'sub' | 'sup';
4}
5/**
6 * @name subsup_mark
7 */
8export interface SubSupDefinition {
9 type: 'subsup';
10 attrs: SubSupAttributes;
11}
12export interface SubSupMark extends Mark {
13 attrs: SubSupAttributes;
14}
15export declare const subsup: MarkSpec;