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