@atlaskit/adf-schema 57.5.3 → 57.6.0
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 +25 -0
- package/codemods/23.0.0-move-bitbucket-schema-to-own-entry-points.ts +1 -0
- package/codemods/23.0.0-move-confluence-schema-to-own-entry-points.ts +1 -0
- package/codemods/23.0.0-move-default-schema-to-own-entry-points.ts +1 -0
- package/codemods/23.0.0-move-jira-schema-to-own-entry-points.ts +1 -0
- package/dist/cjs/next-schema/full-schema.adf.js +8 -8
- package/dist/cjs/next-schema/generated/nodeTypes.js +66 -17
- package/dist/cjs/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/cjs/next-schema/groups/blockGroup.js +1 -1
- package/dist/cjs/next-schema/groups/inlineContentGroup.js +6 -6
- package/dist/cjs/next-schema/groups/inlineGroup.js +6 -6
- package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/cjs/next-schema/groups/tableCellContentPseudoGroup.js +2 -2
- package/dist/cjs/next-schema/nodes/blockquote.js +5 -5
- package/dist/cjs/next-schema/nodes/bodiedSyncBlock.js +3 -3
- package/dist/cjs/next-schema/nodes/expand.js +3 -2
- package/dist/cjs/next-schema/nodes/extension.js +8 -0
- package/dist/cjs/next-schema/nodes/list.js +1 -1
- package/dist/cjs/next-schema/nodes/nestedExpand.js +1 -1
- package/dist/cjs/next-schema/nodes/panel.js +5 -5
- package/dist/cjs/next-schema/nodes/tableNodes.js +3 -3
- package/dist/cjs/next-schema/nodes/task.js +1 -1
- package/dist/cjs/next-schema/nodes/text.js +4 -4
- package/dist/cjs/schema/default-schema.js +3 -1
- package/dist/cjs/schema/nodes/decision-item.js +1 -1
- package/dist/cjs/schema/nodes/decision-list.js +1 -1
- package/dist/cjs/schema/nodes/extension.js +15 -1
- package/dist/cjs/schema/nodes/status.js +1 -1
- package/dist/cjs/schema/nodes/task-item.js +1 -1
- package/dist/cjs/steps/analytics.js +1 -1
- package/dist/cjs/steps/batch-attrs-step.js +1 -1
- package/dist/cjs/steps/link-meta-step.js +1 -1
- package/dist/cjs/steps/override-document-step.js +1 -1
- package/dist/cjs/steps/set-attrs.js +2 -2
- package/dist/cjs/steps/type-ahead.js +1 -1
- package/dist/cjs/utils/colors.js +1 -0
- package/dist/cjs/validator-schema/generated/validatorSpec.js +39 -15
- package/dist/es2019/next-schema/full-schema.adf.js +8 -8
- package/dist/es2019/next-schema/generated/nodeTypes.js +65 -16
- package/dist/es2019/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/es2019/next-schema/groups/blockGroup.js +1 -1
- package/dist/es2019/next-schema/groups/inlineContentGroup.js +6 -6
- package/dist/es2019/next-schema/groups/inlineGroup.js +6 -6
- package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/es2019/next-schema/groups/tableCellContentPseudoGroup.js +2 -2
- package/dist/es2019/next-schema/nodes/blockquote.js +5 -5
- package/dist/es2019/next-schema/nodes/bodiedSyncBlock.js +3 -3
- package/dist/es2019/next-schema/nodes/expand.js +3 -2
- package/dist/es2019/next-schema/nodes/extension.js +8 -0
- package/dist/es2019/next-schema/nodes/list.js +1 -1
- package/dist/es2019/next-schema/nodes/nestedExpand.js +1 -1
- package/dist/es2019/next-schema/nodes/panel.js +5 -5
- package/dist/es2019/next-schema/nodes/tableNodes.js +3 -3
- package/dist/es2019/next-schema/nodes/task.js +1 -1
- package/dist/es2019/next-schema/nodes/text.js +4 -4
- package/dist/es2019/schema/default-schema.js +3 -1
- package/dist/es2019/schema/jira-schema.js +1 -0
- package/dist/es2019/schema/nodes/decision-item.js +1 -1
- package/dist/es2019/schema/nodes/decision-list.js +1 -1
- package/dist/es2019/schema/nodes/extension.js +16 -0
- package/dist/es2019/schema/nodes/status.js +1 -1
- package/dist/es2019/schema/nodes/task-item.js +1 -1
- package/dist/es2019/steps/analytics.js +1 -1
- package/dist/es2019/steps/batch-attrs-step.js +1 -1
- package/dist/es2019/steps/link-meta-step.js +1 -1
- package/dist/es2019/steps/override-document-step.js +1 -1
- package/dist/es2019/steps/set-attrs.js +2 -2
- package/dist/es2019/steps/type-ahead.js +1 -1
- package/dist/es2019/utils/colors.js +1 -0
- package/dist/es2019/validator-schema/generated/validatorSpec.js +37 -13
- package/dist/esm/next-schema/full-schema.adf.js +8 -8
- package/dist/esm/next-schema/generated/nodeTypes.js +65 -16
- package/dist/esm/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/esm/next-schema/groups/blockGroup.js +1 -1
- package/dist/esm/next-schema/groups/inlineContentGroup.js +6 -6
- package/dist/esm/next-schema/groups/inlineGroup.js +6 -6
- package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/esm/next-schema/groups/tableCellContentPseudoGroup.js +2 -2
- package/dist/esm/next-schema/nodes/blockquote.js +5 -5
- package/dist/esm/next-schema/nodes/bodiedSyncBlock.js +3 -3
- package/dist/esm/next-schema/nodes/expand.js +3 -2
- package/dist/esm/next-schema/nodes/extension.js +8 -0
- package/dist/esm/next-schema/nodes/list.js +1 -1
- package/dist/esm/next-schema/nodes/nestedExpand.js +1 -1
- package/dist/esm/next-schema/nodes/panel.js +5 -5
- package/dist/esm/next-schema/nodes/tableNodes.js +3 -3
- package/dist/esm/next-schema/nodes/task.js +1 -1
- package/dist/esm/next-schema/nodes/text.js +4 -4
- package/dist/esm/schema/default-schema.js +3 -1
- package/dist/esm/schema/jira-schema.js +1 -0
- package/dist/esm/schema/nodes/decision-item.js +1 -1
- package/dist/esm/schema/nodes/decision-list.js +1 -1
- package/dist/esm/schema/nodes/extension.js +14 -0
- package/dist/esm/schema/nodes/status.js +1 -1
- package/dist/esm/schema/nodes/task-item.js +1 -1
- package/dist/esm/steps/analytics.js +1 -1
- package/dist/esm/steps/batch-attrs-step.js +1 -1
- package/dist/esm/steps/link-meta-step.js +1 -1
- package/dist/esm/steps/override-document-step.js +1 -1
- package/dist/esm/steps/set-attrs.js +2 -2
- package/dist/esm/steps/type-ahead.js +1 -1
- package/dist/esm/utils/colors.js +1 -0
- package/dist/esm/validator-schema/generated/validatorSpec.js +37 -13
- package/dist/json-schema/v1/stage-0.json +106 -0
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +2 -2
- package/dist/types/next-schema/generated/nodeTypes.d.ts +43 -15
- package/dist/types/next-schema/nodes/extension.d.ts +3 -1
- package/dist/types/schema/nodes/block-card.d.ts +1 -1
- package/dist/types/schema/nodes/blockquote.d.ts +3 -3
- package/dist/types/schema/nodes/bodied-rule.d.ts +1 -1
- package/dist/types/schema/nodes/bodied-sync-block.d.ts +8 -8
- package/dist/types/schema/nodes/caption.d.ts +1 -1
- package/dist/types/schema/nodes/date.d.ts +1 -1
- package/dist/types/schema/nodes/decision-item.d.ts +1 -1
- package/dist/types/schema/nodes/decision-list.d.ts +1 -1
- package/dist/types/schema/nodes/doc.d.ts +8 -8
- package/dist/types/schema/nodes/embed-card.d.ts +1 -1
- package/dist/types/schema/nodes/expand.d.ts +1 -1
- package/dist/types/schema/nodes/extension.d.ts +11 -0
- package/dist/types/schema/nodes/heading.d.ts +2 -2
- package/dist/types/schema/nodes/inline-card.d.ts +2 -2
- package/dist/types/schema/nodes/layout-column.d.ts +1 -1
- package/dist/types/schema/nodes/layout-section.d.ts +2 -2
- package/dist/types/schema/nodes/media-group.d.ts +1 -1
- package/dist/types/schema/nodes/multi-bodied-extension.d.ts +1 -1
- package/dist/types/schema/nodes/nested-expand.d.ts +11 -11
- package/dist/types/schema/nodes/panel.d.ts +1 -1
- package/dist/types/schema/nodes/paragraph.d.ts +2 -2
- package/dist/types/schema/nodes/status.d.ts +1 -1
- package/dist/types/schema/nodes/tableNodes.d.ts +1 -1
- package/dist/types/schema/nodes/task-item.d.ts +3 -3
- package/dist/types/schema/nodes/types/block-content.d.ts +12 -12
- package/dist/types/schema/nodes/types/inline-content.d.ts +1 -1
- package/dist/types/schema/nodes/types/list.d.ts +2 -2
- package/dist/types/schema/nodes/types/non-nestable-block-content.d.ts +10 -10
- package/dist/types/steps/analytics.d.ts +1 -1
- package/dist/types/steps/batch-attrs-step.d.ts +1 -1
- package/dist/types/steps/link-meta-step.d.ts +1 -1
- package/dist/types/steps/override-document-step.d.ts +2 -2
- package/dist/types/steps/set-attrs.d.ts +2 -2
- package/dist/types/steps/type-ahead.d.ts +1 -1
- package/dist/types/validator-schema/generated/validatorSpec.d.ts +24 -0
- package/json-schema/v1/stage-0.json +106 -0
- package/package.json +6 -2
- package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +2 -0
- package/schema-generators/__tests__/unit/json-full-schema-backwards-compat.unit.ts +2 -0
- package/schema-generators/helpers/writeToFile.ts +1 -0
- package/schema-generators/json-full-schema.ts +2 -0
- package/schema-generators/pm-full-schema.ts +2 -0
- package/schema-generators/validator-full-schema.ts +2 -0
|
@@ -21,7 +21,7 @@ var listItem = adfNode('listItem').define({
|
|
|
21
21
|
},
|
|
22
22
|
marks: [unsupportedMark, unsupportedNodeAttribute],
|
|
23
23
|
contentMinItems: 1,
|
|
24
|
-
content: [$onePlus($or(paragraph.use('with_font_size'), paragraph.use('with_no_marks'), bulletList, orderedList, taskList, mediaSingle.use('caption'), mediaSingle.use('full'), codeBlock, unsupportedBlock, extension.use('with_marks')))]
|
|
24
|
+
content: [$onePlus($or(paragraph.use('with_font_size'), paragraph.use('with_no_marks'), bulletList, orderedList, taskList, mediaSingle.use('caption'), mediaSingle.use('full'), codeBlock, unsupportedBlock, extension.use('with_marks'), extension.use('with_annotation')))]
|
|
25
25
|
});
|
|
26
26
|
orderedList.define({
|
|
27
27
|
selectable: false,
|
|
@@ -37,7 +37,7 @@ export var nestedExpand = adfNode('nestedExpand').define({
|
|
|
37
37
|
optional: true
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
|
-
content: [$onePlus($or.apply(void 0, nestedExpandContent.concat([extension.use('with_marks')])))],
|
|
40
|
+
content: [$onePlus($or.apply(void 0, nestedExpandContent.concat([extension.use('with_marks'), extension.use('with_annotation')])))],
|
|
41
41
|
DANGEROUS_MANUAL_OVERRIDE: {
|
|
42
42
|
'validator-spec': {
|
|
43
43
|
'props.attrs.optional': {
|
|
@@ -6,16 +6,16 @@ import { blockCard } from './blockCard';
|
|
|
6
6
|
import { bodiedRule } from './bodiedRule';
|
|
7
7
|
import { codeBlock } from './codeBlock';
|
|
8
8
|
import { decisionList } from './decisionList';
|
|
9
|
+
import { extension } from './extension';
|
|
9
10
|
import { heading } from './heading';
|
|
10
11
|
import { bulletList, orderedList } from './list';
|
|
11
12
|
import { mediaGroup } from './mediaGroup';
|
|
12
13
|
import { mediaSingle } from './mediaSingle';
|
|
13
14
|
import { paragraph } from './paragraph';
|
|
14
15
|
import { rule } from './rule';
|
|
16
|
+
import { table } from './tableStub';
|
|
15
17
|
import { taskList } from './task';
|
|
16
18
|
import { unsupportedBlock } from './unsupportedBlock';
|
|
17
|
-
import { extension } from './extension';
|
|
18
|
-
import { table } from './tableStub';
|
|
19
19
|
var panelContent = [paragraph.use('with_no_marks'), paragraph.use('with_font_size'), heading.use('with_no_marks'), bulletList, orderedList, blockCard, mediaGroup, mediaSingle.use('caption'), mediaSingle.use('full'), codeBlock, taskList, rule, rule.use('with_attrs'), bodiedRule, decisionList, unsupportedBlock];
|
|
20
20
|
export var panel = adfNode('panel').define({
|
|
21
21
|
selectable: true,
|
|
@@ -52,7 +52,7 @@ export var panel = adfNode('panel').define({
|
|
|
52
52
|
optional: true
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
content: [$onePlus($or.apply(void 0, panelContent.concat([extension.use('with_marks')])))]
|
|
55
|
+
content: [$onePlus($or.apply(void 0, panelContent.concat([extension.use('with_marks'), extension.use('with_annotation')])))]
|
|
56
56
|
}).variant('c1', {
|
|
57
57
|
// panel_c1 allows all standard panel content plus table. `stage0: true` includes it in the
|
|
58
58
|
// stage-0 JSON schema (not full) and the validator spec so table-in-panel validates.
|
|
@@ -61,7 +61,7 @@ export var panel = adfNode('panel').define({
|
|
|
61
61
|
// acceptance is gated in adf-utils behind the patch flag.
|
|
62
62
|
stage0: true,
|
|
63
63
|
noExtend: true,
|
|
64
|
-
content: [$onePlus($or.apply(void 0, panelContent.concat([extension.use('with_marks'), table])))],
|
|
64
|
+
content: [$onePlus($or.apply(void 0, panelContent.concat([extension.use('with_marks'), extension.use('with_annotation'), table])))],
|
|
65
65
|
preserveVariantNameInPm: true
|
|
66
66
|
})
|
|
67
67
|
// this variant is used to support breakout resizing for panel nodes at the document root
|
|
@@ -75,6 +75,6 @@ export var panel = adfNode('panel').define({
|
|
|
75
75
|
noExtend: true,
|
|
76
76
|
marks: [breakout, unsupportedMark, unsupportedNodeAttribute],
|
|
77
77
|
// panel_c1_root_only allows all standard panel content plus table (see c1 above).
|
|
78
|
-
content: [$onePlus($or.apply(void 0, panelContent.concat([extension.use('with_marks'), table])))],
|
|
78
|
+
content: [$onePlus($or.apply(void 0, panelContent.concat([extension.use('with_marks'), extension.use('with_annotation'), table])))],
|
|
79
79
|
preserveVariantNameInPm: true
|
|
80
80
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
2
|
import { $onePlus, $or, adfNode } from '@atlaskit/adf-schema-generator';
|
|
3
|
+
import { tableCellContentPseudoGroup, tableCellContentNodes, tableHeaderContentPseudoGroup } from '../groups/tableCellContentPseudoGroup';
|
|
3
4
|
import { fragment } from '../marks/fragment';
|
|
4
5
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
5
6
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
6
|
-
import { tableCellContentPseudoGroup, tableCellContentNodes, tableHeaderContentPseudoGroup } from '../groups/tableCellContentPseudoGroup';
|
|
7
|
-
import { tableCellContent } from './tableCellContent';
|
|
8
7
|
import { nestedExpand } from './nestedExpand';
|
|
9
|
-
import {
|
|
8
|
+
import { tableCellContent } from './tableCellContent';
|
|
10
9
|
import { table } from './tableStub';
|
|
10
|
+
import { unsupportedBlock } from './unsupportedBlock';
|
|
11
11
|
var valign = {
|
|
12
12
|
type: 'enum',
|
|
13
13
|
values: ['top', 'middle', 'bottom'],
|
|
@@ -37,7 +37,7 @@ blockTaskItem.define(_objectSpread(_objectSpread({}, commonTaskItemProps), {}, {
|
|
|
37
37
|
allowAnyChildMark: false,
|
|
38
38
|
// Override the commonTaskItemProps setting
|
|
39
39
|
contentMinItems: 1,
|
|
40
|
-
content: [$or(paragraph.use('with_no_marks'), paragraph.use('with_font_size'), extension.use('with_marks')), $zeroPlus($or(paragraph.use('with_no_marks'), paragraph.use('with_font_size'), extension.use('with_marks')))]
|
|
40
|
+
content: [$or(paragraph.use('with_no_marks'), paragraph.use('with_font_size'), extension.use('with_marks'), extension.use('with_annotation')), $zeroPlus($or(paragraph.use('with_no_marks'), paragraph.use('with_font_size'), extension.use('with_marks'), extension.use('with_annotation')))]
|
|
41
41
|
}));
|
|
42
42
|
taskList.define({
|
|
43
43
|
defining: true,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
2
2
|
import { annotation } from '../marks/annotation';
|
|
3
3
|
import { code } from '../marks/code';
|
|
4
|
+
import { backgroundColor, textColor } from '../marks/color';
|
|
5
|
+
import { confluenceInlineComment } from '../marks/confluenceInlineComment';
|
|
4
6
|
import { em } from '../marks/em';
|
|
5
7
|
import { link } from '../marks/link';
|
|
6
8
|
import { strike } from '../marks/strike';
|
|
7
9
|
import { strong } from '../marks/strong';
|
|
8
10
|
import { subsup } from '../marks/subsup';
|
|
11
|
+
import { typeAheadQuery } from '../marks/typeAheadQuery';
|
|
9
12
|
import { underline } from '../marks/underline';
|
|
10
|
-
import { backgroundColor, textColor } from '../marks/color';
|
|
11
|
-
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
12
13
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
13
|
-
import {
|
|
14
|
-
import { confluenceInlineComment } from '../marks/confluenceInlineComment';
|
|
14
|
+
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
15
15
|
export var text = adfNode('text').define({
|
|
16
16
|
marks: [],
|
|
17
17
|
hasEmptyMarks: true
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import memoizeOne from 'memoize-one';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
2
3
|
import { createSchema } from './create-schema';
|
|
3
4
|
import { extensionFrame, layoutSectionWithSingleColumn, multiBodiedExtensionRootOnlyStage0, bodiedExtensionRootOnlyStage0, extensionRootOnlyStage0, expandWithNestedExpand, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTableStage0, tableHeaderWithNestedTableStage0 } from './nodes';
|
|
4
5
|
import { bodiedRuleRootOnlyStage0 } from './nodes/bodied-rule';
|
|
5
6
|
import { extendedPanelC1RootOnlyStage0 } from './nodes/extended-panel-c1-root-only-stage0';
|
|
6
7
|
import { extendedPanelRootOnlyStage0 } from './nodes/extended-panel-root-only-stage0';
|
|
8
|
+
import { extensionRootOnlyWithAnnotationStage0 } from './nodes/extension';
|
|
7
9
|
import { ruleWithAttrsRootOnlyStage0 } from './nodes/rule';
|
|
8
10
|
var getDefaultSchemaConfig = function getDefaultSchemaConfig() {
|
|
9
11
|
var defaultSchemaConfig = {
|
|
@@ -25,7 +27,7 @@ function () {
|
|
|
25
27
|
if (stage === 'stage0') {
|
|
26
28
|
defaultSchemaConfig.customNodeSpecs = {
|
|
27
29
|
layoutSection: layoutSectionWithSingleColumn,
|
|
28
|
-
extension: extensionRootOnlyStage0,
|
|
30
|
+
extension: fg('cc_maui_annotations_on_extensions') ? extensionRootOnlyWithAnnotationStage0 : extensionRootOnlyStage0,
|
|
29
31
|
bodiedExtension: bodiedExtensionRootOnlyStage0,
|
|
30
32
|
multiBodiedExtension: multiBodiedExtensionRootOnlyStage0,
|
|
31
33
|
extensionFrame: extensionFrame,
|
|
@@ -16,6 +16,14 @@ import { getExtensionAttrs } from '../../utils/get-extension-attrs';
|
|
|
16
16
|
* @name extension_root_only_node
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
+
/**
|
|
20
|
+
* @name extension_with_annotation_node
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @name extension_root_only_with_annotation_node
|
|
25
|
+
*/
|
|
26
|
+
|
|
19
27
|
export var extension = extensionFactory({
|
|
20
28
|
parseDOM: [{
|
|
21
29
|
tag: '[data-node-type="extension"]',
|
|
@@ -39,4 +47,10 @@ export var extension = extensionFactory({
|
|
|
39
47
|
});
|
|
40
48
|
export var extensionRootOnlyStage0 = _objectSpread(_objectSpread({}, extension), {}, {
|
|
41
49
|
marks: 'breakout dataConsumer fragment unsupportedMark unsupportedNodeAttribute'
|
|
50
|
+
});
|
|
51
|
+
export var extensionWithAnnotationStage0 = _objectSpread(_objectSpread({}, extension), {}, {
|
|
52
|
+
marks: 'annotation dataConsumer fragment unsupportedMark unsupportedNodeAttribute'
|
|
53
|
+
});
|
|
54
|
+
export var extensionRootOnlyWithAnnotationStage0 = _objectSpread(_objectSpread({}, extension), {}, {
|
|
55
|
+
marks: 'annotation breakout dataConsumer fragment unsupportedMark unsupportedNodeAttribute'
|
|
42
56
|
});
|
|
@@ -10,8 +10,8 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
10
10
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11
11
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12
12
|
import { Slice } from '@atlaskit/editor-prosemirror/model';
|
|
13
|
-
import { Step } from '@atlaskit/editor-prosemirror/transform-override';
|
|
14
13
|
import { StepResult, StepMap, ReplaceStep } from '@atlaskit/editor-prosemirror/transform';
|
|
14
|
+
import { Step } from '@atlaskit/editor-prosemirror/transform-override';
|
|
15
15
|
export var analyticsStepType = 'atlaskit-analytics';
|
|
16
16
|
export var analyticsInvertStepType = 'atlaskit-analytics-invert';
|
|
17
17
|
var HISTORY_ACTIONS = /*#__PURE__*/function (HISTORY_ACTIONS) {
|
|
@@ -11,8 +11,8 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
|
|
|
11
11
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
12
12
|
// oxlint-disable-next-line import/no-duplicates
|
|
13
13
|
import { Fragment, Slice } from '@atlaskit/editor-prosemirror/model';
|
|
14
|
-
import { Step } from '@atlaskit/editor-prosemirror/transform-override';
|
|
15
14
|
import { StepResult } from '@atlaskit/editor-prosemirror/transform';
|
|
15
|
+
import { Step } from '@atlaskit/editor-prosemirror/transform-override';
|
|
16
16
|
var stepType = 'batchAttrs';
|
|
17
17
|
var isValidData = function isValidData(data) {
|
|
18
18
|
if (data !== null && !Array.isArray(data)) {
|
|
@@ -8,8 +8,8 @@ var _excluded = ["sourceEvent"];
|
|
|
8
8
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
9
9
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
10
10
|
import { Slice } from '@atlaskit/editor-prosemirror/model';
|
|
11
|
-
import { Step } from '@atlaskit/editor-prosemirror/transform-override';
|
|
12
11
|
import { ReplaceStep, StepMap, StepResult } from '@atlaskit/editor-prosemirror/transform';
|
|
12
|
+
import { Step } from '@atlaskit/editor-prosemirror/transform-override';
|
|
13
13
|
export var stepType = 'editor-linking-meta';
|
|
14
14
|
export var invertStepType = 'editor-linking-meta-invert';
|
|
15
15
|
/**
|
|
@@ -6,8 +6,8 @@ import _inherits from "@babel/runtime/helpers/inherits";
|
|
|
6
6
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
7
7
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
8
8
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
9
|
-
import { Step } from '@atlaskit/editor-prosemirror/transform-override';
|
|
10
9
|
import { StepResult, StepMap } from '@atlaskit/editor-prosemirror/transform';
|
|
10
|
+
import { Step } from '@atlaskit/editor-prosemirror/transform-override';
|
|
11
11
|
export var overrideDocumentStepType = 'override-document';
|
|
12
12
|
export var OverrideDocumentStep = /*#__PURE__*/function (_Step) {
|
|
13
13
|
function OverrideDocumentStep(opts) {
|
|
@@ -9,9 +9,9 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
9
9
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10
10
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
11
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
12
|
-
import { Step } from '@atlaskit/editor-prosemirror/transform-override';
|
|
13
|
-
import { StepResult } from '@atlaskit/editor-prosemirror/transform';
|
|
14
12
|
import { Slice, Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
13
|
+
import { StepResult } from '@atlaskit/editor-prosemirror/transform';
|
|
14
|
+
import { Step } from '@atlaskit/editor-prosemirror/transform-override';
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* For more context on what this is about:
|
|
@@ -6,8 +6,8 @@ import _inherits from "@babel/runtime/helpers/inherits";
|
|
|
6
6
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
7
7
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8
8
|
import { Slice } from '@atlaskit/editor-prosemirror/model';
|
|
9
|
-
import { Step } from '@atlaskit/editor-prosemirror/transform-override';
|
|
10
9
|
import { ReplaceStep, StepMap, StepResult } from '@atlaskit/editor-prosemirror/transform';
|
|
10
|
+
import { Step } from '@atlaskit/editor-prosemirror/transform-override';
|
|
11
11
|
export var insertTypeAheadStepType = 'atlaskit-insert-type-ahead';
|
|
12
12
|
export var InsertTypeAheadStages = /*#__PURE__*/function (InsertTypeAheadStages) {
|
|
13
13
|
InsertTypeAheadStages["DELETING_RAW_QUERY"] = "DELETING_RAW_QUERY";
|
package/dist/esm/utils/colors.js
CHANGED
|
@@ -49,7 +49,7 @@ export var backgroundColor = {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
|
-
export var block_content = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'rule_with_attrs', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks'];
|
|
52
|
+
export var block_content = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'rule_with_attrs', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'extension_with_annotation', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks'];
|
|
53
53
|
export var blockCard = {
|
|
54
54
|
props: {
|
|
55
55
|
attrs: [{
|
|
@@ -140,7 +140,7 @@ export var blockquote = {
|
|
|
140
140
|
},
|
|
141
141
|
content: {
|
|
142
142
|
allowUnsupportedBlock: true,
|
|
143
|
-
items: [['paragraph_with_no_marks', 'orderedList', 'bulletList', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'extension_with_marks']],
|
|
143
|
+
items: [['paragraph_with_no_marks', 'orderedList', 'bulletList', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'extension_with_marks', 'extension_with_annotation']],
|
|
144
144
|
minItems: 1,
|
|
145
145
|
type: 'array'
|
|
146
146
|
},
|
|
@@ -166,7 +166,7 @@ export var blockTaskItem = {
|
|
|
166
166
|
},
|
|
167
167
|
content: {
|
|
168
168
|
isTupleLike: true,
|
|
169
|
-
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'extension_with_marks'], ['paragraph_with_no_marks', 'paragraph_with_font_size', 'extension_with_marks']],
|
|
169
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'extension_with_marks', 'extension_with_annotation'], ['paragraph_with_no_marks', 'paragraph_with_font_size', 'extension_with_marks', 'extension_with_annotation']],
|
|
170
170
|
minItems: 1,
|
|
171
171
|
type: 'array'
|
|
172
172
|
},
|
|
@@ -589,7 +589,7 @@ export var doc = {
|
|
|
589
589
|
props: {
|
|
590
590
|
content: {
|
|
591
591
|
allowUnsupportedBlock: true,
|
|
592
|
-
items: [['panel_c1', 'blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'rule_with_attrs', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks', 'codeBlock_root_only', 'panel_root_only', 'panel_c1_root_only', 'rule_root_only', 'rule_with_attrs_root_only', 'bodiedRule_root_only', 'extension_root_only', 'bodiedExtension_root_only', 'multiBodiedExtension_root_only', 'layoutSection_with_single_column', 'layoutSection_full', 'multiBodiedExtension', 'expand_root_only', 'syncBlock', 'bodiedSyncBlock']],
|
|
592
|
+
items: [['panel_c1', 'blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'rule_with_attrs', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'extension_with_annotation', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks', 'codeBlock_root_only', 'panel_root_only', 'panel_c1_root_only', 'rule_root_only', 'rule_with_attrs_root_only', 'bodiedRule_root_only', 'extension_root_only', 'extension_root_only_with_annotation', 'bodiedExtension_root_only', 'multiBodiedExtension_root_only', 'layoutSection_with_single_column', 'layoutSection_full', 'multiBodiedExtension', 'expand_root_only', 'syncBlock', 'bodiedSyncBlock']],
|
|
593
593
|
type: 'array'
|
|
594
594
|
},
|
|
595
595
|
type: {
|
|
@@ -697,7 +697,7 @@ export var expand = {
|
|
|
697
697
|
},
|
|
698
698
|
content: {
|
|
699
699
|
allowUnsupportedBlock: true,
|
|
700
|
-
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks']],
|
|
700
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks']],
|
|
701
701
|
minItems: 1,
|
|
702
702
|
type: 'array'
|
|
703
703
|
},
|
|
@@ -777,6 +777,30 @@ export var extension_root_only = ['extension', {
|
|
|
777
777
|
}
|
|
778
778
|
}
|
|
779
779
|
}];
|
|
780
|
+
export var extension_root_only_with_annotation = ['extension', {
|
|
781
|
+
meta: {
|
|
782
|
+
stage0: true
|
|
783
|
+
},
|
|
784
|
+
props: {
|
|
785
|
+
marks: {
|
|
786
|
+
items: [['annotation', 'breakout', 'dataConsumer', 'fragment']],
|
|
787
|
+
optional: true,
|
|
788
|
+
type: 'array'
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
}];
|
|
792
|
+
export var extension_with_annotation = ['extension', {
|
|
793
|
+
meta: {
|
|
794
|
+
stage0: true
|
|
795
|
+
},
|
|
796
|
+
props: {
|
|
797
|
+
marks: {
|
|
798
|
+
items: [['annotation', 'dataConsumer', 'fragment']],
|
|
799
|
+
optional: true,
|
|
800
|
+
type: 'array'
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
}];
|
|
780
804
|
export var extension_with_marks = ['extension', {
|
|
781
805
|
props: {
|
|
782
806
|
marks: {
|
|
@@ -1048,7 +1072,7 @@ export var layoutColumn = {
|
|
|
1048
1072
|
},
|
|
1049
1073
|
content: {
|
|
1050
1074
|
allowUnsupportedBlock: true,
|
|
1051
|
-
items: [['panel_c1', 'blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'rule_with_attrs', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks']],
|
|
1075
|
+
items: [['panel_c1', 'blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'rule_with_attrs', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'extension_with_annotation', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks']],
|
|
1052
1076
|
minItems: 1,
|
|
1053
1077
|
type: 'array'
|
|
1054
1078
|
},
|
|
@@ -1181,7 +1205,7 @@ export var listItem = {
|
|
|
1181
1205
|
},
|
|
1182
1206
|
content: {
|
|
1183
1207
|
allowUnsupportedBlock: true,
|
|
1184
|
-
items: [['paragraph_with_font_size', 'paragraph_with_no_marks', 'bulletList', 'orderedList', 'taskList', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'extension_with_marks']],
|
|
1208
|
+
items: [['paragraph_with_font_size', 'paragraph_with_no_marks', 'bulletList', 'orderedList', 'taskList', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'extension_with_marks', 'extension_with_annotation']],
|
|
1185
1209
|
minItems: 1,
|
|
1186
1210
|
type: 'array'
|
|
1187
1211
|
},
|
|
@@ -1551,7 +1575,7 @@ export var nestedExpand = {
|
|
|
1551
1575
|
};
|
|
1552
1576
|
export var nestedExpand_content = {
|
|
1553
1577
|
allowUnsupportedBlock: true,
|
|
1554
|
-
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'codeBlock', 'bulletList', 'orderedList', 'taskList', 'decisionList', 'rule', 'rule_with_attrs', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks']],
|
|
1578
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'codeBlock', 'bulletList', 'orderedList', 'taskList', 'decisionList', 'rule', 'rule_with_attrs', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'extension_with_annotation']],
|
|
1555
1579
|
minItems: 1,
|
|
1556
1580
|
type: 'array'
|
|
1557
1581
|
};
|
|
@@ -1625,7 +1649,7 @@ export var panel = {
|
|
|
1625
1649
|
},
|
|
1626
1650
|
content: {
|
|
1627
1651
|
allowUnsupportedBlock: true,
|
|
1628
|
-
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule', 'rule_with_attrs', 'bodiedRule', 'decisionList', 'extension_with_marks']],
|
|
1652
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule', 'rule_with_attrs', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation']],
|
|
1629
1653
|
minItems: 1,
|
|
1630
1654
|
type: 'array'
|
|
1631
1655
|
},
|
|
@@ -1642,7 +1666,7 @@ export var panel_c1 = ['panel', {
|
|
|
1642
1666
|
props: {
|
|
1643
1667
|
content: {
|
|
1644
1668
|
allowUnsupportedBlock: true,
|
|
1645
|
-
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule', 'rule_with_attrs', 'bodiedRule', 'decisionList', 'extension_with_marks', 'table']],
|
|
1669
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule', 'rule_with_attrs', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation', 'table']],
|
|
1646
1670
|
minItems: 1,
|
|
1647
1671
|
type: 'array'
|
|
1648
1672
|
}
|
|
@@ -1655,7 +1679,7 @@ export var panel_c1_root_only = ['panel', {
|
|
|
1655
1679
|
props: {
|
|
1656
1680
|
content: {
|
|
1657
1681
|
allowUnsupportedBlock: true,
|
|
1658
|
-
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule', 'rule_with_attrs', 'bodiedRule', 'decisionList', 'extension_with_marks', 'table']],
|
|
1682
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule', 'rule_with_attrs', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation', 'table']],
|
|
1659
1683
|
minItems: 1,
|
|
1660
1684
|
type: 'array'
|
|
1661
1685
|
},
|
|
@@ -2031,7 +2055,7 @@ export var tableCell = {
|
|
|
2031
2055
|
},
|
|
2032
2056
|
content: {
|
|
2033
2057
|
allowUnsupportedBlock: true,
|
|
2034
|
-
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks']],
|
|
2058
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks']],
|
|
2035
2059
|
minItems: 1,
|
|
2036
2060
|
type: 'array'
|
|
2037
2061
|
},
|
|
@@ -2078,7 +2102,7 @@ export var tableHeader = {
|
|
|
2078
2102
|
}
|
|
2079
2103
|
},
|
|
2080
2104
|
content: {
|
|
2081
|
-
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks', 'nestedExpand']],
|
|
2105
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks', 'nestedExpand']],
|
|
2082
2106
|
minItems: 1,
|
|
2083
2107
|
type: 'array'
|
|
2084
2108
|
},
|