UNPKG

@atlaskit/adf-schema

Version:

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

19 lines 539 B
import { adfNode } from '@atlaskit/adf-schema-generator'; import { breakout } from '../marks/breakout'; import { unsupportedMark } from '../marks/unsupportedMark'; import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute'; export var syncBlock = adfNode('syncBlock').define({ stage0: true, selectable: true, marks: [breakout, unsupportedMark, unsupportedNodeAttribute], attrs: { resourceId: { type: 'string', default: '' }, localId: { type: 'string', default: '' } } });