UNPKG

@atlaskit/adf-schema

Version:

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

11 lines 393 B
import { adfMark, JSONSchemaTransformerName, MarkExcludesNone, ValidatorSpecTransformerName } from '@atlaskit/adf-schema-generator'; export const unsupportedMark = adfMark('unsupportedMark').define({ ignore: [JSONSchemaTransformerName, ValidatorSpecTransformerName], excludes: MarkExcludesNone, allowExcludesEmpty: true, attrs: { originalValue: { type: 'object' } } });