@atlaskit/adf-schema 37.0.0 → 37.0.2
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/next-schema/generated/markTypes.js +77 -77
- package/dist/cjs/next-schema/generated/nodeTypes.js +555 -555
- package/dist/es2019/next-schema/generated/markTypes.js +77 -77
- package/dist/es2019/next-schema/generated/nodeTypes.js +555 -555
- package/dist/esm/next-schema/generated/markTypes.js +77 -77
- package/dist/esm/next-schema/generated/nodeTypes.js +555 -555
- package/dist/types/next-schema/generated/markTypes.d.ts +122 -122
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +4 -4
- package/dist/types/next-schema/generated/nodeTypes.d.ts +479 -479
- package/package.json +2 -2
@@ -5,34 +5,6 @@
|
|
5
5
|
*/
|
6
6
|
|
7
7
|
import { createPMNodeSpecFactory } from '@atlaskit/adf-schema-generator';
|
8
|
-
export const text = createPMNodeSpecFactory({
|
9
|
-
group: 'inline'
|
10
|
-
});
|
11
|
-
export const unsupportedInline = createPMNodeSpecFactory({
|
12
|
-
group: 'inline',
|
13
|
-
inline: true,
|
14
|
-
attrs: {
|
15
|
-
originalValue: {
|
16
|
-
default: {}
|
17
|
-
}
|
18
|
-
},
|
19
|
-
selectable: true
|
20
|
-
});
|
21
|
-
export const codeBlockWithNoMarks = createPMNodeSpecFactory({
|
22
|
-
content: '(text | unsupportedInline)*',
|
23
|
-
marks: 'unsupportedMark unsupportedNodeAttribute',
|
24
|
-
group: 'block',
|
25
|
-
attrs: {
|
26
|
-
language: {
|
27
|
-
default: null
|
28
|
-
},
|
29
|
-
uniqueId: {
|
30
|
-
default: null
|
31
|
-
}
|
32
|
-
},
|
33
|
-
code: true,
|
34
|
-
defining: true
|
35
|
-
});
|
36
8
|
export const blockCard = createPMNodeSpecFactory({
|
37
9
|
group: 'block',
|
38
10
|
attrs: {
|
@@ -55,112 +27,48 @@ export const blockCard = createPMNodeSpecFactory({
|
|
55
27
|
selectable: true,
|
56
28
|
draggable: true
|
57
29
|
});
|
58
|
-
export const
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
group: 'inline'
|
30
|
+
export const blockquote = createPMNodeSpecFactory({
|
31
|
+
content: '(paragraph | bulletList | orderedList | unsupportedBlock)+',
|
32
|
+
selectable: false,
|
33
|
+
defining: true
|
63
34
|
});
|
64
|
-
export const
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
default: ''
|
70
|
-
}
|
71
|
-
},
|
72
|
-
selectable: true
|
35
|
+
export const blockquoteWithList = createPMNodeSpecFactory({
|
36
|
+
content: '(paragraph | orderedList | bulletList | unsupportedBlock)+',
|
37
|
+
group: 'block',
|
38
|
+
selectable: false,
|
39
|
+
defining: true
|
73
40
|
});
|
74
|
-
export const
|
75
|
-
|
76
|
-
|
41
|
+
export const bodiedExtension = createPMNodeSpecFactory({
|
42
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table | unsupportedBlock)+',
|
43
|
+
marks: 'dataConsumer fragment',
|
77
44
|
attrs: {
|
78
|
-
|
79
|
-
default: ''
|
80
|
-
},
|
81
|
-
id: {
|
82
|
-
default: ''
|
83
|
-
},
|
84
|
-
text: {
|
45
|
+
extensionKey: {
|
85
46
|
default: ''
|
86
|
-
}
|
87
|
-
},
|
88
|
-
selectable: true
|
89
|
-
});
|
90
|
-
export const hardBreak = createPMNodeSpecFactory({
|
91
|
-
group: 'inline',
|
92
|
-
inline: true,
|
93
|
-
selectable: false
|
94
|
-
});
|
95
|
-
export const inlineCard = createPMNodeSpecFactory({
|
96
|
-
group: 'inline',
|
97
|
-
inline: true,
|
98
|
-
attrs: {
|
99
|
-
url: {
|
100
|
-
default: null
|
101
47
|
},
|
102
|
-
|
103
|
-
default: null
|
104
|
-
}
|
105
|
-
},
|
106
|
-
selectable: true,
|
107
|
-
draggable: true
|
108
|
-
});
|
109
|
-
export const mention = createPMNodeSpecFactory({
|
110
|
-
group: 'inline',
|
111
|
-
inline: true,
|
112
|
-
attrs: {
|
113
|
-
id: {
|
48
|
+
extensionType: {
|
114
49
|
default: ''
|
115
50
|
},
|
116
|
-
|
51
|
+
parameters: {
|
117
52
|
default: null
|
118
53
|
},
|
119
54
|
text: {
|
120
|
-
default: ''
|
121
|
-
},
|
122
|
-
accessLevel: {
|
123
|
-
default: ''
|
124
|
-
},
|
125
|
-
userType: {
|
126
55
|
default: null
|
127
|
-
}
|
128
|
-
},
|
129
|
-
selectable: true
|
130
|
-
});
|
131
|
-
export const placeholder = createPMNodeSpecFactory({
|
132
|
-
marks: '',
|
133
|
-
group: 'inline',
|
134
|
-
inline: true,
|
135
|
-
attrs: {
|
136
|
-
text: {
|
137
|
-
default: ''
|
138
|
-
}
|
139
|
-
},
|
140
|
-
selectable: false
|
141
|
-
});
|
142
|
-
export const status = createPMNodeSpecFactory({
|
143
|
-
group: 'inline',
|
144
|
-
inline: true,
|
145
|
-
attrs: {
|
146
|
-
text: {
|
147
|
-
default: ''
|
148
56
|
},
|
149
|
-
|
150
|
-
default: ''
|
57
|
+
layout: {
|
58
|
+
default: 'default'
|
151
59
|
},
|
152
60
|
localId: {
|
153
|
-
default:
|
154
|
-
},
|
155
|
-
style: {
|
156
|
-
default: ''
|
61
|
+
default: null
|
157
62
|
}
|
158
63
|
},
|
159
|
-
selectable: true
|
64
|
+
selectable: true,
|
65
|
+
defining: true,
|
66
|
+
isolating: true
|
160
67
|
});
|
161
|
-
export const
|
162
|
-
|
163
|
-
|
68
|
+
export const bodiedExtensionWithMarks = createPMNodeSpecFactory({
|
69
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table | unsupportedBlock)+',
|
70
|
+
marks: 'dataConsumer fragment',
|
71
|
+
group: 'block',
|
164
72
|
attrs: {
|
165
73
|
extensionKey: {
|
166
74
|
default: ''
|
@@ -174,79 +82,57 @@ export const inlineExtensionWithMarks = createPMNodeSpecFactory({
|
|
174
82
|
text: {
|
175
83
|
default: null
|
176
84
|
},
|
85
|
+
layout: {
|
86
|
+
default: 'default'
|
87
|
+
},
|
177
88
|
localId: {
|
178
89
|
default: null
|
179
90
|
}
|
180
91
|
},
|
181
|
-
selectable: true
|
92
|
+
selectable: true,
|
93
|
+
defining: true,
|
94
|
+
isolating: true
|
182
95
|
});
|
183
|
-
export const
|
184
|
-
|
185
|
-
|
96
|
+
export const bulletList = createPMNodeSpecFactory({
|
97
|
+
content: 'listItem+',
|
98
|
+
marks: 'unsupportedNodeAttribute unsupportedMark',
|
99
|
+
group: 'block',
|
100
|
+
selectable: false
|
101
|
+
});
|
102
|
+
export const caption = createPMNodeSpecFactory({
|
103
|
+
content: '(hardBreak | mention | emoji | date | placeholder | inlineCard | status | text | unsupportedInline)*',
|
104
|
+
marks: '_',
|
105
|
+
selectable: false,
|
106
|
+
isolating: true
|
107
|
+
});
|
108
|
+
export const codeBlock = createPMNodeSpecFactory({
|
109
|
+
content: '(text | unsupportedInline)*',
|
110
|
+
marks: 'unsupportedMark unsupportedNodeAttribute',
|
186
111
|
attrs: {
|
187
|
-
|
188
|
-
default: 'file'
|
189
|
-
},
|
190
|
-
url: {
|
191
|
-
default: null
|
192
|
-
},
|
193
|
-
id: {
|
194
|
-
default: ''
|
195
|
-
},
|
196
|
-
alt: {
|
197
|
-
default: ''
|
198
|
-
},
|
199
|
-
collection: {
|
200
|
-
default: ''
|
201
|
-
},
|
202
|
-
occurrenceKey: {
|
203
|
-
default: null
|
204
|
-
},
|
205
|
-
width: {
|
206
|
-
default: null
|
207
|
-
},
|
208
|
-
height: {
|
209
|
-
default: null
|
210
|
-
},
|
211
|
-
__fileName: {
|
212
|
-
default: null
|
213
|
-
},
|
214
|
-
__fileSize: {
|
215
|
-
default: null
|
216
|
-
},
|
217
|
-
__fileMimeType: {
|
218
|
-
default: null
|
219
|
-
},
|
220
|
-
__displayType: {
|
221
|
-
default: null
|
222
|
-
},
|
223
|
-
__contextId: {
|
112
|
+
language: {
|
224
113
|
default: null
|
225
114
|
},
|
226
|
-
|
115
|
+
uniqueId: {
|
227
116
|
default: null
|
228
|
-
},
|
229
|
-
__external: {
|
230
|
-
default: false
|
231
117
|
}
|
232
118
|
},
|
233
|
-
|
119
|
+
code: true,
|
120
|
+
defining: true
|
234
121
|
});
|
235
|
-
export const
|
236
|
-
|
237
|
-
|
122
|
+
export const codeBlockWithNoMarks = createPMNodeSpecFactory({
|
123
|
+
content: '(text | unsupportedInline)*',
|
124
|
+
marks: 'unsupportedMark unsupportedNodeAttribute',
|
125
|
+
group: 'block',
|
238
126
|
attrs: {
|
239
|
-
|
240
|
-
default:
|
241
|
-
},
|
242
|
-
alt: {
|
243
|
-
default: ''
|
127
|
+
language: {
|
128
|
+
default: null
|
244
129
|
},
|
245
|
-
|
130
|
+
uniqueId: {
|
246
131
|
default: null
|
247
132
|
}
|
248
133
|
},
|
249
|
-
|
134
|
+
code: true,
|
135
|
+
defining: true
|
250
136
|
});
|
251
137
|
export const confluenceJiraIssue = createPMNodeSpecFactory({
|
252
138
|
group: 'inline',
|
@@ -270,6 +156,14 @@ export const confluenceJiraIssue = createPMNodeSpecFactory({
|
|
270
156
|
}
|
271
157
|
}
|
272
158
|
});
|
159
|
+
export const confluenceUnsupportedBlock = createPMNodeSpecFactory({
|
160
|
+
group: 'block',
|
161
|
+
attrs: {
|
162
|
+
cxhtml: {
|
163
|
+
default: null
|
164
|
+
}
|
165
|
+
}
|
166
|
+
});
|
273
167
|
export const confluenceUnsupportedInline = createPMNodeSpecFactory({
|
274
168
|
group: 'inline',
|
275
169
|
inline: true,
|
@@ -280,167 +174,201 @@ export const confluenceUnsupportedInline = createPMNodeSpecFactory({
|
|
280
174
|
}
|
281
175
|
}
|
282
176
|
});
|
283
|
-
export const
|
284
|
-
|
285
|
-
|
177
|
+
export const date = createPMNodeSpecFactory({
|
178
|
+
group: 'inline',
|
179
|
+
inline: true,
|
286
180
|
attrs: {
|
287
|
-
|
288
|
-
default:
|
181
|
+
timestamp: {
|
182
|
+
default: ''
|
289
183
|
}
|
290
184
|
},
|
291
|
-
selectable:
|
185
|
+
selectable: true
|
292
186
|
});
|
293
|
-
export const
|
187
|
+
export const decisionItem = createPMNodeSpecFactory({
|
188
|
+
content: 'inline*',
|
189
|
+
marks: '_',
|
294
190
|
attrs: {
|
295
|
-
|
296
|
-
default: 'file'
|
297
|
-
},
|
298
|
-
id: {
|
191
|
+
localId: {
|
299
192
|
default: ''
|
300
193
|
},
|
301
|
-
|
194
|
+
state: {
|
195
|
+
default: 'DECIDED'
|
196
|
+
}
|
197
|
+
},
|
198
|
+
defining: true
|
199
|
+
});
|
200
|
+
export const decisionList = createPMNodeSpecFactory({
|
201
|
+
content: '(decisionItem | unsupportedBlock)+',
|
202
|
+
marks: 'unsupportedNodeAttribute unsupportedMark',
|
203
|
+
group: 'block',
|
204
|
+
attrs: {
|
205
|
+
localId: {
|
302
206
|
default: ''
|
303
|
-
}
|
304
|
-
|
207
|
+
}
|
208
|
+
},
|
209
|
+
selectable: false,
|
210
|
+
defining: true
|
211
|
+
});
|
212
|
+
export const doc = createPMNodeSpecFactory({
|
213
|
+
content: '(block | layoutSection | blockRootOnly)+',
|
214
|
+
marks: 'unsupportedNodeAttribute unsupportedMark alignment indentation fragment dataConsumer breakout'
|
215
|
+
});
|
216
|
+
export const embedCard = createPMNodeSpecFactory({
|
217
|
+
group: 'block',
|
218
|
+
attrs: {
|
219
|
+
url: {
|
305
220
|
default: ''
|
306
221
|
},
|
307
|
-
|
308
|
-
default:
|
309
|
-
},
|
310
|
-
occurrenceKey: {
|
311
|
-
default: null
|
222
|
+
layout: {
|
223
|
+
default: 'center'
|
312
224
|
},
|
313
225
|
width: {
|
314
|
-
default:
|
315
|
-
},
|
316
|
-
__contextId: {
|
317
|
-
default: null
|
318
|
-
},
|
319
|
-
__displayType: {
|
320
|
-
default: null
|
321
|
-
},
|
322
|
-
__external: {
|
323
|
-
default: false
|
324
|
-
},
|
325
|
-
__fileMimeType: {
|
326
|
-
default: null
|
226
|
+
default: 100
|
327
227
|
},
|
328
|
-
|
228
|
+
originalHeight: {
|
329
229
|
default: null
|
330
230
|
},
|
331
|
-
|
231
|
+
originalWidth: {
|
332
232
|
default: null
|
233
|
+
}
|
234
|
+
},
|
235
|
+
selectable: true
|
236
|
+
});
|
237
|
+
export const emoji = createPMNodeSpecFactory({
|
238
|
+
group: 'inline',
|
239
|
+
inline: true,
|
240
|
+
attrs: {
|
241
|
+
shortName: {
|
242
|
+
default: ''
|
333
243
|
},
|
334
|
-
|
335
|
-
default:
|
244
|
+
id: {
|
245
|
+
default: ''
|
336
246
|
},
|
337
|
-
|
338
|
-
default:
|
247
|
+
text: {
|
248
|
+
default: ''
|
339
249
|
}
|
340
250
|
},
|
341
251
|
selectable: true
|
342
252
|
});
|
343
|
-
export const
|
253
|
+
export const expandWithNoMark = createPMNodeSpecFactory({
|
254
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table | unsupportedBlock)+',
|
255
|
+
marks: 'unsupportedNodeAttribute unsupportedMark dataConsumer fragment',
|
344
256
|
group: 'block',
|
345
|
-
atom: true,
|
346
257
|
attrs: {
|
347
|
-
|
348
|
-
default:
|
258
|
+
title: {
|
259
|
+
default: ''
|
260
|
+
},
|
261
|
+
__expanded: {
|
262
|
+
default: true
|
349
263
|
}
|
350
264
|
},
|
351
|
-
selectable: true
|
352
|
-
});
|
353
|
-
export const caption = createPMNodeSpecFactory({
|
354
|
-
content: '(hardBreak | mention | emoji | date | placeholder | inlineCard | status | text | unsupportedInline)*',
|
355
|
-
marks: '_',
|
356
|
-
selectable: false,
|
265
|
+
selectable: true,
|
357
266
|
isolating: true
|
358
267
|
});
|
359
|
-
export const
|
360
|
-
|
361
|
-
marks: 'link annotation border unsupportedNodeAttribute unsupportedMark',
|
362
|
-
group: 'block',
|
363
|
-
atom: false,
|
268
|
+
export const extension = createPMNodeSpecFactory({
|
269
|
+
atom: true,
|
364
270
|
attrs: {
|
365
|
-
|
271
|
+
extensionKey: {
|
272
|
+
default: ''
|
273
|
+
},
|
274
|
+
extensionType: {
|
275
|
+
default: ''
|
276
|
+
},
|
277
|
+
parameters: {
|
278
|
+
default: null
|
279
|
+
},
|
280
|
+
text: {
|
366
281
|
default: null
|
367
282
|
},
|
368
283
|
layout: {
|
369
|
-
default: '
|
284
|
+
default: 'default'
|
370
285
|
},
|
371
|
-
|
286
|
+
localId: {
|
372
287
|
default: null
|
373
288
|
}
|
374
289
|
},
|
375
290
|
selectable: true
|
376
291
|
});
|
377
|
-
export const
|
378
|
-
content: 'media',
|
379
|
-
marks: 'link annotation border unsupportedNodeAttribute unsupportedMark',
|
292
|
+
export const extensionWithMarks = createPMNodeSpecFactory({
|
380
293
|
group: 'block',
|
381
|
-
atom:
|
294
|
+
atom: true,
|
382
295
|
attrs: {
|
383
|
-
|
296
|
+
extensionKey: {
|
297
|
+
default: ''
|
298
|
+
},
|
299
|
+
extensionType: {
|
300
|
+
default: ''
|
301
|
+
},
|
302
|
+
parameters: {
|
303
|
+
default: null
|
304
|
+
},
|
305
|
+
text: {
|
384
306
|
default: null
|
385
307
|
},
|
386
308
|
layout: {
|
387
|
-
default: '
|
309
|
+
default: 'default'
|
388
310
|
},
|
389
|
-
|
311
|
+
localId: {
|
390
312
|
default: null
|
391
313
|
}
|
392
314
|
},
|
393
315
|
selectable: true
|
394
316
|
});
|
395
|
-
export const
|
317
|
+
export const extensionFrame = createPMNodeSpecFactory({
|
318
|
+
content: '(bodiedExtension | panel | paragraph | blockquote | orderedList | bulletList | rule | heading | codeBlock | mediaGroup | mediaSingle | decisionList | taskList | table | extension | blockCard | embedCard | unsupportedBlock)+',
|
319
|
+
marks: 'dataConsumer fragment',
|
320
|
+
attrs: {},
|
321
|
+
selectable: false,
|
322
|
+
definingAsContext: false,
|
323
|
+
definingForContent: true,
|
324
|
+
isolating: true
|
325
|
+
});
|
326
|
+
export const hardBreak = createPMNodeSpecFactory({
|
327
|
+
group: 'inline',
|
328
|
+
inline: true,
|
329
|
+
selectable: false
|
330
|
+
});
|
331
|
+
export const heading = createPMNodeSpecFactory({
|
396
332
|
content: 'inline*',
|
397
|
-
marks: '_',
|
398
333
|
attrs: {
|
399
|
-
|
400
|
-
default:
|
334
|
+
level: {
|
335
|
+
default: 1
|
401
336
|
},
|
402
|
-
|
403
|
-
default:
|
337
|
+
localId: {
|
338
|
+
default: null
|
404
339
|
}
|
405
340
|
},
|
406
341
|
selectable: false,
|
407
342
|
defining: true
|
408
343
|
});
|
409
|
-
export const
|
410
|
-
content: '
|
411
|
-
marks: 'unsupportedNodeAttribute unsupportedMark',
|
344
|
+
export const headingWithAlignment = createPMNodeSpecFactory({
|
345
|
+
content: 'inline*',
|
412
346
|
group: 'block',
|
413
347
|
attrs: {
|
348
|
+
level: {
|
349
|
+
default: 1
|
350
|
+
},
|
414
351
|
localId: {
|
415
|
-
default:
|
352
|
+
default: null
|
416
353
|
}
|
417
354
|
},
|
418
355
|
selectable: false,
|
419
356
|
defining: true
|
420
357
|
});
|
421
|
-
export const
|
422
|
-
content: '
|
423
|
-
marks: 'unsupportedNodeAttribute unsupportedMark',
|
358
|
+
export const headingWithIndentation = createPMNodeSpecFactory({
|
359
|
+
content: 'inline*',
|
424
360
|
group: 'block',
|
425
361
|
attrs: {
|
426
|
-
|
362
|
+
level: {
|
427
363
|
default: 1
|
364
|
+
},
|
365
|
+
localId: {
|
366
|
+
default: null
|
428
367
|
}
|
429
368
|
},
|
430
|
-
selectable: false
|
431
|
-
});
|
432
|
-
export const listItem = createPMNodeSpecFactory({
|
433
|
-
content: '(codeBlock | paragraph | mediaSingle | unsupportedBlock) (codeBlock | paragraph | mediaSingle | taskList | bulletList | orderedList | unsupportedBlock)*',
|
434
|
-
marks: 'unsupportedNodeAttribute unsupportedMark',
|
435
369
|
selectable: false,
|
436
370
|
defining: true
|
437
371
|
});
|
438
|
-
export const bulletList = createPMNodeSpecFactory({
|
439
|
-
content: 'listItem+',
|
440
|
-
marks: 'unsupportedNodeAttribute unsupportedMark',
|
441
|
-
group: 'block',
|
442
|
-
selectable: false
|
443
|
-
});
|
444
372
|
export const headingWithNoMarks = createPMNodeSpecFactory({
|
445
373
|
content: 'inline*',
|
446
374
|
group: 'block',
|
@@ -455,138 +383,265 @@ export const headingWithNoMarks = createPMNodeSpecFactory({
|
|
455
383
|
selectable: false,
|
456
384
|
defining: true
|
457
385
|
});
|
458
|
-
export const
|
459
|
-
|
460
|
-
|
461
|
-
group: 'block',
|
462
|
-
attrs: {},
|
463
|
-
selectable: false
|
464
|
-
});
|
465
|
-
export const decisionItem = createPMNodeSpecFactory({
|
466
|
-
content: 'inline*',
|
467
|
-
marks: '_',
|
386
|
+
export const image = createPMNodeSpecFactory({
|
387
|
+
group: 'inline',
|
388
|
+
inline: true,
|
468
389
|
attrs: {
|
469
|
-
|
390
|
+
src: {
|
470
391
|
default: ''
|
471
392
|
},
|
472
|
-
|
473
|
-
default: '
|
393
|
+
alt: {
|
394
|
+
default: ''
|
395
|
+
},
|
396
|
+
title: {
|
397
|
+
default: null
|
474
398
|
}
|
475
399
|
},
|
476
|
-
|
400
|
+
draggable: true
|
477
401
|
});
|
478
|
-
export const
|
479
|
-
|
480
|
-
|
481
|
-
group: 'block',
|
402
|
+
export const inlineCard = createPMNodeSpecFactory({
|
403
|
+
group: 'inline',
|
404
|
+
inline: true,
|
482
405
|
attrs: {
|
483
|
-
|
484
|
-
default:
|
406
|
+
url: {
|
407
|
+
default: null
|
408
|
+
},
|
409
|
+
data: {
|
410
|
+
default: null
|
485
411
|
}
|
486
412
|
},
|
487
|
-
selectable:
|
488
|
-
|
489
|
-
});
|
490
|
-
export const rule = createPMNodeSpecFactory({
|
491
|
-
group: 'block'
|
413
|
+
selectable: true,
|
414
|
+
draggable: true
|
492
415
|
});
|
493
|
-
export const
|
494
|
-
|
495
|
-
|
496
|
-
group: 'block',
|
416
|
+
export const inlineExtensionWithMarks = createPMNodeSpecFactory({
|
417
|
+
group: 'inline',
|
418
|
+
inline: true,
|
497
419
|
attrs: {
|
498
|
-
|
499
|
-
default: '
|
420
|
+
extensionKey: {
|
421
|
+
default: ''
|
500
422
|
},
|
501
|
-
|
502
|
-
default:
|
423
|
+
extensionType: {
|
424
|
+
default: ''
|
503
425
|
},
|
504
|
-
|
426
|
+
parameters: {
|
505
427
|
default: null
|
506
428
|
},
|
507
|
-
|
429
|
+
text: {
|
508
430
|
default: null
|
509
431
|
},
|
510
|
-
|
432
|
+
localId: {
|
511
433
|
default: null
|
512
434
|
}
|
513
435
|
},
|
514
436
|
selectable: true
|
515
437
|
});
|
516
|
-
export const
|
517
|
-
content: '
|
518
|
-
marks: '
|
519
|
-
group: 'block',
|
438
|
+
export const layoutColumn = createPMNodeSpecFactory({
|
439
|
+
content: '(block | unsupportedBlock)+',
|
440
|
+
marks: 'unsupportedNodeAttribute unsupportedMark alignment indentation fragment dataConsumer',
|
520
441
|
attrs: {
|
521
|
-
|
442
|
+
width: {}
|
443
|
+
},
|
444
|
+
selectable: false,
|
445
|
+
isolating: true
|
446
|
+
});
|
447
|
+
export const layoutSection = createPMNodeSpecFactory({
|
448
|
+
content: '(layoutColumn | unsupportedBlock){1,3}',
|
449
|
+
marks: 'unsupportedNodeAttribute unsupportedMark',
|
450
|
+
isolating: true
|
451
|
+
});
|
452
|
+
export const listItem = createPMNodeSpecFactory({
|
453
|
+
content: '(codeBlock | paragraph | mediaSingle | unsupportedBlock) (codeBlock | paragraph | mediaSingle | taskList | bulletList | orderedList | unsupportedBlock)*',
|
454
|
+
marks: 'unsupportedNodeAttribute unsupportedMark',
|
455
|
+
selectable: false,
|
456
|
+
defining: true
|
457
|
+
});
|
458
|
+
export const media = createPMNodeSpecFactory({
|
459
|
+
attrs: {
|
460
|
+
type: {
|
461
|
+
default: 'file'
|
462
|
+
},
|
463
|
+
id: {
|
464
|
+
default: ''
|
465
|
+
},
|
466
|
+
alt: {
|
467
|
+
default: ''
|
468
|
+
},
|
469
|
+
collection: {
|
470
|
+
default: ''
|
471
|
+
},
|
472
|
+
height: {
|
473
|
+
default: null
|
474
|
+
},
|
475
|
+
occurrenceKey: {
|
476
|
+
default: null
|
477
|
+
},
|
478
|
+
width: {
|
479
|
+
default: null
|
480
|
+
},
|
481
|
+
__contextId: {
|
482
|
+
default: null
|
483
|
+
},
|
484
|
+
__displayType: {
|
485
|
+
default: null
|
486
|
+
},
|
487
|
+
__external: {
|
488
|
+
default: false
|
489
|
+
},
|
490
|
+
__fileMimeType: {
|
491
|
+
default: null
|
492
|
+
},
|
493
|
+
__fileName: {
|
494
|
+
default: null
|
495
|
+
},
|
496
|
+
__fileSize: {
|
497
|
+
default: null
|
498
|
+
},
|
499
|
+
__mediaTraceId: {
|
500
|
+
default: null
|
501
|
+
},
|
502
|
+
url: {
|
522
503
|
default: null
|
523
504
|
}
|
524
505
|
},
|
525
|
-
selectable:
|
506
|
+
selectable: true
|
526
507
|
});
|
527
|
-
export const
|
528
|
-
content: '
|
529
|
-
marks: 'link
|
508
|
+
export const mediaGroup = createPMNodeSpecFactory({
|
509
|
+
content: '(media | unsupportedBlock)+',
|
510
|
+
marks: 'link annotation border unsupportedNodeAttribute unsupportedMark',
|
530
511
|
group: 'block',
|
512
|
+
attrs: {},
|
513
|
+
selectable: false
|
514
|
+
});
|
515
|
+
export const mediaInline = createPMNodeSpecFactory({
|
516
|
+
group: 'inline',
|
517
|
+
inline: true,
|
531
518
|
attrs: {
|
532
|
-
|
519
|
+
type: {
|
520
|
+
default: 'file'
|
521
|
+
},
|
522
|
+
url: {
|
523
|
+
default: null
|
524
|
+
},
|
525
|
+
id: {
|
526
|
+
default: ''
|
527
|
+
},
|
528
|
+
alt: {
|
529
|
+
default: ''
|
530
|
+
},
|
531
|
+
collection: {
|
532
|
+
default: ''
|
533
|
+
},
|
534
|
+
occurrenceKey: {
|
533
535
|
default: null
|
536
|
+
},
|
537
|
+
width: {
|
538
|
+
default: null
|
539
|
+
},
|
540
|
+
height: {
|
541
|
+
default: null
|
542
|
+
},
|
543
|
+
__fileName: {
|
544
|
+
default: null
|
545
|
+
},
|
546
|
+
__fileSize: {
|
547
|
+
default: null
|
548
|
+
},
|
549
|
+
__fileMimeType: {
|
550
|
+
default: null
|
551
|
+
},
|
552
|
+
__displayType: {
|
553
|
+
default: null
|
554
|
+
},
|
555
|
+
__contextId: {
|
556
|
+
default: null
|
557
|
+
},
|
558
|
+
__mediaTraceId: {
|
559
|
+
default: null
|
560
|
+
},
|
561
|
+
__external: {
|
562
|
+
default: false
|
534
563
|
}
|
535
564
|
},
|
536
|
-
selectable:
|
565
|
+
selectable: true
|
537
566
|
});
|
538
|
-
export const
|
539
|
-
content: '
|
540
|
-
|
541
|
-
|
542
|
-
|
567
|
+
export const mediaSingle = createPMNodeSpecFactory({
|
568
|
+
content: 'media',
|
569
|
+
marks: 'link annotation border unsupportedNodeAttribute unsupportedMark',
|
570
|
+
atom: false,
|
571
|
+
attrs: {
|
572
|
+
width: {
|
573
|
+
default: null
|
574
|
+
},
|
575
|
+
layout: {
|
576
|
+
default: 'center'
|
577
|
+
},
|
578
|
+
widthType: {
|
579
|
+
default: null
|
580
|
+
}
|
581
|
+
},
|
582
|
+
selectable: true
|
543
583
|
});
|
544
|
-
export const
|
545
|
-
content: '
|
584
|
+
export const mediaSingleCaption = createPMNodeSpecFactory({
|
585
|
+
content: '(media | unsupportedBlock) (caption | unsupportedBlock)',
|
586
|
+
marks: 'link annotation border unsupportedNodeAttribute unsupportedMark',
|
546
587
|
group: 'block',
|
588
|
+
atom: false,
|
547
589
|
attrs: {
|
548
|
-
|
549
|
-
default:
|
590
|
+
width: {
|
591
|
+
default: null
|
550
592
|
},
|
551
|
-
|
593
|
+
layout: {
|
594
|
+
default: 'center'
|
595
|
+
},
|
596
|
+
widthType: {
|
552
597
|
default: null
|
553
598
|
}
|
554
599
|
},
|
555
|
-
selectable:
|
556
|
-
defining: true
|
600
|
+
selectable: true
|
557
601
|
});
|
558
|
-
export const
|
559
|
-
content: '
|
602
|
+
export const mediaSingleFull = createPMNodeSpecFactory({
|
603
|
+
content: 'media',
|
604
|
+
marks: 'link annotation border unsupportedNodeAttribute unsupportedMark',
|
560
605
|
group: 'block',
|
606
|
+
atom: false,
|
561
607
|
attrs: {
|
562
|
-
|
563
|
-
default:
|
608
|
+
width: {
|
609
|
+
default: null
|
564
610
|
},
|
565
|
-
|
611
|
+
layout: {
|
612
|
+
default: 'center'
|
613
|
+
},
|
614
|
+
widthType: {
|
566
615
|
default: null
|
567
616
|
}
|
568
617
|
},
|
569
|
-
selectable:
|
570
|
-
defining: true
|
618
|
+
selectable: true
|
571
619
|
});
|
572
|
-
export const
|
573
|
-
|
574
|
-
|
620
|
+
export const mention = createPMNodeSpecFactory({
|
621
|
+
group: 'inline',
|
622
|
+
inline: true,
|
575
623
|
attrs: {
|
624
|
+
id: {
|
625
|
+
default: ''
|
626
|
+
},
|
576
627
|
localId: {
|
577
628
|
default: null
|
629
|
+
},
|
630
|
+
text: {
|
631
|
+
default: ''
|
632
|
+
},
|
633
|
+
accessLevel: {
|
634
|
+
default: ''
|
635
|
+
},
|
636
|
+
userType: {
|
637
|
+
default: null
|
578
638
|
}
|
579
639
|
},
|
580
|
-
selectable:
|
581
|
-
});
|
582
|
-
export const blockquote = createPMNodeSpecFactory({
|
583
|
-
content: '(paragraph | bulletList | orderedList | unsupportedBlock)+',
|
584
|
-
selectable: false,
|
585
|
-
defining: true
|
640
|
+
selectable: true
|
586
641
|
});
|
587
|
-
export const
|
588
|
-
|
589
|
-
|
642
|
+
export const multiBodiedExtension = createPMNodeSpecFactory({
|
643
|
+
content: 'extensionFrame+',
|
644
|
+
group: 'blockRootOnly',
|
590
645
|
attrs: {
|
591
646
|
extensionKey: {
|
592
647
|
default: ''
|
@@ -607,42 +662,159 @@ export const extensionWithMarks = createPMNodeSpecFactory({
|
|
607
662
|
default: null
|
608
663
|
}
|
609
664
|
},
|
610
|
-
selectable: true
|
665
|
+
selectable: true,
|
666
|
+
definingAsContext: true
|
611
667
|
});
|
612
|
-
export const
|
613
|
-
|
668
|
+
export const nestedExpandWithNoMarks = createPMNodeSpecFactory({
|
669
|
+
content: '(codeBlock | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | unsupportedBlock)+',
|
670
|
+
marks: 'unsupportedNodeAttribute unsupportedMark',
|
614
671
|
attrs: {
|
615
|
-
|
672
|
+
title: {
|
616
673
|
default: ''
|
617
674
|
},
|
618
|
-
|
619
|
-
default:
|
675
|
+
__expanded: {
|
676
|
+
default: true
|
677
|
+
}
|
678
|
+
},
|
679
|
+
selectable: true,
|
680
|
+
isolating: true
|
681
|
+
});
|
682
|
+
export const orderedList = createPMNodeSpecFactory({
|
683
|
+
content: 'listItem+',
|
684
|
+
marks: 'unsupportedNodeAttribute unsupportedMark',
|
685
|
+
group: 'block',
|
686
|
+
attrs: {
|
687
|
+
order: {
|
688
|
+
default: 1
|
689
|
+
}
|
690
|
+
},
|
691
|
+
selectable: false
|
692
|
+
});
|
693
|
+
export const panel = createPMNodeSpecFactory({
|
694
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | unsupportedBlock)+',
|
695
|
+
marks: 'unsupportedNodeAttribute unsupportedMark',
|
696
|
+
group: 'block',
|
697
|
+
attrs: {
|
698
|
+
panelType: {
|
699
|
+
default: 'info'
|
620
700
|
},
|
621
|
-
|
622
|
-
default:
|
701
|
+
panelIcon: {
|
702
|
+
default: null
|
623
703
|
},
|
624
|
-
|
704
|
+
panelIconId: {
|
705
|
+
default: null
|
706
|
+
},
|
707
|
+
panelIconText: {
|
708
|
+
default: null
|
709
|
+
},
|
710
|
+
panelColor: {
|
625
711
|
default: null
|
712
|
+
}
|
713
|
+
},
|
714
|
+
selectable: true
|
715
|
+
});
|
716
|
+
export const paragraph = createPMNodeSpecFactory({
|
717
|
+
content: 'inline*',
|
718
|
+
marks: 'link em strong strike subsup underline textColor annotation backgroundColor typeAheadQuery confluenceInlineComment unsupportedNodeAttribute unsupportedMark code dataConsumer fragment border',
|
719
|
+
group: 'block',
|
720
|
+
attrs: {
|
721
|
+
localId: {
|
722
|
+
default: null
|
723
|
+
}
|
724
|
+
},
|
725
|
+
selectable: false
|
726
|
+
});
|
727
|
+
export const paragraphWithAlignment = createPMNodeSpecFactory({
|
728
|
+
content: 'inline*',
|
729
|
+
marks: 'link em strong strike subsup underline textColor annotation backgroundColor typeAheadQuery confluenceInlineComment unsupportedNodeAttribute unsupportedMark code dataConsumer fragment border',
|
730
|
+
attrs: {
|
731
|
+
localId: {
|
732
|
+
default: null
|
733
|
+
}
|
734
|
+
},
|
735
|
+
selectable: false
|
736
|
+
});
|
737
|
+
export const paragraphWithMarks = createPMNodeSpecFactory({
|
738
|
+
content: 'inline*',
|
739
|
+
marks: 'link em strong strike subsup underline textColor annotation backgroundColor typeAheadQuery confluenceInlineComment unsupportedNodeAttribute unsupportedMark code dataConsumer fragment border',
|
740
|
+
group: 'block',
|
741
|
+
attrs: {
|
742
|
+
localId: {
|
743
|
+
default: null
|
744
|
+
}
|
745
|
+
},
|
746
|
+
selectable: false
|
747
|
+
});
|
748
|
+
export const paragraphWithNoMarks = createPMNodeSpecFactory({
|
749
|
+
content: 'inline*',
|
750
|
+
marks: 'link em strong strike subsup underline textColor annotation backgroundColor typeAheadQuery confluenceInlineComment unsupportedNodeAttribute unsupportedMark code dataConsumer fragment border',
|
751
|
+
attrs: {
|
752
|
+
localId: {
|
753
|
+
default: null
|
754
|
+
}
|
755
|
+
},
|
756
|
+
selectable: false
|
757
|
+
});
|
758
|
+
export const placeholder = createPMNodeSpecFactory({
|
759
|
+
marks: '',
|
760
|
+
group: 'inline',
|
761
|
+
inline: true,
|
762
|
+
attrs: {
|
763
|
+
text: {
|
764
|
+
default: ''
|
765
|
+
}
|
766
|
+
},
|
767
|
+
selectable: false
|
768
|
+
});
|
769
|
+
export const rule = createPMNodeSpecFactory({
|
770
|
+
group: 'block'
|
771
|
+
});
|
772
|
+
export const status = createPMNodeSpecFactory({
|
773
|
+
group: 'inline',
|
774
|
+
inline: true,
|
775
|
+
attrs: {
|
776
|
+
text: {
|
777
|
+
default: ''
|
778
|
+
},
|
779
|
+
color: {
|
780
|
+
default: ''
|
781
|
+
},
|
782
|
+
localId: {
|
783
|
+
default: ''
|
626
784
|
},
|
627
|
-
|
628
|
-
default:
|
785
|
+
style: {
|
786
|
+
default: ''
|
629
787
|
}
|
630
788
|
},
|
631
789
|
selectable: true
|
632
790
|
});
|
633
|
-
export const
|
634
|
-
content: '
|
791
|
+
export const table = createPMNodeSpecFactory({
|
792
|
+
content: 'tableRow+',
|
635
793
|
marks: 'unsupportedNodeAttribute unsupportedMark',
|
794
|
+
group: 'block',
|
636
795
|
attrs: {
|
637
|
-
|
796
|
+
displayMode: {
|
797
|
+
default: null
|
798
|
+
},
|
799
|
+
isNumberColumnEnabled: {
|
800
|
+
default: false
|
801
|
+
},
|
802
|
+
layout: {
|
803
|
+
default: 'default'
|
804
|
+
},
|
805
|
+
localId: {
|
638
806
|
default: ''
|
639
807
|
},
|
640
|
-
|
641
|
-
default:
|
808
|
+
width: {
|
809
|
+
default: null
|
810
|
+
},
|
811
|
+
__autoSize: {
|
812
|
+
default: false
|
642
813
|
}
|
643
814
|
},
|
644
815
|
selectable: true,
|
645
|
-
isolating: true
|
816
|
+
isolating: true,
|
817
|
+
tableRole: 'table'
|
646
818
|
});
|
647
819
|
export const tableCell = createPMNodeSpecFactory({
|
648
820
|
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | nestedExpand | unsupportedBlock)+',
|
@@ -692,230 +864,58 @@ export const tableRow = createPMNodeSpecFactory({
|
|
692
864
|
selectable: false,
|
693
865
|
tableRole: 'row'
|
694
866
|
});
|
695
|
-
export const
|
696
|
-
content: '
|
697
|
-
marks: '
|
698
|
-
group: 'block',
|
867
|
+
export const taskItem = createPMNodeSpecFactory({
|
868
|
+
content: 'inline*',
|
869
|
+
marks: '_',
|
699
870
|
attrs: {
|
700
|
-
displayMode: {
|
701
|
-
default: null
|
702
|
-
},
|
703
|
-
isNumberColumnEnabled: {
|
704
|
-
default: false
|
705
|
-
},
|
706
|
-
layout: {
|
707
|
-
default: 'default'
|
708
|
-
},
|
709
871
|
localId: {
|
710
872
|
default: ''
|
711
873
|
},
|
712
|
-
|
713
|
-
default:
|
714
|
-
},
|
715
|
-
__autoSize: {
|
716
|
-
default: false
|
717
|
-
}
|
718
|
-
},
|
719
|
-
selectable: true,
|
720
|
-
isolating: true,
|
721
|
-
tableRole: 'table'
|
722
|
-
});
|
723
|
-
export const expandWithNoMark = createPMNodeSpecFactory({
|
724
|
-
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table | unsupportedBlock)+',
|
725
|
-
marks: 'unsupportedNodeAttribute unsupportedMark dataConsumer fragment',
|
726
|
-
group: 'block',
|
727
|
-
attrs: {
|
728
|
-
title: {
|
729
|
-
default: ''
|
730
|
-
},
|
731
|
-
__expanded: {
|
732
|
-
default: true
|
733
|
-
}
|
734
|
-
},
|
735
|
-
selectable: true,
|
736
|
-
isolating: true
|
737
|
-
});
|
738
|
-
export const bodiedExtensionWithMarks = createPMNodeSpecFactory({
|
739
|
-
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table | unsupportedBlock)+',
|
740
|
-
marks: 'dataConsumer fragment',
|
741
|
-
group: 'block',
|
742
|
-
attrs: {
|
743
|
-
extensionKey: {
|
744
|
-
default: ''
|
745
|
-
},
|
746
|
-
extensionType: {
|
747
|
-
default: ''
|
748
|
-
},
|
749
|
-
parameters: {
|
750
|
-
default: null
|
751
|
-
},
|
752
|
-
text: {
|
753
|
-
default: null
|
754
|
-
},
|
755
|
-
layout: {
|
756
|
-
default: 'default'
|
757
|
-
},
|
758
|
-
localId: {
|
759
|
-
default: null
|
760
|
-
}
|
761
|
-
},
|
762
|
-
selectable: true,
|
763
|
-
defining: true,
|
764
|
-
isolating: true
|
765
|
-
});
|
766
|
-
export const confluenceUnsupportedBlock = createPMNodeSpecFactory({
|
767
|
-
group: 'block',
|
768
|
-
attrs: {
|
769
|
-
cxhtml: {
|
770
|
-
default: null
|
874
|
+
state: {
|
875
|
+
default: 'TODO'
|
771
876
|
}
|
772
|
-
}
|
773
|
-
});
|
774
|
-
export const layoutColumn = createPMNodeSpecFactory({
|
775
|
-
content: '(block | unsupportedBlock)+',
|
776
|
-
marks: 'unsupportedNodeAttribute unsupportedMark alignment indentation fragment dataConsumer',
|
777
|
-
attrs: {
|
778
|
-
width: {}
|
779
877
|
},
|
780
878
|
selectable: false,
|
781
|
-
|
879
|
+
defining: true
|
782
880
|
});
|
783
|
-
export const
|
784
|
-
content: '(
|
881
|
+
export const taskList = createPMNodeSpecFactory({
|
882
|
+
content: '(taskItem | unsupportedBlock)+ (taskItem | taskList | unsupportedBlock)*',
|
785
883
|
marks: 'unsupportedNodeAttribute unsupportedMark',
|
786
|
-
|
787
|
-
});
|
788
|
-
export const bodiedExtension = createPMNodeSpecFactory({
|
789
|
-
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table | unsupportedBlock)+',
|
790
|
-
marks: 'dataConsumer fragment',
|
791
|
-
attrs: {
|
792
|
-
extensionKey: {
|
793
|
-
default: ''
|
794
|
-
},
|
795
|
-
extensionType: {
|
796
|
-
default: ''
|
797
|
-
},
|
798
|
-
parameters: {
|
799
|
-
default: null
|
800
|
-
},
|
801
|
-
text: {
|
802
|
-
default: null
|
803
|
-
},
|
804
|
-
layout: {
|
805
|
-
default: 'default'
|
806
|
-
},
|
807
|
-
localId: {
|
808
|
-
default: null
|
809
|
-
}
|
810
|
-
},
|
811
|
-
selectable: true,
|
812
|
-
defining: true,
|
813
|
-
isolating: true
|
814
|
-
});
|
815
|
-
export const heading = createPMNodeSpecFactory({
|
816
|
-
content: 'inline*',
|
884
|
+
group: 'block',
|
817
885
|
attrs: {
|
818
|
-
level: {
|
819
|
-
default: 1
|
820
|
-
},
|
821
886
|
localId: {
|
822
|
-
default:
|
887
|
+
default: ''
|
823
888
|
}
|
824
889
|
},
|
825
890
|
selectable: false,
|
826
891
|
defining: true
|
827
892
|
});
|
828
|
-
export const
|
829
|
-
|
830
|
-
marks: 'unsupportedMark unsupportedNodeAttribute',
|
831
|
-
attrs: {
|
832
|
-
language: {
|
833
|
-
default: null
|
834
|
-
},
|
835
|
-
uniqueId: {
|
836
|
-
default: null
|
837
|
-
}
|
838
|
-
},
|
839
|
-
code: true,
|
840
|
-
defining: true
|
893
|
+
export const text = createPMNodeSpecFactory({
|
894
|
+
group: 'inline'
|
841
895
|
});
|
842
|
-
export const
|
843
|
-
|
844
|
-
marks: 'link annotation border unsupportedNodeAttribute unsupportedMark',
|
845
|
-
atom: false,
|
846
|
-
attrs: {
|
847
|
-
width: {
|
848
|
-
default: null
|
849
|
-
},
|
850
|
-
layout: {
|
851
|
-
default: 'center'
|
852
|
-
},
|
853
|
-
widthType: {
|
854
|
-
default: null
|
855
|
-
}
|
856
|
-
},
|
857
|
-
selectable: true
|
896
|
+
export const textCodeInline = createPMNodeSpecFactory({
|
897
|
+
group: 'inline'
|
858
898
|
});
|
859
|
-
export const
|
899
|
+
export const textFormatted = createPMNodeSpecFactory({
|
900
|
+
group: 'inline'
|
901
|
+
});
|
902
|
+
export const unsupportedBlock = createPMNodeSpecFactory({
|
903
|
+
group: 'block',
|
860
904
|
atom: true,
|
861
905
|
attrs: {
|
862
|
-
|
863
|
-
default:
|
864
|
-
},
|
865
|
-
extensionType: {
|
866
|
-
default: ''
|
867
|
-
},
|
868
|
-
parameters: {
|
869
|
-
default: null
|
870
|
-
},
|
871
|
-
text: {
|
872
|
-
default: null
|
873
|
-
},
|
874
|
-
layout: {
|
875
|
-
default: 'default'
|
876
|
-
},
|
877
|
-
localId: {
|
878
|
-
default: null
|
906
|
+
originalValue: {
|
907
|
+
default: {}
|
879
908
|
}
|
880
909
|
},
|
881
910
|
selectable: true
|
882
911
|
});
|
883
|
-
export const
|
884
|
-
|
885
|
-
|
886
|
-
attrs: {},
|
887
|
-
selectable: false,
|
888
|
-
definingAsContext: false,
|
889
|
-
definingForContent: true,
|
890
|
-
isolating: true
|
891
|
-
});
|
892
|
-
export const multiBodiedExtension = createPMNodeSpecFactory({
|
893
|
-
content: 'extensionFrame+',
|
894
|
-
group: 'blockRootOnly',
|
912
|
+
export const unsupportedInline = createPMNodeSpecFactory({
|
913
|
+
group: 'inline',
|
914
|
+
inline: true,
|
895
915
|
attrs: {
|
896
|
-
|
897
|
-
default:
|
898
|
-
},
|
899
|
-
extensionType: {
|
900
|
-
default: ''
|
901
|
-
},
|
902
|
-
parameters: {
|
903
|
-
default: null
|
904
|
-
},
|
905
|
-
text: {
|
906
|
-
default: null
|
907
|
-
},
|
908
|
-
layout: {
|
909
|
-
default: 'default'
|
910
|
-
},
|
911
|
-
localId: {
|
912
|
-
default: null
|
916
|
+
originalValue: {
|
917
|
+
default: {}
|
913
918
|
}
|
914
919
|
},
|
915
|
-
selectable: true
|
916
|
-
definingAsContext: true
|
917
|
-
});
|
918
|
-
export const doc = createPMNodeSpecFactory({
|
919
|
-
content: '(block | layoutSection | blockRootOnly)+',
|
920
|
-
marks: 'unsupportedNodeAttribute unsupportedMark alignment indentation fragment dataConsumer breakout'
|
920
|
+
selectable: true
|
921
921
|
});
|