@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
67 lines • 1.47 kB
JavaScript
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
import { markGroupDeclarations } from './mark-group-declarations-names';
import { link, em, strong, textColor, strike, subsup, underline, code, typeAheadQuery, confluenceInlineComment, fontSize, breakout, alignment, indentation, annotation, unsupportedMark, unsupportedNodeAttribute, dataConsumer, fragment, border, backgroundColor } from './marks';
export var marksInOrder = [{
name: 'link',
spec: link
}, {
name: 'em',
spec: em
}, {
name: 'strong',
spec: strong
}, {
name: 'textColor',
spec: textColor
}, {
name: 'backgroundColor',
spec: backgroundColor
}, {
name: 'strike',
spec: strike
}, {
name: 'subsup',
spec: subsup
}, {
name: 'underline',
spec: underline
}, {
name: 'code',
spec: code
}, {
name: 'typeAheadQuery',
spec: typeAheadQuery
}, {
name: 'alignment',
spec: alignment
}, {
name: 'annotation',
spec: annotation
}, {
name: 'confluenceInlineComment',
spec: confluenceInlineComment
}].concat(_toConsumableArray(markGroupDeclarations), [{
name: 'fontSize',
spec: fontSize
}, {
name: 'breakout',
spec: breakout
}, {
name: 'dataConsumer',
spec: dataConsumer
}, {
name: 'fragment',
spec: fragment
}, {
name: 'indentation',
spec: indentation
}, {
name: 'border',
spec: border
}, {
name: 'unsupportedMark',
spec: unsupportedMark
}, {
name: 'unsupportedNodeAttribute',
spec: unsupportedNodeAttribute
}]);