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