@atlaskit/adf-schema 36.18.3 → 37.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/index.js +0 -24
- package/dist/cjs/next-schema/generated/markTypes.js +77 -77
- package/dist/cjs/next-schema/generated/nodeTypes.js +577 -545
- package/dist/cjs/next-schema/nodes/heading.js +5 -0
- package/dist/cjs/next-schema/nodes/paragraph.js +7 -0
- package/dist/cjs/schema/create-schema.js +2 -2
- package/dist/cjs/schema/default-schema.js +1 -3
- package/dist/cjs/schema/index.js +0 -24
- package/dist/cjs/schema/nodes/heading.js +2 -51
- package/dist/cjs/schema/nodes/index.js +0 -24
- package/dist/cjs/schema/nodes/paragraph.js +2 -18
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/next-schema/generated/markTypes.js +77 -77
- package/dist/es2019/next-schema/generated/nodeTypes.js +577 -545
- package/dist/es2019/next-schema/nodes/heading.js +5 -0
- package/dist/es2019/next-schema/nodes/paragraph.js +7 -0
- package/dist/es2019/schema/create-schema.js +3 -3
- package/dist/es2019/schema/default-schema.js +2 -4
- package/dist/es2019/schema/index.js +1 -1
- package/dist/es2019/schema/nodes/heading.js +2 -48
- package/dist/es2019/schema/nodes/index.js +2 -2
- package/dist/es2019/schema/nodes/paragraph.js +2 -15
- package/dist/esm/index.js +1 -1
- package/dist/esm/next-schema/generated/markTypes.js +77 -77
- package/dist/esm/next-schema/generated/nodeTypes.js +577 -545
- package/dist/esm/next-schema/nodes/heading.js +5 -0
- package/dist/esm/next-schema/nodes/paragraph.js +7 -0
- package/dist/esm/schema/create-schema.js +3 -3
- package/dist/esm/schema/default-schema.js +2 -4
- package/dist/esm/schema/index.js +1 -1
- package/dist/esm/schema/nodes/heading.js +1 -50
- package/dist/esm/schema/nodes/index.js +2 -2
- package/dist/esm/schema/nodes/paragraph.js +1 -17
- package/dist/json-schema/v1/full.json +12 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/next-schema/generated/markTypes.d.ts +122 -122
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +2 -2
- package/dist/types/next-schema/generated/nodeTypes.d.ts +474 -458
- package/dist/types/schema/index.d.ts +1 -1
- package/dist/types/schema/nodes/heading.d.ts +1 -3
- package/dist/types/schema/nodes/index.d.ts +2 -2
- package/dist/types/schema/nodes/paragraph.d.ts +1 -6
- package/json-schema/v1/full.json +12 -0
- package/package.json +3 -3
- package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +7 -1
- package/schema-generators/__tests__/unit/json-full-schema.unit.ts +12 -0
@@ -19,6 +19,11 @@ var heading = exports.heading = (0, _adfSchemaGenerator.adfNode)('heading').defi
|
|
19
19
|
default: 1,
|
20
20
|
minimum: 1,
|
21
21
|
maximum: 6
|
22
|
+
},
|
23
|
+
localId: {
|
24
|
+
type: 'string',
|
25
|
+
optional: true,
|
26
|
+
default: null
|
22
27
|
}
|
23
28
|
},
|
24
29
|
content: [(0, _adfSchemaGenerator.$zeroPlus)((0, _adfSchemaGenerator.$or)(_inlineGroup.inlineGroup))]
|
@@ -10,6 +10,13 @@ var _alignmentAndIndentation = require("../marks/alignmentAndIndentation");
|
|
10
10
|
var _unsupportedMark = require("../marks/unsupportedMark");
|
11
11
|
var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
|
12
12
|
var paragraph = exports.paragraph = (0, _adfSchemaGenerator.adfNode)('paragraph').define({
|
13
|
+
attrs: {
|
14
|
+
localId: {
|
15
|
+
type: 'string',
|
16
|
+
optional: true,
|
17
|
+
default: null
|
18
|
+
}
|
19
|
+
},
|
13
20
|
selectable: false,
|
14
21
|
marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
|
15
22
|
content: [(0, _adfSchemaGenerator.$zeroPlus)((0, _adfSchemaGenerator.$or)(_inlineGroup.inlineGroup))]
|
@@ -70,7 +70,7 @@ var nodesInOrder = [{
|
|
70
70
|
spec: _nodes.doc
|
71
71
|
}, {
|
72
72
|
name: 'paragraph',
|
73
|
-
spec:
|
73
|
+
spec: _nodes.paragraph
|
74
74
|
}, {
|
75
75
|
name: 'text',
|
76
76
|
spec: _nodes.text
|
@@ -85,7 +85,7 @@ var nodesInOrder = [{
|
|
85
85
|
spec: _nodes.listItemWithTask
|
86
86
|
}, {
|
87
87
|
name: 'heading',
|
88
|
-
spec:
|
88
|
+
spec: _nodes.heading
|
89
89
|
}, {
|
90
90
|
name: 'blockquote',
|
91
91
|
spec: _nodes.blockquoteWithList
|
@@ -25,9 +25,7 @@ var getSchemaBasedOnStage = exports.getSchemaBasedOnStage = (0, _memoizeOne.defa
|
|
25
25
|
defaultSchemaConfig.customNodeSpecs = {
|
26
26
|
layoutSection: _nodes.layoutSectionWithSingleColumn,
|
27
27
|
multiBodiedExtension: _nodes.multiBodiedExtension,
|
28
|
-
extensionFrame: _nodes.extensionFrame
|
29
|
-
heading: (0, _nodes.headingNodeSpec)('stage0'),
|
30
|
-
paragraph: (0, _nodes.paragraphNodeSpec)('stage0')
|
28
|
+
extensionFrame: _nodes.extensionFrame
|
31
29
|
};
|
32
30
|
}
|
33
31
|
return (0, _createSchema.createSchema)(defaultSchemaConfig);
|
package/dist/cjs/schema/index.js
CHANGED
@@ -309,18 +309,6 @@ Object.defineProperty(exports, "heading", {
|
|
309
309
|
return _nodes.heading;
|
310
310
|
}
|
311
311
|
});
|
312
|
-
Object.defineProperty(exports, "headingNodeSpec", {
|
313
|
-
enumerable: true,
|
314
|
-
get: function get() {
|
315
|
-
return _nodes.headingNodeSpec;
|
316
|
-
}
|
317
|
-
});
|
318
|
-
Object.defineProperty(exports, "headingStage0", {
|
319
|
-
enumerable: true,
|
320
|
-
get: function get() {
|
321
|
-
return _nodes.headingStage0;
|
322
|
-
}
|
323
|
-
});
|
324
312
|
Object.defineProperty(exports, "image", {
|
325
313
|
enumerable: true,
|
326
314
|
get: function get() {
|
@@ -507,18 +495,6 @@ Object.defineProperty(exports, "paragraph", {
|
|
507
495
|
return _nodes.paragraph;
|
508
496
|
}
|
509
497
|
});
|
510
|
-
Object.defineProperty(exports, "paragraphNodeSpec", {
|
511
|
-
enumerable: true,
|
512
|
-
get: function get() {
|
513
|
-
return _nodes.paragraphNodeSpec;
|
514
|
-
}
|
515
|
-
});
|
516
|
-
Object.defineProperty(exports, "paragraphStage0", {
|
517
|
-
enumerable: true,
|
518
|
-
get: function get() {
|
519
|
-
return _nodes.paragraphStage0;
|
520
|
-
}
|
521
|
-
});
|
522
498
|
Object.defineProperty(exports, "placeholder", {
|
523
499
|
enumerable: true,
|
524
500
|
get: function get() {
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.
|
6
|
+
exports.heading = void 0;
|
7
7
|
/**
|
8
8
|
* @name heading_node
|
9
9
|
*/
|
@@ -30,7 +30,7 @@ var getAttrs = function getAttrs(level) {
|
|
30
30
|
};
|
31
31
|
};
|
32
32
|
};
|
33
|
-
var
|
33
|
+
var heading = exports.heading = {
|
34
34
|
attrs: {
|
35
35
|
level: {
|
36
36
|
default: 1
|
@@ -72,53 +72,4 @@ var headingStage0 = exports.headingStage0 = {
|
|
72
72
|
}] : [];
|
73
73
|
return [name].concat(attrs, [0]);
|
74
74
|
}
|
75
|
-
};
|
76
|
-
var heading = exports.heading = {
|
77
|
-
attrs: {
|
78
|
-
level: {
|
79
|
-
default: 1
|
80
|
-
}
|
81
|
-
},
|
82
|
-
content: "inline*",
|
83
|
-
group: 'block',
|
84
|
-
defining: true,
|
85
|
-
selectable: false,
|
86
|
-
parseDOM: [{
|
87
|
-
tag: 'h1',
|
88
|
-
attrs: {
|
89
|
-
level: 1
|
90
|
-
}
|
91
|
-
}, {
|
92
|
-
tag: 'h2',
|
93
|
-
attrs: {
|
94
|
-
level: 2
|
95
|
-
}
|
96
|
-
}, {
|
97
|
-
tag: 'h3',
|
98
|
-
attrs: {
|
99
|
-
level: 3
|
100
|
-
}
|
101
|
-
}, {
|
102
|
-
tag: 'h4',
|
103
|
-
attrs: {
|
104
|
-
level: 4
|
105
|
-
}
|
106
|
-
}, {
|
107
|
-
tag: 'h5',
|
108
|
-
attrs: {
|
109
|
-
level: 5
|
110
|
-
}
|
111
|
-
}, {
|
112
|
-
tag: 'h6',
|
113
|
-
attrs: {
|
114
|
-
level: 6
|
115
|
-
}
|
116
|
-
}],
|
117
|
-
toDOM: function toDOM(node) {
|
118
|
-
return ['h' + node.attrs['level'], 0];
|
119
|
-
}
|
120
|
-
};
|
121
|
-
var headingNodeSpec = exports.headingNodeSpec = function headingNodeSpec() {
|
122
|
-
var adfStage = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'full';
|
123
|
-
return adfStage === 'stage0' ? headingStage0 : heading;
|
124
75
|
};
|
@@ -184,18 +184,6 @@ Object.defineProperty(exports, "heading", {
|
|
184
184
|
return _heading.heading;
|
185
185
|
}
|
186
186
|
});
|
187
|
-
Object.defineProperty(exports, "headingNodeSpec", {
|
188
|
-
enumerable: true,
|
189
|
-
get: function get() {
|
190
|
-
return _heading.headingNodeSpec;
|
191
|
-
}
|
192
|
-
});
|
193
|
-
Object.defineProperty(exports, "headingStage0", {
|
194
|
-
enumerable: true,
|
195
|
-
get: function get() {
|
196
|
-
return _heading.headingStage0;
|
197
|
-
}
|
198
|
-
});
|
199
187
|
Object.defineProperty(exports, "image", {
|
200
188
|
enumerable: true,
|
201
189
|
get: function get() {
|
@@ -358,18 +346,6 @@ Object.defineProperty(exports, "paragraph", {
|
|
358
346
|
return _paragraph.paragraph;
|
359
347
|
}
|
360
348
|
});
|
361
|
-
Object.defineProperty(exports, "paragraphNodeSpec", {
|
362
|
-
enumerable: true,
|
363
|
-
get: function get() {
|
364
|
-
return _paragraph.paragraphNodeSpec;
|
365
|
-
}
|
366
|
-
});
|
367
|
-
Object.defineProperty(exports, "paragraphStage0", {
|
368
|
-
enumerable: true,
|
369
|
-
get: function get() {
|
370
|
-
return _paragraph.paragraphStage0;
|
371
|
-
}
|
372
|
-
});
|
373
349
|
Object.defineProperty(exports, "placeholder", {
|
374
350
|
enumerable: true,
|
375
351
|
get: function get() {
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.
|
6
|
+
exports.paragraph = void 0;
|
7
7
|
/**
|
8
8
|
* @name paragraph_node
|
9
9
|
*/
|
@@ -29,7 +29,7 @@ exports.paragraphStage0 = exports.paragraphNodeSpec = exports.paragraph = void 0
|
|
29
29
|
* @name paragraph_with_indentation_node
|
30
30
|
*/
|
31
31
|
|
32
|
-
var
|
32
|
+
var paragraph = exports.paragraph = {
|
33
33
|
selectable: false,
|
34
34
|
content: 'inline*',
|
35
35
|
group: 'block',
|
@@ -58,20 +58,4 @@ var paragraphStage0 = exports.paragraphStage0 = {
|
|
58
58
|
}] : [];
|
59
59
|
return [name].concat(attrs, [0]);
|
60
60
|
}
|
61
|
-
};
|
62
|
-
var paragraph = exports.paragraph = {
|
63
|
-
selectable: false,
|
64
|
-
content: 'inline*',
|
65
|
-
group: 'block',
|
66
|
-
marks: 'strong code em link border strike subsup textColor backgroundColor typeAheadQuery underline confluenceInlineComment annotation unsupportedMark unsupportedNodeAttribute dataConsumer fragment',
|
67
|
-
parseDOM: [{
|
68
|
-
tag: 'p'
|
69
|
-
}],
|
70
|
-
toDOM: function toDOM() {
|
71
|
-
return ['p', 0];
|
72
|
-
}
|
73
|
-
};
|
74
|
-
var paragraphNodeSpec = exports.paragraphNodeSpec = function paragraphNodeSpec() {
|
75
|
-
var adfStage = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'full';
|
76
|
-
return adfStage === 'stage0' ? paragraphStage0 : paragraph;
|
77
61
|
};
|
package/dist/es2019/index.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockquote, blockquoteWithList, bodiedExtension, breakout, bulletList, bulletListSelector, caption, code, codeBlock, codeBlockToJSON, colorPalette, /** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
|
2
|
-
colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, emoji, expand, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading,
|
2
|
+
colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, emoji, expand, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineExtension, inlineNodes, layoutColumn, layoutSection, link, linkToJSON, listItem, listItemWithTask, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleSpec, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, orderedList, orderedListSelector, orderedListWithOrder, panel, extendedPanel, paragraph, placeholder, rule, sanitizeNodes, getCellAttrs, getCellDomAttrs, status, strike, strong, subsup, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, taskList, taskListSelector, text, textColor, toJSONTableCell, toJSONTableHeader, typeAheadQuery, underline, unknownBlock, unsupportedBlock, unsupportedInline, unsupportedNodeTypesForMediaCards, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute, border, borderColorPalette, extensionFrame, multiBodiedExtension, backgroundColor, backgroundColorPalette } from './schema';
|
3
3
|
export { B100, B400, B50, B500, B75, G200, G300, G400, G50, G500, G75, N0, N20, N200, N30, N300, N40, N50, N500, N60, N80, N800, N90, P100, P300, P400, P50, P500, P75, R100, R300, R400, R50, R500, R75, T100, T300, T50, T500, T75, Y200, Y400, Y50, Y500, Y75, acNameToEmoji, acShortcutToEmoji, emojiIdToAcName, generateUuid, getEmojiAcName, getLinkMatch, hexToRgb, hexToRgba, isHex, isRgb, isSafeUrl, linkify, linkifyMatch, normalizeHexColor, normalizeUrl, rgbToHex, uuid, getDarkModeLCHColor } from './utils';
|
@@ -5,60 +5,12 @@
|
|
5
5
|
*/
|
6
6
|
|
7
7
|
import { createPMMarkSpecFactory } from '@atlaskit/adf-schema-generator';
|
8
|
-
export const
|
9
|
-
attrs: {
|
10
|
-
unsupported: {},
|
11
|
-
type: {}
|
12
|
-
}
|
13
|
-
});
|
14
|
-
export const unsupportedMark = createPMMarkSpecFactory({
|
15
|
-
attrs: {
|
16
|
-
originalValue: {}
|
17
|
-
},
|
18
|
-
excludes: ''
|
19
|
-
});
|
20
|
-
export const link = createPMMarkSpecFactory({
|
21
|
-
attrs: {
|
22
|
-
href: {},
|
23
|
-
__confluenceMetadata: {
|
24
|
-
default: null
|
25
|
-
}
|
26
|
-
},
|
27
|
-
inclusive: false,
|
28
|
-
excludes: 'link',
|
29
|
-
group: 'link'
|
30
|
-
});
|
31
|
-
export const em = createPMMarkSpecFactory({
|
32
|
-
inclusive: true,
|
33
|
-
group: 'fontStyle'
|
34
|
-
});
|
35
|
-
export const strong = createPMMarkSpecFactory({
|
36
|
-
inclusive: true,
|
37
|
-
group: 'fontStyle'
|
38
|
-
});
|
39
|
-
export const strike = createPMMarkSpecFactory({
|
40
|
-
inclusive: true,
|
41
|
-
group: 'fontStyle'
|
42
|
-
});
|
43
|
-
export const subsup = createPMMarkSpecFactory({
|
44
|
-
attrs: {
|
45
|
-
type: {
|
46
|
-
default: 'sub'
|
47
|
-
}
|
48
|
-
},
|
49
|
-
inclusive: true,
|
50
|
-
group: 'fontStyle'
|
51
|
-
});
|
52
|
-
export const underline = createPMMarkSpecFactory({
|
53
|
-
inclusive: true,
|
54
|
-
group: 'fontStyle'
|
55
|
-
});
|
56
|
-
export const textColor = createPMMarkSpecFactory({
|
8
|
+
export const alignment = createPMMarkSpecFactory({
|
57
9
|
attrs: {
|
58
|
-
|
10
|
+
align: {}
|
59
11
|
},
|
60
|
-
|
61
|
-
group: '
|
12
|
+
excludes: 'alignment indentation',
|
13
|
+
group: 'alignment'
|
62
14
|
});
|
63
15
|
export const annotation = createPMMarkSpecFactory({
|
64
16
|
attrs: {
|
@@ -81,14 +33,25 @@ export const backgroundColor = createPMMarkSpecFactory({
|
|
81
33
|
excludes: 'color',
|
82
34
|
group: 'color'
|
83
35
|
});
|
84
|
-
export const
|
36
|
+
export const border = createPMMarkSpecFactory({
|
85
37
|
attrs: {
|
86
|
-
|
87
|
-
|
38
|
+
size: {},
|
39
|
+
color: {}
|
40
|
+
},
|
41
|
+
inclusive: false
|
42
|
+
});
|
43
|
+
export const breakout = createPMMarkSpecFactory({
|
44
|
+
attrs: {
|
45
|
+
mode: {
|
46
|
+
default: 'wide'
|
88
47
|
}
|
89
48
|
},
|
49
|
+
inclusive: false,
|
50
|
+
spanning: false
|
51
|
+
});
|
52
|
+
export const code = createPMMarkSpecFactory({
|
90
53
|
inclusive: true,
|
91
|
-
|
54
|
+
excludes: 'fontStyle link searchQuery color'
|
92
55
|
});
|
93
56
|
export const confluenceInlineComment = createPMMarkSpecFactory({
|
94
57
|
attrs: {
|
@@ -99,10 +62,6 @@ export const confluenceInlineComment = createPMMarkSpecFactory({
|
|
99
62
|
inclusive: false,
|
100
63
|
excludes: ''
|
101
64
|
});
|
102
|
-
export const code = createPMMarkSpecFactory({
|
103
|
-
inclusive: true,
|
104
|
-
excludes: 'fontStyle link searchQuery color'
|
105
|
-
});
|
106
65
|
export const dataConsumer = createPMMarkSpecFactory({
|
107
66
|
attrs: {
|
108
67
|
sources: {
|
@@ -110,6 +69,10 @@ export const dataConsumer = createPMMarkSpecFactory({
|
|
110
69
|
}
|
111
70
|
}
|
112
71
|
});
|
72
|
+
export const em = createPMMarkSpecFactory({
|
73
|
+
inclusive: true,
|
74
|
+
group: 'fontStyle'
|
75
|
+
});
|
113
76
|
export const fragment = createPMMarkSpecFactory({
|
114
77
|
attrs: {
|
115
78
|
localId: {
|
@@ -122,33 +85,70 @@ export const fragment = createPMMarkSpecFactory({
|
|
122
85
|
inclusive: false,
|
123
86
|
excludes: ''
|
124
87
|
});
|
125
|
-
export const
|
88
|
+
export const indentation = createPMMarkSpecFactory({
|
126
89
|
attrs: {
|
127
|
-
|
128
|
-
color: {}
|
90
|
+
level: {}
|
129
91
|
},
|
130
|
-
|
92
|
+
excludes: 'indentation alignment',
|
93
|
+
group: 'indentation'
|
131
94
|
});
|
132
|
-
export const
|
95
|
+
export const link = createPMMarkSpecFactory({
|
133
96
|
attrs: {
|
134
|
-
|
97
|
+
href: {},
|
98
|
+
__confluenceMetadata: {
|
99
|
+
default: null
|
100
|
+
}
|
135
101
|
},
|
136
|
-
|
137
|
-
|
102
|
+
inclusive: false,
|
103
|
+
excludes: 'link',
|
104
|
+
group: 'link'
|
138
105
|
});
|
139
|
-
export const
|
106
|
+
export const strike = createPMMarkSpecFactory({
|
107
|
+
inclusive: true,
|
108
|
+
group: 'fontStyle'
|
109
|
+
});
|
110
|
+
export const strong = createPMMarkSpecFactory({
|
111
|
+
inclusive: true,
|
112
|
+
group: 'fontStyle'
|
113
|
+
});
|
114
|
+
export const subsup = createPMMarkSpecFactory({
|
140
115
|
attrs: {
|
141
|
-
|
116
|
+
type: {
|
117
|
+
default: 'sub'
|
118
|
+
}
|
142
119
|
},
|
143
|
-
|
144
|
-
group: '
|
120
|
+
inclusive: true,
|
121
|
+
group: 'fontStyle'
|
145
122
|
});
|
146
|
-
export const
|
123
|
+
export const textColor = createPMMarkSpecFactory({
|
147
124
|
attrs: {
|
148
|
-
|
149
|
-
|
125
|
+
color: {}
|
126
|
+
},
|
127
|
+
inclusive: true,
|
128
|
+
group: 'color'
|
129
|
+
});
|
130
|
+
export const typeAheadQuery = createPMMarkSpecFactory({
|
131
|
+
attrs: {
|
132
|
+
trigger: {
|
133
|
+
default: ''
|
150
134
|
}
|
151
135
|
},
|
152
|
-
inclusive:
|
153
|
-
|
136
|
+
inclusive: true,
|
137
|
+
group: 'searchQuery'
|
138
|
+
});
|
139
|
+
export const underline = createPMMarkSpecFactory({
|
140
|
+
inclusive: true,
|
141
|
+
group: 'fontStyle'
|
142
|
+
});
|
143
|
+
export const unsupportedMark = createPMMarkSpecFactory({
|
144
|
+
attrs: {
|
145
|
+
originalValue: {}
|
146
|
+
},
|
147
|
+
excludes: ''
|
148
|
+
});
|
149
|
+
export const unsupportedNodeAttribute = createPMMarkSpecFactory({
|
150
|
+
attrs: {
|
151
|
+
unsupported: {},
|
152
|
+
type: {}
|
153
|
+
}
|
154
154
|
});
|