UNPKG

@atlaskit/adf-schema

Version:

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

11 lines 233 B
import { adfMark } from '@atlaskit/adf-schema-generator'; export const subsup = adfMark('subsup').define({ inclusive: true, attrs: { type: { type: 'enum', values: ['sub', 'sup'], default: 'sub' } } });