@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
13 lines (12 loc) • 306 B
TypeScript
import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
export type BreakoutMarkAttrs = {
mode: 'wide' | 'full-width';
};
/**
* @name breakout_mark
*/
export interface BreakoutMarkDefinition {
attrs: BreakoutMarkAttrs;
type: 'breakout';
}
export declare const breakout: MarkSpec;