@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
13 lines • 445 B
JavaScript
import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
import { JSONSchemaTransformerName, ValidatorSpecTransformerName } from '@atlaskit/adf-schema-generator/transformerNames';
export var unsupportedNodeAttribute = adfMark('unsupportedNodeAttribute').define({
ignore: [JSONSchemaTransformerName, ValidatorSpecTransformerName],
attrs: {
unsupported: {
type: 'object'
},
type: {
type: 'string'
}
}
});