@atlaskit/adf-schema 37.1.39 → 37.1.41

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.
@@ -0,0 +1,1873 @@
1
+ export const blockCard = {
2
+ props: {
3
+ type: {
4
+ type: 'enum',
5
+ values: ['blockCard']
6
+ },
7
+ attrs: [{
8
+ props: {
9
+ url: {
10
+ type: 'string',
11
+ optional: true,
12
+ validatorFn: 'safeUrl'
13
+ },
14
+ datasource: {
15
+ props: {
16
+ id: {
17
+ type: 'string'
18
+ },
19
+ parameters: {
20
+ type: 'object'
21
+ },
22
+ views: {
23
+ items: [{
24
+ props: {
25
+ properties: {
26
+ optional: true,
27
+ type: 'object'
28
+ },
29
+ type: {
30
+ type: 'string'
31
+ }
32
+ }
33
+ }],
34
+ minItems: 1,
35
+ type: 'array'
36
+ }
37
+ }
38
+ },
39
+ width: {
40
+ type: 'number',
41
+ optional: true
42
+ },
43
+ layout: {
44
+ type: 'enum',
45
+ values: ['align-end', 'align-start', 'center', 'full-width', 'wide', 'wrap-left', 'wrap-right'],
46
+ optional: true
47
+ }
48
+ }
49
+ }, {
50
+ props: {
51
+ url: {
52
+ type: 'string',
53
+ validatorFn: 'safeUrl'
54
+ }
55
+ }
56
+ }, {
57
+ props: {
58
+ data: {
59
+ type: 'object'
60
+ }
61
+ }
62
+ }]
63
+ },
64
+ required: ['attrs']
65
+ };
66
+ export const text = {
67
+ props: {
68
+ type: {
69
+ type: 'enum',
70
+ values: ['text']
71
+ },
72
+ text: {
73
+ type: 'string',
74
+ minLength: 1
75
+ },
76
+ marks: {
77
+ type: 'array',
78
+ items: [],
79
+ optional: true
80
+ }
81
+ }
82
+ };
83
+ export const unsupportedInline = {
84
+ props: {
85
+ type: {
86
+ type: 'enum',
87
+ values: ['unsupportedInline']
88
+ },
89
+ attrs: {
90
+ props: {
91
+ originalValue: {
92
+ type: 'object'
93
+ }
94
+ }
95
+ }
96
+ }
97
+ };
98
+ export const codeBlock = {
99
+ props: {
100
+ type: {
101
+ type: 'enum',
102
+ values: ['codeBlock']
103
+ },
104
+ attrs: {
105
+ props: {
106
+ language: {
107
+ type: 'string',
108
+ optional: true
109
+ }
110
+ },
111
+ optional: true
112
+ },
113
+ content: {
114
+ type: 'array',
115
+ items: [['text', {
116
+ props: {
117
+ marks: {
118
+ items: [],
119
+ maxItems: 0,
120
+ optional: true,
121
+ type: 'array'
122
+ }
123
+ }
124
+ }]],
125
+ optional: true,
126
+ allowUnsupportedInline: true
127
+ },
128
+ marks: {
129
+ type: 'array',
130
+ items: [],
131
+ optional: true
132
+ }
133
+ }
134
+ };
135
+ export const codeBlock_with_marks = ['codeBlock', {
136
+ props: {
137
+ marks: {
138
+ type: 'array',
139
+ items: ['breakout'],
140
+ optional: true
141
+ }
142
+ }
143
+ }];
144
+ export const codeBlock_with_no_marks = ['codeBlock', {
145
+ props: {
146
+ marks: {
147
+ type: 'array',
148
+ maxItems: 0,
149
+ items: [],
150
+ optional: true
151
+ }
152
+ }
153
+ }];
154
+ export const mediaSingle = {
155
+ props: {
156
+ type: {
157
+ type: 'enum',
158
+ values: ['mediaSingle']
159
+ },
160
+ attrs: [{
161
+ props: {
162
+ width: {
163
+ type: 'number',
164
+ minimum: 0,
165
+ maximum: 100,
166
+ optional: true
167
+ },
168
+ layout: {
169
+ type: 'enum',
170
+ values: ['align-end', 'align-start', 'center', 'full-width', 'wide', 'wrap-left', 'wrap-right']
171
+ },
172
+ widthType: {
173
+ type: 'enum',
174
+ values: ['percentage'],
175
+ optional: true
176
+ }
177
+ }
178
+ }, {
179
+ props: {
180
+ width: {
181
+ type: 'number',
182
+ minimum: 0
183
+ },
184
+ widthType: {
185
+ type: 'enum',
186
+ values: ['pixel']
187
+ },
188
+ layout: {
189
+ type: 'enum',
190
+ values: ['align-end', 'align-start', 'center', 'full-width', 'wide', 'wrap-left', 'wrap-right']
191
+ }
192
+ }
193
+ }],
194
+ marks: {
195
+ type: 'array',
196
+ items: ['link'],
197
+ optional: true
198
+ }
199
+ }
200
+ };
201
+ export const media = {
202
+ props: {
203
+ type: {
204
+ type: 'enum',
205
+ values: ['media']
206
+ },
207
+ attrs: [{
208
+ props: {
209
+ type: {
210
+ type: 'enum',
211
+ values: ['file', 'link']
212
+ },
213
+ id: {
214
+ minLength: 1,
215
+ type: 'string'
216
+ },
217
+ alt: {
218
+ type: 'string',
219
+ optional: true
220
+ },
221
+ collection: {
222
+ type: 'string'
223
+ },
224
+ height: {
225
+ type: 'number',
226
+ optional: true
227
+ },
228
+ occurrenceKey: {
229
+ minLength: 1,
230
+ type: 'string',
231
+ optional: true
232
+ },
233
+ width: {
234
+ type: 'number',
235
+ optional: true
236
+ }
237
+ }
238
+ }, {
239
+ props: {
240
+ type: {
241
+ type: 'enum',
242
+ values: ['external']
243
+ },
244
+ alt: {
245
+ type: 'string',
246
+ optional: true
247
+ },
248
+ height: {
249
+ type: 'number',
250
+ optional: true
251
+ },
252
+ width: {
253
+ type: 'number',
254
+ optional: true
255
+ },
256
+ url: {
257
+ type: 'string'
258
+ }
259
+ }
260
+ }],
261
+ marks: {
262
+ type: 'array',
263
+ items: [['annotation', 'border', 'link']],
264
+ optional: true
265
+ }
266
+ },
267
+ required: ['attrs']
268
+ };
269
+ export const unsupportedBlock = {
270
+ props: {
271
+ type: {
272
+ type: 'enum',
273
+ values: ['unsupportedBlock']
274
+ },
275
+ attrs: {
276
+ props: {
277
+ originalValue: {
278
+ type: 'object'
279
+ }
280
+ }
281
+ }
282
+ }
283
+ };
284
+ export const link = {
285
+ props: {
286
+ type: {
287
+ type: 'enum',
288
+ values: ['link']
289
+ },
290
+ attrs: {
291
+ props: {
292
+ href: {
293
+ type: 'string',
294
+ validatorFn: 'safeUrl'
295
+ },
296
+ title: {
297
+ type: 'string',
298
+ optional: true
299
+ },
300
+ id: {
301
+ type: 'string',
302
+ optional: true
303
+ },
304
+ collection: {
305
+ type: 'string',
306
+ optional: true
307
+ },
308
+ occurrenceKey: {
309
+ type: 'string',
310
+ optional: true
311
+ }
312
+ }
313
+ }
314
+ }
315
+ };
316
+ export const annotation = {
317
+ props: {
318
+ type: {
319
+ type: 'enum',
320
+ values: ['annotation']
321
+ },
322
+ attrs: {
323
+ props: {
324
+ id: {
325
+ type: 'string'
326
+ },
327
+ annotationType: {
328
+ type: 'enum',
329
+ values: ['inlineComment']
330
+ }
331
+ }
332
+ }
333
+ }
334
+ };
335
+ export const border = {
336
+ props: {
337
+ type: {
338
+ type: 'enum',
339
+ values: ['border']
340
+ },
341
+ attrs: {
342
+ props: {
343
+ size: {
344
+ type: 'number',
345
+ minimum: 1,
346
+ maximum: 3
347
+ },
348
+ color: {
349
+ pattern: '^#[0-9a-fA-F]{8}$|^#[0-9a-fA-F]{6}$',
350
+ type: 'string'
351
+ }
352
+ }
353
+ }
354
+ }
355
+ };
356
+ export const hardBreak = {
357
+ props: {
358
+ type: {
359
+ type: 'enum',
360
+ values: ['hardBreak']
361
+ },
362
+ attrs: {
363
+ props: {
364
+ text: {
365
+ type: 'enum',
366
+ values: ['\n'],
367
+ optional: true
368
+ }
369
+ },
370
+ optional: true
371
+ }
372
+ }
373
+ };
374
+ export const mention = {
375
+ props: {
376
+ type: {
377
+ type: 'enum',
378
+ values: ['mention']
379
+ },
380
+ attrs: {
381
+ props: {
382
+ id: {
383
+ type: 'string'
384
+ },
385
+ localId: {
386
+ type: 'string',
387
+ optional: true
388
+ },
389
+ text: {
390
+ type: 'string',
391
+ optional: true
392
+ },
393
+ accessLevel: {
394
+ type: 'string',
395
+ optional: true
396
+ },
397
+ userType: {
398
+ type: 'enum',
399
+ values: ['APP', 'DEFAULT', 'SPECIAL'],
400
+ optional: true
401
+ }
402
+ }
403
+ },
404
+ marks: {
405
+ type: 'array',
406
+ items: ['annotation'],
407
+ optional: true
408
+ }
409
+ }
410
+ };
411
+ export const emoji = {
412
+ props: {
413
+ type: {
414
+ type: 'enum',
415
+ values: ['emoji']
416
+ },
417
+ attrs: {
418
+ props: {
419
+ shortName: {
420
+ type: 'string'
421
+ },
422
+ id: {
423
+ type: 'string',
424
+ optional: true
425
+ },
426
+ text: {
427
+ type: 'string',
428
+ optional: true
429
+ }
430
+ }
431
+ },
432
+ marks: {
433
+ type: 'array',
434
+ items: ['annotation'],
435
+ optional: true
436
+ }
437
+ }
438
+ };
439
+ export const date = {
440
+ props: {
441
+ type: {
442
+ type: 'enum',
443
+ values: ['date']
444
+ },
445
+ attrs: {
446
+ props: {
447
+ timestamp: {
448
+ minLength: 1,
449
+ type: 'string'
450
+ }
451
+ }
452
+ },
453
+ marks: {
454
+ type: 'array',
455
+ items: ['annotation'],
456
+ optional: true
457
+ }
458
+ }
459
+ };
460
+ export const placeholder = {
461
+ props: {
462
+ type: {
463
+ type: 'enum',
464
+ values: ['placeholder']
465
+ },
466
+ attrs: {
467
+ props: {
468
+ text: {
469
+ type: 'string'
470
+ }
471
+ }
472
+ }
473
+ }
474
+ };
475
+ export const inlineCard = {
476
+ props: {
477
+ type: {
478
+ type: 'enum',
479
+ values: ['inlineCard']
480
+ },
481
+ attrs: [{
482
+ props: {
483
+ url: {
484
+ type: 'string',
485
+ validatorFn: 'safeUrl'
486
+ }
487
+ }
488
+ }, {
489
+ props: {
490
+ data: {
491
+ type: 'object'
492
+ }
493
+ }
494
+ }],
495
+ marks: {
496
+ items: ['annotation'],
497
+ optional: true,
498
+ type: 'array'
499
+ }
500
+ },
501
+ required: ['attrs']
502
+ };
503
+ export const status = {
504
+ props: {
505
+ type: {
506
+ type: 'enum',
507
+ values: ['status']
508
+ },
509
+ attrs: {
510
+ props: {
511
+ text: {
512
+ minLength: 1,
513
+ type: 'string'
514
+ },
515
+ color: {
516
+ type: 'enum',
517
+ values: ['blue', 'green', 'neutral', 'purple', 'red', 'yellow']
518
+ },
519
+ localId: {
520
+ type: 'string',
521
+ optional: true
522
+ },
523
+ style: {
524
+ type: 'string',
525
+ optional: true
526
+ }
527
+ }
528
+ },
529
+ marks: {
530
+ type: 'array',
531
+ items: ['annotation'],
532
+ optional: true
533
+ }
534
+ }
535
+ };
536
+ export const formatted_text_inline = ['text', {
537
+ props: {
538
+ marks: {
539
+ type: 'array',
540
+ items: [['annotation', 'backgroundColor', 'em', 'link', 'strike', 'strong', 'subsup', 'textColor', 'underline', null]],
541
+ optional: true
542
+ }
543
+ }
544
+ }];
545
+ export const code_inline = ['text', {
546
+ props: {
547
+ marks: {
548
+ type: 'array',
549
+ items: [['annotation', 'code', 'link']],
550
+ optional: true
551
+ }
552
+ }
553
+ }];
554
+ export const em = {
555
+ props: {
556
+ type: {
557
+ type: 'enum',
558
+ values: ['em']
559
+ }
560
+ }
561
+ };
562
+ export const strong = {
563
+ props: {
564
+ type: {
565
+ type: 'enum',
566
+ values: ['strong']
567
+ }
568
+ }
569
+ };
570
+ export const strike = {
571
+ props: {
572
+ type: {
573
+ type: 'enum',
574
+ values: ['strike']
575
+ }
576
+ }
577
+ };
578
+ export const subsup = {
579
+ props: {
580
+ type: {
581
+ type: 'enum',
582
+ values: ['subsup']
583
+ },
584
+ attrs: {
585
+ props: {
586
+ type: {
587
+ type: 'enum',
588
+ values: ['sub', 'sup']
589
+ }
590
+ }
591
+ }
592
+ }
593
+ };
594
+ export const underline = {
595
+ props: {
596
+ type: {
597
+ type: 'enum',
598
+ values: ['underline']
599
+ }
600
+ }
601
+ };
602
+ export const textColor = {
603
+ props: {
604
+ type: {
605
+ type: 'enum',
606
+ values: ['textColor']
607
+ },
608
+ attrs: {
609
+ props: {
610
+ color: {
611
+ type: 'string',
612
+ pattern: '^#[0-9a-fA-F]{6}$'
613
+ }
614
+ }
615
+ }
616
+ }
617
+ };
618
+ export const backgroundColor = {
619
+ props: {
620
+ type: {
621
+ type: 'enum',
622
+ values: ['backgroundColor']
623
+ },
624
+ attrs: {
625
+ props: {
626
+ color: {
627
+ pattern: '^#[0-9a-fA-F]{6}$',
628
+ type: 'string'
629
+ }
630
+ }
631
+ }
632
+ }
633
+ };
634
+ export const inline_comment_marker = {
635
+ props: {
636
+ type: {
637
+ type: 'enum',
638
+ values: ['confluenceInlineComment']
639
+ },
640
+ attrs: {
641
+ props: {
642
+ reference: {
643
+ type: 'string'
644
+ }
645
+ }
646
+ }
647
+ }
648
+ };
649
+ export const code = {
650
+ props: {
651
+ type: {
652
+ type: 'enum',
653
+ values: ['code']
654
+ }
655
+ }
656
+ };
657
+ export const caption = {
658
+ props: {
659
+ type: {
660
+ type: 'enum',
661
+ values: ['caption']
662
+ },
663
+ content: {
664
+ type: 'array',
665
+ items: [['code_inline', 'date', 'emoji', 'formatted_text_inline', 'hardBreak', 'inlineCard', 'mention', 'placeholder', 'status']],
666
+ allowUnsupportedInline: true,
667
+ minItems: 0
668
+ }
669
+ }
670
+ };
671
+ export const mediaSingle_caption = ['mediaSingle', {
672
+ props: {
673
+ content: {
674
+ type: 'array',
675
+ isTupleLike: true,
676
+ items: ['caption', 'media'],
677
+ minItems: 1,
678
+ maxItems: 2,
679
+ allowUnsupportedBlock: true
680
+ }
681
+ }
682
+ }];
683
+ export const mediaSingle_full = ['mediaSingle', {
684
+ props: {
685
+ content: {
686
+ type: 'array',
687
+ items: ['media'],
688
+ minItems: 1,
689
+ maxItems: 1,
690
+ allowUnsupportedBlock: true
691
+ }
692
+ }
693
+ }];
694
+ export const mediaSingle_width_type = ['mediaSingle', {
695
+ props: {
696
+ content: {
697
+ type: 'array',
698
+ items: ['media'],
699
+ minItems: 1,
700
+ maxItems: 1,
701
+ allowUnsupportedBlock: true
702
+ }
703
+ }
704
+ }];
705
+ export const link_text_inline = ['text', {
706
+ props: {
707
+ marks: {
708
+ type: 'array',
709
+ items: ['link'],
710
+ optional: true
711
+ }
712
+ }
713
+ }];
714
+ export const inlineExtension = {
715
+ props: {
716
+ type: {
717
+ type: 'enum',
718
+ values: ['inlineExtension']
719
+ },
720
+ attrs: {
721
+ props: {
722
+ extensionKey: {
723
+ minLength: 1,
724
+ type: 'string'
725
+ },
726
+ extensionType: {
727
+ minLength: 1,
728
+ type: 'string'
729
+ },
730
+ parameters: {
731
+ type: 'object',
732
+ optional: true
733
+ },
734
+ text: {
735
+ type: 'string',
736
+ optional: true
737
+ },
738
+ localId: {
739
+ minLength: 1,
740
+ type: 'string',
741
+ optional: true
742
+ }
743
+ }
744
+ },
745
+ marks: {
746
+ type: 'array',
747
+ items: [],
748
+ optional: true
749
+ }
750
+ }
751
+ };
752
+ export const inlineExtension_with_marks = ['inlineExtension', {
753
+ props: {
754
+ marks: {
755
+ type: 'array',
756
+ items: [['dataConsumer', 'fragment']],
757
+ optional: true
758
+ }
759
+ }
760
+ }];
761
+ export const mediaInline = {
762
+ props: {
763
+ type: {
764
+ type: 'enum',
765
+ values: ['mediaInline']
766
+ },
767
+ attrs: {
768
+ props: {
769
+ type: {
770
+ type: 'enum',
771
+ values: ['file', 'image', 'link'],
772
+ optional: true
773
+ },
774
+ id: {
775
+ minLength: 1,
776
+ type: 'string'
777
+ },
778
+ alt: {
779
+ type: 'string',
780
+ optional: true
781
+ },
782
+ collection: {
783
+ type: 'string'
784
+ },
785
+ occurrenceKey: {
786
+ minLength: 1,
787
+ type: 'string',
788
+ optional: true
789
+ },
790
+ width: {
791
+ type: 'number',
792
+ optional: true
793
+ },
794
+ height: {
795
+ type: 'number',
796
+ optional: true
797
+ },
798
+ data: {
799
+ type: 'object',
800
+ optional: true
801
+ }
802
+ }
803
+ },
804
+ marks: {
805
+ type: 'array',
806
+ items: [['annotation', 'border', 'link']],
807
+ optional: true
808
+ }
809
+ }
810
+ };
811
+ export const image = {
812
+ props: {
813
+ type: {
814
+ type: 'enum',
815
+ values: ['image']
816
+ },
817
+ attrs: {
818
+ props: {
819
+ src: {
820
+ type: 'string'
821
+ },
822
+ alt: {
823
+ type: 'string',
824
+ optional: true
825
+ },
826
+ title: {
827
+ type: 'string',
828
+ optional: true
829
+ }
830
+ }
831
+ }
832
+ }
833
+ };
834
+ export const confluenceJiraIssue = {
835
+ props: {
836
+ type: {
837
+ type: 'enum',
838
+ values: ['confluenceJiraIssue']
839
+ },
840
+ attrs: {
841
+ props: {
842
+ issueKey: {
843
+ type: 'string'
844
+ },
845
+ macroId: {
846
+ type: 'string',
847
+ optional: true
848
+ },
849
+ schemaVersion: {
850
+ type: 'string',
851
+ optional: true
852
+ },
853
+ server: {
854
+ type: 'string',
855
+ optional: true
856
+ },
857
+ serverId: {
858
+ type: 'string',
859
+ optional: true
860
+ }
861
+ }
862
+ }
863
+ }
864
+ };
865
+ export const confluenceUnsupportedInline = {
866
+ props: {
867
+ type: {
868
+ type: 'enum',
869
+ values: ['confluenceUnsupportedInline']
870
+ },
871
+ attrs: {
872
+ props: {
873
+ cxhtml: {
874
+ type: 'string'
875
+ }
876
+ }
877
+ }
878
+ }
879
+ };
880
+ export const inline = ['code_inline', 'date', 'emoji', 'formatted_text_inline', 'hardBreak', 'inlineCard', 'inlineExtension_with_marks', 'mediaInline', 'mention', 'placeholder', 'status'];
881
+ export const paragraph = {
882
+ props: {
883
+ type: {
884
+ type: 'enum',
885
+ values: ['paragraph']
886
+ },
887
+ attrs: {
888
+ props: {
889
+ localId: {
890
+ type: 'string',
891
+ optional: true
892
+ }
893
+ },
894
+ optional: true
895
+ },
896
+ content: {
897
+ type: 'array',
898
+ items: ['inline'],
899
+ optional: true,
900
+ allowUnsupportedInline: true
901
+ },
902
+ marks: {
903
+ type: 'array',
904
+ items: [],
905
+ optional: true
906
+ }
907
+ }
908
+ };
909
+ export const paragraph_with_alignment = ['paragraph', {
910
+ props: {
911
+ marks: {
912
+ type: 'array',
913
+ items: ['alignment'],
914
+ optional: true
915
+ }
916
+ }
917
+ }];
918
+ export const paragraph_with_indentation = ['paragraph', {
919
+ props: {
920
+ marks: {
921
+ type: 'array',
922
+ items: ['indentation'],
923
+ optional: true
924
+ }
925
+ }
926
+ }];
927
+ export const paragraph_with_no_marks = ['paragraph', {
928
+ props: {
929
+ marks: {
930
+ type: 'array',
931
+ maxItems: 0,
932
+ items: [],
933
+ optional: true
934
+ }
935
+ }
936
+ }];
937
+ export const taskItem = {
938
+ props: {
939
+ type: {
940
+ type: 'enum',
941
+ values: ['taskItem']
942
+ },
943
+ attrs: {
944
+ props: {
945
+ localId: {
946
+ type: 'string'
947
+ },
948
+ state: {
949
+ type: 'enum',
950
+ values: ['DONE', 'TODO']
951
+ }
952
+ }
953
+ },
954
+ content: {
955
+ type: 'array',
956
+ items: ['inline'],
957
+ optional: true,
958
+ allowUnsupportedInline: true
959
+ }
960
+ }
961
+ };
962
+ export const taskList = {
963
+ props: {
964
+ type: {
965
+ type: 'enum',
966
+ values: ['taskList']
967
+ },
968
+ attrs: {
969
+ props: {
970
+ localId: {
971
+ type: 'string'
972
+ }
973
+ }
974
+ },
975
+ content: {
976
+ type: 'array',
977
+ isTupleLike: true,
978
+ items: ['taskItem', ['taskItem', 'taskList']],
979
+ minItems: 1,
980
+ allowUnsupportedBlock: true
981
+ }
982
+ }
983
+ };
984
+ export const listItem_legacy = ['listItem', {
985
+ props: {
986
+ content: {
987
+ type: 'array',
988
+ isTupleLike: true,
989
+ items: [['codeBlock_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'paragraph_with_no_marks'], ['bulletList', 'codeBlock_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'orderedList', 'paragraph_with_no_marks']],
990
+ minItems: 1,
991
+ allowUnsupportedBlock: true
992
+ }
993
+ }
994
+ }];
995
+ export const bulletList = {
996
+ props: {
997
+ type: {
998
+ type: 'enum',
999
+ values: ['bulletList']
1000
+ },
1001
+ content: {
1002
+ type: 'array',
1003
+ items: ['listItem'],
1004
+ minItems: 1
1005
+ }
1006
+ }
1007
+ };
1008
+ export const listItem = {
1009
+ props: {
1010
+ type: {
1011
+ type: 'enum',
1012
+ values: ['listItem']
1013
+ },
1014
+ content: {
1015
+ type: 'array',
1016
+ isTupleLike: true,
1017
+ items: [['codeBlock_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'paragraph_with_no_marks'], ['bulletList', 'codeBlock_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'orderedList', 'paragraph_with_no_marks', 'taskList']],
1018
+ minItems: 1,
1019
+ allowUnsupportedBlock: true
1020
+ }
1021
+ }
1022
+ };
1023
+ export const orderedList = {
1024
+ props: {
1025
+ type: {
1026
+ type: 'enum',
1027
+ values: ['orderedList']
1028
+ },
1029
+ attrs: {
1030
+ props: {
1031
+ order: {
1032
+ type: 'number',
1033
+ minimum: 0,
1034
+ optional: true
1035
+ }
1036
+ },
1037
+ optional: true
1038
+ },
1039
+ content: {
1040
+ type: 'array',
1041
+ items: ['listItem'],
1042
+ minItems: 1
1043
+ }
1044
+ }
1045
+ };
1046
+ export const blockquote = {
1047
+ props: {
1048
+ type: {
1049
+ type: 'enum',
1050
+ values: ['blockquote']
1051
+ },
1052
+ content: {
1053
+ type: 'array',
1054
+ items: [['bulletList', 'orderedList', 'paragraph_with_no_marks']],
1055
+ minItems: 1,
1056
+ allowUnsupportedBlock: true
1057
+ }
1058
+ }
1059
+ };
1060
+ export const blockquote_legacy = ['blockquote', {
1061
+ props: {
1062
+ content: {
1063
+ type: 'array',
1064
+ items: ['paragraph'],
1065
+ minItems: 1,
1066
+ allowUnsupportedBlock: true
1067
+ }
1068
+ }
1069
+ }];
1070
+ export const decisionItem = {
1071
+ props: {
1072
+ type: {
1073
+ type: 'enum',
1074
+ values: ['decisionItem']
1075
+ },
1076
+ attrs: {
1077
+ props: {
1078
+ localId: {
1079
+ type: 'string'
1080
+ },
1081
+ state: {
1082
+ type: 'string'
1083
+ }
1084
+ }
1085
+ },
1086
+ content: {
1087
+ type: 'array',
1088
+ items: ['inline'],
1089
+ optional: true,
1090
+ allowUnsupportedInline: true
1091
+ }
1092
+ }
1093
+ };
1094
+ export const decisionList = {
1095
+ props: {
1096
+ type: {
1097
+ type: 'enum',
1098
+ values: ['decisionList']
1099
+ },
1100
+ attrs: {
1101
+ props: {
1102
+ localId: {
1103
+ type: 'string'
1104
+ }
1105
+ }
1106
+ },
1107
+ content: {
1108
+ type: 'array',
1109
+ items: ['decisionItem'],
1110
+ minItems: 1,
1111
+ allowUnsupportedBlock: true
1112
+ }
1113
+ }
1114
+ };
1115
+ export const embedCard = {
1116
+ props: {
1117
+ type: {
1118
+ type: 'enum',
1119
+ values: ['embedCard']
1120
+ },
1121
+ attrs: {
1122
+ props: {
1123
+ url: {
1124
+ type: 'string',
1125
+ validatorFn: 'safeUrl'
1126
+ },
1127
+ layout: {
1128
+ type: 'enum',
1129
+ values: ['align-end', 'align-start', 'center', 'full-width', 'wide', 'wrap-left', 'wrap-right']
1130
+ },
1131
+ width: {
1132
+ type: 'number',
1133
+ maximum: 100,
1134
+ minimum: 0,
1135
+ optional: true
1136
+ },
1137
+ originalHeight: {
1138
+ type: 'number',
1139
+ optional: true
1140
+ },
1141
+ originalWidth: {
1142
+ type: 'number',
1143
+ optional: true
1144
+ }
1145
+ }
1146
+ }
1147
+ }
1148
+ };
1149
+ export const extension = {
1150
+ props: {
1151
+ type: {
1152
+ type: 'enum',
1153
+ values: ['extension']
1154
+ },
1155
+ attrs: {
1156
+ props: {
1157
+ extensionKey: {
1158
+ minLength: 1,
1159
+ type: 'string'
1160
+ },
1161
+ extensionType: {
1162
+ minLength: 1,
1163
+ type: 'string'
1164
+ },
1165
+ parameters: {
1166
+ type: 'object',
1167
+ optional: true
1168
+ },
1169
+ text: {
1170
+ type: 'string',
1171
+ optional: true
1172
+ },
1173
+ layout: {
1174
+ type: 'enum',
1175
+ values: ['default', 'full-width', 'wide'],
1176
+ optional: true
1177
+ },
1178
+ localId: {
1179
+ minLength: 1,
1180
+ type: 'string',
1181
+ optional: true
1182
+ }
1183
+ }
1184
+ },
1185
+ marks: {
1186
+ type: 'array',
1187
+ items: [],
1188
+ optional: true
1189
+ }
1190
+ }
1191
+ };
1192
+ export const extension_with_marks = ['extension', {
1193
+ props: {
1194
+ marks: {
1195
+ type: 'array',
1196
+ items: [['dataConsumer', 'fragment']],
1197
+ optional: true
1198
+ }
1199
+ }
1200
+ }];
1201
+ export const heading = {
1202
+ props: {
1203
+ type: {
1204
+ type: 'enum',
1205
+ values: ['heading']
1206
+ },
1207
+ attrs: {
1208
+ props: {
1209
+ level: {
1210
+ type: 'number',
1211
+ minimum: 1,
1212
+ maximum: 6
1213
+ },
1214
+ localId: {
1215
+ type: 'string',
1216
+ optional: true
1217
+ }
1218
+ }
1219
+ },
1220
+ content: {
1221
+ type: 'array',
1222
+ items: ['inline'],
1223
+ optional: true,
1224
+ allowUnsupportedInline: true
1225
+ },
1226
+ marks: {
1227
+ type: 'array',
1228
+ items: [],
1229
+ optional: true
1230
+ }
1231
+ }
1232
+ };
1233
+ export const heading_with_indentation = ['heading', {
1234
+ props: {
1235
+ marks: {
1236
+ type: 'array',
1237
+ items: ['indentation'],
1238
+ optional: true
1239
+ }
1240
+ }
1241
+ }];
1242
+ export const heading_with_no_marks = ['heading', {
1243
+ props: {
1244
+ marks: {
1245
+ type: 'array',
1246
+ maxItems: 0,
1247
+ items: [],
1248
+ optional: true
1249
+ }
1250
+ }
1251
+ }];
1252
+ export const heading_with_alignment = ['heading', {
1253
+ props: {
1254
+ marks: {
1255
+ type: 'array',
1256
+ items: ['alignment'],
1257
+ optional: true
1258
+ }
1259
+ }
1260
+ }];
1261
+ export const mediaGroup = {
1262
+ props: {
1263
+ type: {
1264
+ type: 'enum',
1265
+ values: ['mediaGroup']
1266
+ },
1267
+ content: {
1268
+ type: 'array',
1269
+ items: ['media'],
1270
+ minItems: 1,
1271
+ allowUnsupportedBlock: true
1272
+ }
1273
+ }
1274
+ };
1275
+ export const rule = {
1276
+ props: {
1277
+ type: {
1278
+ type: 'enum',
1279
+ values: ['rule']
1280
+ }
1281
+ }
1282
+ };
1283
+ export const panel = {
1284
+ props: {
1285
+ type: {
1286
+ type: 'enum',
1287
+ values: ['panel']
1288
+ },
1289
+ attrs: {
1290
+ props: {
1291
+ panelType: {
1292
+ type: 'enum',
1293
+ values: ['custom', 'error', 'info', 'note', 'success', 'tip', 'warning']
1294
+ },
1295
+ panelIcon: {
1296
+ type: 'string',
1297
+ optional: true
1298
+ },
1299
+ panelIconId: {
1300
+ type: 'string',
1301
+ optional: true
1302
+ },
1303
+ panelIconText: {
1304
+ type: 'string',
1305
+ optional: true
1306
+ },
1307
+ panelColor: {
1308
+ type: 'string',
1309
+ optional: true
1310
+ }
1311
+ }
1312
+ },
1313
+ content: {
1314
+ type: 'array',
1315
+ items: [['blockCard', 'bulletList', 'codeBlock_with_no_marks', 'decisionList', 'heading_with_no_marks', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'orderedList', 'paragraph_with_no_marks', 'rule', 'taskList']],
1316
+ minItems: 1,
1317
+ allowUnsupportedBlock: true
1318
+ }
1319
+ }
1320
+ };
1321
+ export const panel_legacy = ['panel', {
1322
+ props: {
1323
+ content: {
1324
+ type: 'array',
1325
+ items: [['blockCard', 'bulletList', 'heading_with_no_marks', 'orderedList', 'paragraph_with_no_marks']],
1326
+ minItems: 1,
1327
+ allowUnsupportedBlock: true
1328
+ }
1329
+ }
1330
+ }];
1331
+ export const nestedExpand_content = ['nestedExpand', {
1332
+ props: {}
1333
+ }];
1334
+ export const nestedExpand_with_no_marks = ['nestedExpand', {
1335
+ props: {
1336
+ marks: {
1337
+ type: 'array',
1338
+ maxItems: 0,
1339
+ items: [],
1340
+ optional: true
1341
+ }
1342
+ }
1343
+ }];
1344
+ export const alignment = {
1345
+ props: {
1346
+ type: {
1347
+ type: 'enum',
1348
+ values: ['alignment']
1349
+ },
1350
+ attrs: {
1351
+ props: {
1352
+ align: {
1353
+ type: 'enum',
1354
+ values: ['center', 'end']
1355
+ }
1356
+ }
1357
+ }
1358
+ }
1359
+ };
1360
+ export const indentation = {
1361
+ props: {
1362
+ type: {
1363
+ type: 'enum',
1364
+ values: ['indentation']
1365
+ },
1366
+ attrs: {
1367
+ props: {
1368
+ level: {
1369
+ type: 'number',
1370
+ minimum: 1,
1371
+ maximum: 6
1372
+ }
1373
+ }
1374
+ }
1375
+ }
1376
+ };
1377
+ export const dataConsumer = {
1378
+ props: {
1379
+ type: {
1380
+ type: 'enum',
1381
+ values: ['dataConsumer']
1382
+ },
1383
+ attrs: {
1384
+ props: {
1385
+ sources: {
1386
+ type: 'array',
1387
+ items: [{
1388
+ type: 'string'
1389
+ }],
1390
+ minItems: 1
1391
+ }
1392
+ }
1393
+ }
1394
+ }
1395
+ };
1396
+ export const fragment = {
1397
+ props: {
1398
+ type: {
1399
+ type: 'enum',
1400
+ values: ['fragment']
1401
+ },
1402
+ attrs: {
1403
+ props: {
1404
+ localId: {
1405
+ minLength: 1,
1406
+ type: 'string'
1407
+ },
1408
+ name: {
1409
+ type: 'string',
1410
+ optional: true
1411
+ }
1412
+ }
1413
+ }
1414
+ }
1415
+ };
1416
+ export const tableCell = {
1417
+ props: {
1418
+ type: {
1419
+ type: 'enum',
1420
+ values: ['tableCell']
1421
+ },
1422
+ attrs: {
1423
+ props: {
1424
+ colspan: {
1425
+ type: 'number',
1426
+ optional: true
1427
+ },
1428
+ rowspan: {
1429
+ type: 'number',
1430
+ optional: true
1431
+ },
1432
+ colwidth: {
1433
+ type: 'array',
1434
+ items: [{
1435
+ type: 'number'
1436
+ }],
1437
+ optional: true
1438
+ },
1439
+ background: {
1440
+ type: 'string',
1441
+ optional: true
1442
+ }
1443
+ },
1444
+ optional: true
1445
+ },
1446
+ content: 'tableCell_content'
1447
+ },
1448
+ required: ['content']
1449
+ };
1450
+ export const nestedExpand = {
1451
+ props: {
1452
+ type: {
1453
+ type: 'enum',
1454
+ values: ['nestedExpand']
1455
+ },
1456
+ attrs: {
1457
+ props: {
1458
+ title: {
1459
+ type: 'string',
1460
+ optional: true
1461
+ }
1462
+ }
1463
+ },
1464
+ content: 'nestedExpand_content'
1465
+ },
1466
+ required: ['content']
1467
+ };
1468
+ export const tableHeader = {
1469
+ props: {
1470
+ type: {
1471
+ type: 'enum',
1472
+ values: ['tableHeader']
1473
+ },
1474
+ attrs: {
1475
+ props: {
1476
+ colspan: {
1477
+ type: 'number',
1478
+ optional: true
1479
+ },
1480
+ rowspan: {
1481
+ type: 'number',
1482
+ optional: true
1483
+ },
1484
+ colwidth: {
1485
+ type: 'array',
1486
+ items: [{
1487
+ type: 'number'
1488
+ }],
1489
+ optional: true
1490
+ },
1491
+ background: {
1492
+ type: 'string',
1493
+ optional: true
1494
+ }
1495
+ },
1496
+ optional: true
1497
+ },
1498
+ content: 'tableCell_content'
1499
+ },
1500
+ required: ['content']
1501
+ };
1502
+ export const tableCellContent = {
1503
+ props: {
1504
+ type: {
1505
+ type: 'enum',
1506
+ values: ['tableCellContent']
1507
+ },
1508
+ content: {
1509
+ type: 'array',
1510
+ items: [['blockCard', 'blockquote', 'bulletList', 'codeBlock_with_no_marks', 'decisionList', 'embedCard', 'extension_with_marks', 'heading_with_alignment', 'heading_with_indentation', 'heading_with_no_marks', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'nestedExpand_with_no_marks', 'orderedList', 'panel', 'paragraph_with_alignment', 'paragraph_with_no_marks', 'rule', 'taskList']],
1511
+ minItems: 1,
1512
+ allowUnsupportedBlock: true
1513
+ }
1514
+ }
1515
+ };
1516
+ export const tableRow = {
1517
+ props: {
1518
+ type: {
1519
+ type: 'enum',
1520
+ values: ['tableRow']
1521
+ },
1522
+ content: {
1523
+ type: 'array',
1524
+ items: [['tableCell', 'tableHeader']]
1525
+ }
1526
+ }
1527
+ };
1528
+ export const table = {
1529
+ props: {
1530
+ type: {
1531
+ type: 'enum',
1532
+ values: ['table']
1533
+ },
1534
+ attrs: {
1535
+ props: {
1536
+ displayMode: {
1537
+ type: 'enum',
1538
+ values: ['default', 'fixed'],
1539
+ optional: true
1540
+ },
1541
+ isNumberColumnEnabled: {
1542
+ type: 'boolean',
1543
+ optional: true
1544
+ },
1545
+ layout: {
1546
+ type: 'enum',
1547
+ values: ['align-end', 'align-start', 'center', 'default', 'full-width', 'wide'],
1548
+ optional: true
1549
+ },
1550
+ localId: {
1551
+ type: 'string',
1552
+ minLength: 1,
1553
+ optional: true
1554
+ },
1555
+ width: {
1556
+ type: 'number',
1557
+ optional: true
1558
+ }
1559
+ },
1560
+ optional: true
1561
+ },
1562
+ content: {
1563
+ type: 'array',
1564
+ items: ['tableRow'],
1565
+ minItems: 1
1566
+ },
1567
+ marks: {
1568
+ type: 'array',
1569
+ items: ['fragment'],
1570
+ optional: true
1571
+ }
1572
+ }
1573
+ };
1574
+ export const non_nestable_block_content = ['blockCard', 'blockquote', 'bulletList', 'codeBlock_with_no_marks', 'decisionList', 'embedCard', 'extension_with_marks', 'heading_with_no_marks', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'orderedList', 'panel', 'paragraph_with_no_marks', 'rule', 'table', 'taskList'];
1575
+ export const bodiedExtension = {
1576
+ props: {
1577
+ type: {
1578
+ type: 'enum',
1579
+ values: ['bodiedExtension']
1580
+ },
1581
+ attrs: {
1582
+ props: {
1583
+ extensionKey: {
1584
+ minLength: 1,
1585
+ type: 'string'
1586
+ },
1587
+ extensionType: {
1588
+ minLength: 1,
1589
+ type: 'string'
1590
+ },
1591
+ parameters: {
1592
+ type: 'object',
1593
+ optional: true
1594
+ },
1595
+ text: {
1596
+ type: 'string',
1597
+ optional: true
1598
+ },
1599
+ layout: {
1600
+ type: 'enum',
1601
+ values: ['default', 'full-width', 'wide'],
1602
+ optional: true
1603
+ },
1604
+ localId: {
1605
+ minLength: 1,
1606
+ type: 'string',
1607
+ optional: true
1608
+ }
1609
+ }
1610
+ },
1611
+ content: {
1612
+ type: 'array',
1613
+ items: ['non_nestable_block_content'],
1614
+ minItems: 1,
1615
+ allowUnsupportedBlock: true
1616
+ },
1617
+ marks: {
1618
+ type: 'array',
1619
+ items: [],
1620
+ optional: true
1621
+ }
1622
+ }
1623
+ };
1624
+ export const bodiedExtension_with_marks = ['bodiedExtension', {
1625
+ props: {
1626
+ marks: {
1627
+ type: 'array',
1628
+ items: [['dataConsumer', 'fragment']],
1629
+ optional: true
1630
+ }
1631
+ }
1632
+ }];
1633
+ export const expand = {
1634
+ props: {
1635
+ type: {
1636
+ type: 'enum',
1637
+ values: ['expand']
1638
+ },
1639
+ attrs: {
1640
+ props: {
1641
+ title: {
1642
+ type: 'string',
1643
+ optional: true
1644
+ }
1645
+ }
1646
+ },
1647
+ content: {
1648
+ type: 'array',
1649
+ items: ['non_nestable_block_content'],
1650
+ minItems: 1,
1651
+ allowUnsupportedBlock: true
1652
+ },
1653
+ marks: {
1654
+ type: 'array',
1655
+ items: [],
1656
+ optional: true
1657
+ }
1658
+ }
1659
+ };
1660
+ export const expand_with_no_mark = ['expand', {
1661
+ props: {
1662
+ marks: {
1663
+ type: 'array',
1664
+ maxItems: 0,
1665
+ items: [],
1666
+ optional: true
1667
+ }
1668
+ }
1669
+ }];
1670
+ export const expand_with_breakout_mark = ['expand', {
1671
+ props: {
1672
+ marks: {
1673
+ type: 'array',
1674
+ items: ['breakout'],
1675
+ optional: true
1676
+ }
1677
+ }
1678
+ }];
1679
+ export const confluenceUnsupportedBlock = {
1680
+ props: {
1681
+ type: {
1682
+ type: 'enum',
1683
+ values: ['confluenceUnsupportedBlock']
1684
+ },
1685
+ attrs: {
1686
+ props: {
1687
+ cxhtml: {
1688
+ type: 'string'
1689
+ }
1690
+ }
1691
+ }
1692
+ }
1693
+ };
1694
+ export const block_content = ['blockCard', 'blockquote', 'bodiedExtension_with_marks', 'bulletList', 'codeBlock_with_no_marks', 'decisionList', 'embedCard', 'expand_with_no_mark', 'extension_with_marks', 'heading_with_alignment', 'heading_with_indentation', 'heading_with_no_marks', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'orderedList', 'panel', 'paragraph_with_alignment', 'paragraph_with_indentation', 'paragraph_with_no_marks', 'rule', 'table', 'taskList'];
1695
+ export const layoutColumn = {
1696
+ props: {
1697
+ type: {
1698
+ type: 'enum',
1699
+ values: ['layoutColumn']
1700
+ },
1701
+ attrs: {
1702
+ props: {
1703
+ width: {
1704
+ type: 'number',
1705
+ minimum: 0,
1706
+ maximum: 100
1707
+ }
1708
+ }
1709
+ },
1710
+ content: {
1711
+ type: 'array',
1712
+ items: ['block_content'],
1713
+ minItems: 1,
1714
+ allowUnsupportedBlock: true
1715
+ }
1716
+ }
1717
+ };
1718
+ export const layoutSection = {
1719
+ props: {
1720
+ type: {
1721
+ type: 'enum',
1722
+ values: ['layoutSection']
1723
+ },
1724
+ content: {
1725
+ type: 'array',
1726
+ items: ['layoutColumn']
1727
+ },
1728
+ marks: {
1729
+ type: 'array',
1730
+ items: ['breakout'],
1731
+ optional: true
1732
+ }
1733
+ }
1734
+ };
1735
+ export const layoutSection_full = ['layoutSection', {
1736
+ props: {
1737
+ content: {
1738
+ type: 'array',
1739
+ items: ['layoutColumn'],
1740
+ minItems: 2,
1741
+ maxItems: 3,
1742
+ allowUnsupportedBlock: true
1743
+ },
1744
+ marks: {
1745
+ type: 'array',
1746
+ items: ['breakout'],
1747
+ optional: true
1748
+ },
1749
+ type: {
1750
+ type: 'enum',
1751
+ values: ['layoutSection']
1752
+ }
1753
+ }
1754
+ }];
1755
+ export const layoutSection_with_single_column = ['layoutSection', {
1756
+ props: {
1757
+ content: {
1758
+ type: 'array',
1759
+ items: ['layoutColumn'],
1760
+ minItems: 1,
1761
+ maxItems: 3,
1762
+ allowUnsupportedBlock: true
1763
+ },
1764
+ type: {
1765
+ type: 'enum',
1766
+ values: ['layoutSection']
1767
+ },
1768
+ marks: {
1769
+ items: ['breakout'],
1770
+ optional: true,
1771
+ type: 'array'
1772
+ }
1773
+ }
1774
+ }];
1775
+ export const extensionFrame = {
1776
+ props: {
1777
+ type: {
1778
+ type: 'enum',
1779
+ values: ['extensionFrame']
1780
+ },
1781
+ content: {
1782
+ type: 'array',
1783
+ items: [['blockCard', 'blockquote', 'bodiedExtension_with_marks', 'bulletList', 'codeBlock_with_no_marks', 'decisionList', 'embedCard', 'extension_with_marks', 'heading_with_no_marks', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'orderedList', 'panel', 'paragraph_with_no_marks', 'rule', 'table', 'taskList']],
1784
+ minItems: 1
1785
+ },
1786
+ marks: {
1787
+ type: 'array',
1788
+ items: [['dataConsumer', 'fragment']],
1789
+ optional: true
1790
+ }
1791
+ }
1792
+ };
1793
+ export const multiBodiedExtension = {
1794
+ props: {
1795
+ type: {
1796
+ type: 'enum',
1797
+ values: ['multiBodiedExtension']
1798
+ },
1799
+ attrs: {
1800
+ props: {
1801
+ extensionKey: {
1802
+ type: 'string',
1803
+ minLength: 1
1804
+ },
1805
+ extensionType: {
1806
+ type: 'string',
1807
+ minLength: 1
1808
+ },
1809
+ parameters: {
1810
+ type: 'object',
1811
+ optional: true
1812
+ },
1813
+ text: {
1814
+ type: 'string',
1815
+ optional: true
1816
+ },
1817
+ layout: {
1818
+ type: 'enum',
1819
+ values: ['default', 'full-width', 'wide'],
1820
+ optional: true
1821
+ },
1822
+ localId: {
1823
+ type: 'string',
1824
+ optional: true,
1825
+ minLength: 1
1826
+ }
1827
+ }
1828
+ },
1829
+ content: {
1830
+ type: 'array',
1831
+ items: ['extensionFrame']
1832
+ },
1833
+ marks: {
1834
+ type: 'array',
1835
+ items: [],
1836
+ optional: true
1837
+ }
1838
+ }
1839
+ };
1840
+ export const blockRootOnly = ['multiBodiedExtension'];
1841
+ export const breakout = {
1842
+ props: {
1843
+ type: {
1844
+ type: 'enum',
1845
+ values: ['breakout']
1846
+ },
1847
+ attrs: {
1848
+ props: {
1849
+ mode: {
1850
+ type: 'enum',
1851
+ values: ['full-width', 'wide']
1852
+ }
1853
+ }
1854
+ }
1855
+ }
1856
+ };
1857
+ export const doc = {
1858
+ props: {
1859
+ type: {
1860
+ type: 'enum',
1861
+ values: ['doc']
1862
+ },
1863
+ version: {
1864
+ type: 'enum',
1865
+ values: [1]
1866
+ },
1867
+ content: {
1868
+ type: 'array',
1869
+ items: [['blockCard', 'blockquote', 'bodiedExtension_with_marks', 'bulletList', 'codeBlock_with_marks', 'codeBlock_with_no_marks', 'decisionList', 'embedCard', 'expand_with_breakout_mark', 'expand_with_no_mark', 'extension_with_marks', 'heading_with_alignment', 'heading_with_indentation', 'heading_with_no_marks', 'layoutSection_full', 'layoutSection_with_single_column', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'multiBodiedExtension', 'orderedList', 'panel', 'paragraph_with_alignment', 'paragraph_with_indentation', 'paragraph_with_no_marks', 'rule', 'table', 'taskList']],
1870
+ allowUnsupportedBlock: true
1871
+ }
1872
+ }
1873
+ };