UNPKG

@atlaskit/adf-schema

Version:

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

15 lines 315 B
import { adfMark } from '@atlaskit/adf-schema-generator'; export const border = adfMark('border').define({ inclusive: false, attrs: { size: { type: 'number', minimum: 1, maximum: 3 }, color: { pattern: '^#[0-9a-fA-F]{8}$|^#[0-9a-fA-F]{6}$', type: 'string' } } });