UNPKG

@atlaskit/adf-schema

Version:

Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs

17 lines 350 B
import { adfMark } from '@atlaskit/adf-schema-generator'; export const breakout = adfMark('breakout').define({ spanning: false, inclusive: false, attrs: { mode: { type: 'enum', values: ['wide', 'full-width'], default: 'wide' }, width: { type: 'number', default: null, optional: true } } });