@atlaskit/adf-schema 19.2.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 +1524 -0
- package/LICENSE +13 -0
- package/build/tsconfig.json +17 -0
- package/dist/cjs/index.js +1089 -0
- package/dist/cjs/schema/bitbucket-schema.js +14 -0
- package/dist/cjs/schema/confluence-schema.js +21 -0
- package/dist/cjs/schema/create-schema.js +354 -0
- package/dist/cjs/schema/default-schema.js +52 -0
- package/dist/cjs/schema/groups.js +35 -0
- package/dist/cjs/schema/index.js +755 -0
- package/dist/cjs/schema/inline-nodes.js +20 -0
- package/dist/cjs/schema/jira-schema.js +118 -0
- package/dist/cjs/schema/marks/alignment.js +39 -0
- package/dist/cjs/schema/marks/annotation.js +96 -0
- package/dist/cjs/schema/marks/breakout.js +32 -0
- package/dist/cjs/schema/marks/code.js +46 -0
- package/dist/cjs/schema/marks/confluence-inline-comment.js +30 -0
- package/dist/cjs/schema/marks/data-consumer.js +71 -0
- package/dist/cjs/schema/marks/em.js +25 -0
- package/dist/cjs/schema/marks/indentation.js +32 -0
- package/dist/cjs/schema/marks/index.js +189 -0
- package/dist/cjs/schema/marks/link.js +128 -0
- package/dist/cjs/schema/marks/strike.js +29 -0
- package/dist/cjs/schema/marks/strong.js +37 -0
- package/dist/cjs/schema/marks/subsup.js +61 -0
- package/dist/cjs/schema/marks/text-color.js +93 -0
- package/dist/cjs/schema/marks/type-ahead-query.js +31 -0
- package/dist/cjs/schema/marks/underline.js +25 -0
- package/dist/cjs/schema/marks/unsupported-mark.js +15 -0
- package/dist/cjs/schema/marks/unsupported-node-attributes.js +16 -0
- package/dist/cjs/schema/nodes/block-card.js +56 -0
- package/dist/cjs/schema/nodes/blockquote.js +23 -0
- package/dist/cjs/schema/nodes/bodied-extension.js +66 -0
- package/dist/cjs/schema/nodes/bullet-list.js +29 -0
- package/dist/cjs/schema/nodes/caption.js +27 -0
- package/dist/cjs/schema/nodes/code-block.js +160 -0
- package/dist/cjs/schema/nodes/confluence-jira-issue.js +54 -0
- package/dist/cjs/schema/nodes/confluence-unsupported-block.js +33 -0
- package/dist/cjs/schema/nodes/confluence-unsupported-inline.js +34 -0
- package/dist/cjs/schema/nodes/date.js +36 -0
- package/dist/cjs/schema/nodes/decision-item.js +45 -0
- package/dist/cjs/schema/nodes/decision-list.js +45 -0
- package/dist/cjs/schema/nodes/doc.js +15 -0
- package/dist/cjs/schema/nodes/embed-card.js +62 -0
- package/dist/cjs/schema/nodes/emoji.js +73 -0
- package/dist/cjs/schema/nodes/expand.js +86 -0
- package/dist/cjs/schema/nodes/extension.js +59 -0
- package/dist/cjs/schema/nodes/hard-break.js +22 -0
- package/dist/cjs/schema/nodes/heading.js +69 -0
- package/dist/cjs/schema/nodes/image.js +40 -0
- package/dist/cjs/schema/nodes/index.js +539 -0
- package/dist/cjs/schema/nodes/inline-card.js +64 -0
- package/dist/cjs/schema/nodes/inline-extension.js +54 -0
- package/dist/cjs/schema/nodes/layout-column.js +53 -0
- package/dist/cjs/schema/nodes/layout-section.js +61 -0
- package/dist/cjs/schema/nodes/list-item.js +25 -0
- package/dist/cjs/schema/nodes/media-group.js +29 -0
- package/dist/cjs/schema/nodes/media-inline.js +11 -0
- package/dist/cjs/schema/nodes/media-single.js +101 -0
- package/dist/cjs/schema/nodes/media.js +196 -0
- package/dist/cjs/schema/nodes/mention.js +90 -0
- package/dist/cjs/schema/nodes/nested-expand.js +64 -0
- package/dist/cjs/schema/nodes/ordered-list.js +29 -0
- package/dist/cjs/schema/nodes/panel.js +85 -0
- package/dist/cjs/schema/nodes/paragraph.js +45 -0
- package/dist/cjs/schema/nodes/placeholder.js +39 -0
- package/dist/cjs/schema/nodes/rule.js +21 -0
- package/dist/cjs/schema/nodes/status.js +56 -0
- package/dist/cjs/schema/nodes/tableNodes.js +276 -0
- package/dist/cjs/schema/nodes/task-item.js +46 -0
- package/dist/cjs/schema/nodes/task-list.js +45 -0
- package/dist/cjs/schema/nodes/text.js +17 -0
- package/dist/cjs/schema/nodes/types/block-content.js +5 -0
- package/dist/cjs/schema/nodes/types/extensions.js +5 -0
- package/dist/cjs/schema/nodes/types/inline-content.js +5 -0
- package/dist/cjs/schema/nodes/types/mark.js +5 -0
- package/dist/cjs/schema/nodes/types/non-nestable-block-content.js +5 -0
- package/dist/cjs/schema/nodes/types/rich-media-common.js +5 -0
- package/dist/cjs/schema/nodes/unknown-block.js +21 -0
- package/dist/cjs/schema/nodes/unsupported-block.js +33 -0
- package/dist/cjs/schema/nodes/unsupported-inline.js +32 -0
- package/dist/cjs/schema/unsupported.js +8 -0
- package/dist/cjs/steps/analytics.js +183 -0
- package/dist/cjs/steps/set-attrs.js +106 -0
- package/dist/cjs/steps/table/add-column.js +453 -0
- package/dist/cjs/steps/table/constants.js +13 -0
- package/dist/cjs/steps/table/sort-column.js +87 -0
- package/dist/cjs/steps/table/types.js +5 -0
- package/dist/cjs/steps/table/utils/cell-step.js +233 -0
- package/dist/cjs/steps/table/utils/cells-at-column.js +94 -0
- package/dist/cjs/steps/table/utils/find-column.js +94 -0
- package/dist/cjs/steps/table/utils/get-table-rect-from-doc.js +38 -0
- package/dist/cjs/steps/table/utils/side-effects/rows.js +370 -0
- package/dist/cjs/steps/table/utils/side-effects/side-effects.js +106 -0
- package/dist/cjs/steps/table/utils/side-effects/table.js +126 -0
- package/dist/cjs/steps/table/utils/side-effects/types.js +5 -0
- package/dist/cjs/steps/table/utils/table-map.js +36 -0
- package/dist/cjs/steps/type-ahead.js +134 -0
- package/dist/cjs/steps.js +59 -0
- package/dist/cjs/utils/colors.js +234 -0
- package/dist/cjs/utils/confluence/emoji.js +97 -0
- package/dist/cjs/utils/extensions.js +39 -0
- package/dist/cjs/utils/index.js +373 -0
- package/dist/cjs/utils/parseDOM.js +12 -0
- package/dist/cjs/utils/url.js +38 -0
- package/dist/cjs/utils/uuid.js +28 -0
- package/dist/cjs/version.json +5 -0
- package/dist/es2019/index.js +2 -0
- package/dist/es2019/schema/bitbucket-schema.js +5 -0
- package/dist/es2019/schema/confluence-schema.js +11 -0
- package/dist/es2019/schema/create-schema.js +325 -0
- package/dist/es2019/schema/default-schema.js +35 -0
- package/dist/es2019/schema/groups.js +23 -0
- package/dist/es2019/schema/index.js +9 -0
- package/dist/es2019/schema/inline-nodes.js +3 -0
- package/dist/es2019/schema/jira-schema.js +88 -0
- package/dist/es2019/schema/marks/alignment.js +32 -0
- package/dist/es2019/schema/marks/annotation.js +80 -0
- package/dist/es2019/schema/marks/breakout.js +29 -0
- package/dist/es2019/schema/marks/code.js +43 -0
- package/dist/es2019/schema/marks/confluence-inline-comment.js +24 -0
- package/dist/es2019/schema/marks/data-consumer.js +61 -0
- package/dist/es2019/schema/marks/em.js +22 -0
- package/dist/es2019/schema/marks/indentation.js +27 -0
- package/dist/es2019/schema/marks/index.js +17 -0
- package/dist/es2019/schema/marks/link.js +105 -0
- package/dist/es2019/schema/marks/strike.js +24 -0
- package/dist/es2019/schema/marks/strong.js +40 -0
- package/dist/es2019/schema/marks/subsup.js +51 -0
- package/dist/es2019/schema/marks/text-color.js +67 -0
- package/dist/es2019/schema/marks/type-ahead-query.js +23 -0
- package/dist/es2019/schema/marks/underline.js +20 -0
- package/dist/es2019/schema/marks/unsupported-mark.js +9 -0
- package/dist/es2019/schema/marks/unsupported-node-attributes.js +10 -0
- package/dist/es2019/schema/nodes/block-card.js +50 -0
- package/dist/es2019/schema/nodes/blockquote.js +17 -0
- package/dist/es2019/schema/nodes/bodied-extension.js +58 -0
- package/dist/es2019/schema/nodes/bullet-list.js +23 -0
- package/dist/es2019/schema/nodes/caption.js +21 -0
- package/dist/es2019/schema/nodes/code-block.js +143 -0
- package/dist/es2019/schema/nodes/confluence-jira-issue.js +49 -0
- package/dist/es2019/schema/nodes/confluence-unsupported-block.js +30 -0
- package/dist/es2019/schema/nodes/confluence-unsupported-inline.js +31 -0
- package/dist/es2019/schema/nodes/date.js +28 -0
- package/dist/es2019/schema/nodes/decision-item.js +37 -0
- package/dist/es2019/schema/nodes/decision-list.js +41 -0
- package/dist/es2019/schema/nodes/doc.js +7 -0
- package/dist/es2019/schema/nodes/embed-card.js +55 -0
- package/dist/es2019/schema/nodes/emoji.js +67 -0
- package/dist/es2019/schema/nodes/expand.js +73 -0
- package/dist/es2019/schema/nodes/extension.js +51 -0
- package/dist/es2019/schema/nodes/hard-break.js +16 -0
- package/dist/es2019/schema/nodes/heading.js +63 -0
- package/dist/es2019/schema/nodes/image.js +37 -0
- package/dist/es2019/schema/nodes/index.js +44 -0
- package/dist/es2019/schema/nodes/inline-card.js +58 -0
- package/dist/es2019/schema/nodes/inline-extension.js +46 -0
- package/dist/es2019/schema/nodes/layout-column.js +49 -0
- package/dist/es2019/schema/nodes/layout-section.js +56 -0
- package/dist/es2019/schema/nodes/list-item.js +20 -0
- package/dist/es2019/schema/nodes/media-group.js +23 -0
- package/dist/es2019/schema/nodes/media-inline.js +2 -0
- package/dist/es2019/schema/nodes/media-single.js +77 -0
- package/dist/es2019/schema/nodes/media.js +165 -0
- package/dist/es2019/schema/nodes/mention.js +81 -0
- package/dist/es2019/schema/nodes/nested-expand.js +58 -0
- package/dist/es2019/schema/nodes/ordered-list.js +23 -0
- package/dist/es2019/schema/nodes/panel.js +79 -0
- package/dist/es2019/schema/nodes/paragraph.js +39 -0
- package/dist/es2019/schema/nodes/placeholder.js +33 -0
- package/dist/es2019/schema/nodes/rule.js +15 -0
- package/dist/es2019/schema/nodes/status.js +54 -0
- package/dist/es2019/schema/nodes/tableNodes.js +222 -0
- package/dist/es2019/schema/nodes/task-item.js +38 -0
- package/dist/es2019/schema/nodes/task-list.js +37 -0
- package/dist/es2019/schema/nodes/text.js +7 -0
- package/dist/es2019/schema/nodes/types/block-content.js +1 -0
- package/dist/es2019/schema/nodes/types/extensions.js +1 -0
- package/dist/es2019/schema/nodes/types/inline-content.js +1 -0
- package/dist/es2019/schema/nodes/types/mark.js +1 -0
- package/dist/es2019/schema/nodes/types/non-nestable-block-content.js +1 -0
- package/dist/es2019/schema/nodes/types/rich-media-common.js +1 -0
- package/dist/es2019/schema/nodes/unknown-block.js +16 -0
- package/dist/es2019/schema/nodes/unsupported-block.js +26 -0
- package/dist/es2019/schema/nodes/unsupported-inline.js +25 -0
- package/dist/es2019/schema/unsupported.js +1 -0
- package/dist/es2019/steps/analytics.js +122 -0
- package/dist/es2019/steps/set-attrs.js +57 -0
- package/dist/es2019/steps/table/add-column.js +349 -0
- package/dist/es2019/steps/table/constants.js +6 -0
- package/dist/es2019/steps/table/sort-column.js +41 -0
- package/dist/es2019/steps/table/types.js +1 -0
- package/dist/es2019/steps/table/utils/cell-step.js +204 -0
- package/dist/es2019/steps/table/utils/cells-at-column.js +57 -0
- package/dist/es2019/steps/table/utils/find-column.js +86 -0
- package/dist/es2019/steps/table/utils/get-table-rect-from-doc.js +30 -0
- package/dist/es2019/steps/table/utils/side-effects/rows.js +297 -0
- package/dist/es2019/steps/table/utils/side-effects/side-effects.js +81 -0
- package/dist/es2019/steps/table/utils/side-effects/table.js +99 -0
- package/dist/es2019/steps/table/utils/side-effects/types.js +1 -0
- package/dist/es2019/steps/table/utils/table-map.js +19 -0
- package/dist/es2019/steps/type-ahead.js +85 -0
- package/dist/es2019/steps.js +6 -0
- package/dist/es2019/utils/colors.js +148 -0
- package/dist/es2019/utils/confluence/emoji.js +83 -0
- package/dist/es2019/utils/extensions.js +26 -0
- package/dist/es2019/utils/index.js +4 -0
- package/dist/es2019/utils/parseDOM.js +1 -0
- package/dist/es2019/utils/url.js +19 -0
- package/dist/es2019/utils/uuid.js +18 -0
- package/dist/es2019/version.json +5 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/schema/bitbucket-schema.js +5 -0
- package/dist/esm/schema/confluence-schema.js +11 -0
- package/dist/esm/schema/create-schema.js +338 -0
- package/dist/esm/schema/default-schema.js +36 -0
- package/dist/esm/schema/groups.js +23 -0
- package/dist/esm/schema/index.js +9 -0
- package/dist/esm/schema/inline-nodes.js +5 -0
- package/dist/esm/schema/jira-schema.js +88 -0
- package/dist/esm/schema/marks/alignment.js +30 -0
- package/dist/esm/schema/marks/annotation.js +82 -0
- package/dist/esm/schema/marks/breakout.js +25 -0
- package/dist/esm/schema/marks/code.js +41 -0
- package/dist/esm/schema/marks/confluence-inline-comment.js +22 -0
- package/dist/esm/schema/marks/data-consumer.js +63 -0
- package/dist/esm/schema/marks/em.js +20 -0
- package/dist/esm/schema/marks/indentation.js +23 -0
- package/dist/esm/schema/marks/index.js +17 -0
- package/dist/esm/schema/marks/link.js +113 -0
- package/dist/esm/schema/marks/strike.js +24 -0
- package/dist/esm/schema/marks/strong.js +32 -0
- package/dist/esm/schema/marks/subsup.js +53 -0
- package/dist/esm/schema/marks/text-color.js +78 -0
- package/dist/esm/schema/marks/type-ahead-query.js +21 -0
- package/dist/esm/schema/marks/underline.js +20 -0
- package/dist/esm/schema/marks/unsupported-mark.js +8 -0
- package/dist/esm/schema/marks/unsupported-node-attributes.js +9 -0
- package/dist/esm/schema/nodes/block-card.js +48 -0
- package/dist/esm/schema/nodes/blockquote.js +15 -0
- package/dist/esm/schema/nodes/bodied-extension.js +58 -0
- package/dist/esm/schema/nodes/bullet-list.js +21 -0
- package/dist/esm/schema/nodes/caption.js +19 -0
- package/dist/esm/schema/nodes/code-block.js +149 -0
- package/dist/esm/schema/nodes/confluence-jira-issue.js +47 -0
- package/dist/esm/schema/nodes/confluence-unsupported-block.js +26 -0
- package/dist/esm/schema/nodes/confluence-unsupported-inline.js +27 -0
- package/dist/esm/schema/nodes/date.js +28 -0
- package/dist/esm/schema/nodes/decision-item.js +36 -0
- package/dist/esm/schema/nodes/decision-list.js +39 -0
- package/dist/esm/schema/nodes/doc.js +7 -0
- package/dist/esm/schema/nodes/embed-card.js +54 -0
- package/dist/esm/schema/nodes/emoji.js +68 -0
- package/dist/esm/schema/nodes/expand.js +75 -0
- package/dist/esm/schema/nodes/extension.js +51 -0
- package/dist/esm/schema/nodes/hard-break.js +14 -0
- package/dist/esm/schema/nodes/heading.js +61 -0
- package/dist/esm/schema/nodes/image.js +33 -0
- package/dist/esm/schema/nodes/index.js +44 -0
- package/dist/esm/schema/nodes/inline-card.js +56 -0
- package/dist/esm/schema/nodes/inline-extension.js +46 -0
- package/dist/esm/schema/nodes/layout-column.js +45 -0
- package/dist/esm/schema/nodes/layout-section.js +52 -0
- package/dist/esm/schema/nodes/list-item.js +18 -0
- package/dist/esm/schema/nodes/media-group.js +21 -0
- package/dist/esm/schema/nodes/media-inline.js +2 -0
- package/dist/esm/schema/nodes/media-single.js +84 -0
- package/dist/esm/schema/nodes/media.js +174 -0
- package/dist/esm/schema/nodes/mention.js +80 -0
- package/dist/esm/schema/nodes/nested-expand.js +56 -0
- package/dist/esm/schema/nodes/ordered-list.js +21 -0
- package/dist/esm/schema/nodes/panel.js +76 -0
- package/dist/esm/schema/nodes/paragraph.js +37 -0
- package/dist/esm/schema/nodes/placeholder.js +31 -0
- package/dist/esm/schema/nodes/rule.js +13 -0
- package/dist/esm/schema/nodes/status.js +51 -0
- package/dist/esm/schema/nodes/tableNodes.js +238 -0
- package/dist/esm/schema/nodes/task-item.js +37 -0
- package/dist/esm/schema/nodes/task-list.js +35 -0
- package/dist/esm/schema/nodes/text.js +9 -0
- package/dist/esm/schema/nodes/types/block-content.js +1 -0
- package/dist/esm/schema/nodes/types/extensions.js +1 -0
- package/dist/esm/schema/nodes/types/inline-content.js +1 -0
- package/dist/esm/schema/nodes/types/mark.js +1 -0
- package/dist/esm/schema/nodes/types/non-nestable-block-content.js +1 -0
- package/dist/esm/schema/nodes/types/rich-media-common.js +1 -0
- package/dist/esm/schema/nodes/unknown-block.js +14 -0
- package/dist/esm/schema/nodes/unsupported-block.js +26 -0
- package/dist/esm/schema/nodes/unsupported-inline.js +25 -0
- package/dist/esm/schema/unsupported.js +1 -0
- package/dist/esm/steps/analytics.js +166 -0
- package/dist/esm/steps/set-attrs.js +89 -0
- package/dist/esm/steps/table/add-column.js +431 -0
- package/dist/esm/steps/table/constants.js +6 -0
- package/dist/esm/steps/table/sort-column.js +69 -0
- package/dist/esm/steps/table/types.js +1 -0
- package/dist/esm/steps/table/utils/cell-step.js +216 -0
- package/dist/esm/steps/table/utils/cells-at-column.js +84 -0
- package/dist/esm/steps/table/utils/find-column.js +87 -0
- package/dist/esm/steps/table/utils/get-table-rect-from-doc.js +30 -0
- package/dist/esm/steps/table/utils/side-effects/rows.js +360 -0
- package/dist/esm/steps/table/utils/side-effects/side-effects.js +93 -0
- package/dist/esm/steps/table/utils/side-effects/table.js +113 -0
- package/dist/esm/steps/table/utils/side-effects/types.js +1 -0
- package/dist/esm/steps/table/utils/table-map.js +19 -0
- package/dist/esm/steps/type-ahead.js +117 -0
- package/dist/esm/steps.js +6 -0
- package/dist/esm/utils/colors.js +160 -0
- package/dist/esm/utils/confluence/emoji.js +85 -0
- package/dist/esm/utils/extensions.js +27 -0
- package/dist/esm/utils/index.js +4 -0
- package/dist/esm/utils/parseDOM.js +3 -0
- package/dist/esm/utils/url.js +21 -0
- package/dist/esm/utils/uuid.js +18 -0
- package/dist/esm/version.json +5 -0
- package/dist/json-schema/v1/full.json +2536 -0
- package/dist/json-schema/v1/stage-0.json +2737 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/schema/bitbucket-schema.d.ts +2 -0
- package/dist/types/schema/confluence-schema.d.ts +3 -0
- package/dist/types/schema/create-schema.d.ts +31 -0
- package/dist/types/schema/default-schema.d.ts +7 -0
- package/dist/types/schema/groups.d.ts +6 -0
- package/dist/types/schema/index.d.ts +11 -0
- package/dist/types/schema/inline-nodes.d.ts +1 -0
- package/dist/types/schema/jira-schema.d.ts +26 -0
- package/dist/types/schema/marks/alignment.d.ts +16 -0
- package/dist/types/schema/marks/annotation.d.ts +32 -0
- package/dist/types/schema/marks/breakout.d.ts +12 -0
- package/dist/types/schema/marks/code.d.ts +8 -0
- package/dist/types/schema/marks/confluence-inline-comment.d.ts +12 -0
- package/dist/types/schema/marks/data-consumer.d.ts +41 -0
- package/dist/types/schema/marks/em.d.ts +8 -0
- package/dist/types/schema/marks/indentation.d.ts +16 -0
- package/dist/types/schema/marks/index.d.ts +30 -0
- package/dist/types/schema/marks/link.d.ts +32 -0
- package/dist/types/schema/marks/strike.d.ts +8 -0
- package/dist/types/schema/marks/strong.d.ts +8 -0
- package/dist/types/schema/marks/subsup.d.ts +15 -0
- package/dist/types/schema/marks/text-color.d.ts +21 -0
- package/dist/types/schema/marks/type-ahead-query.d.ts +2 -0
- package/dist/types/schema/marks/underline.d.ts +8 -0
- package/dist/types/schema/marks/unsupported-mark.d.ts +2 -0
- package/dist/types/schema/marks/unsupported-node-attributes.d.ts +2 -0
- package/dist/types/schema/nodes/block-card.d.ts +19 -0
- package/dist/types/schema/nodes/blockquote.d.ts +14 -0
- package/dist/types/schema/nodes/bodied-extension.d.ts +27 -0
- package/dist/types/schema/nodes/bullet-list.d.ts +14 -0
- package/dist/types/schema/nodes/caption.d.ts +21 -0
- package/dist/types/schema/nodes/code-block.d.ts +31 -0
- package/dist/types/schema/nodes/confluence-jira-issue.d.ts +2 -0
- package/dist/types/schema/nodes/confluence-unsupported-block.d.ts +2 -0
- package/dist/types/schema/nodes/confluence-unsupported-inline.d.ts +2 -0
- package/dist/types/schema/nodes/date.d.ts +14 -0
- package/dist/types/schema/nodes/decision-item.d.ts +17 -0
- package/dist/types/schema/nodes/decision-list.d.ts +18 -0
- package/dist/types/schema/nodes/doc.d.ts +18 -0
- package/dist/types/schema/nodes/embed-card.d.ts +15 -0
- package/dist/types/schema/nodes/emoji.d.ts +14 -0
- package/dist/types/schema/nodes/expand.d.ts +33 -0
- package/dist/types/schema/nodes/extension.d.ts +21 -0
- package/dist/types/schema/nodes/hard-break.d.ts +11 -0
- package/dist/types/schema/nodes/heading.d.ts +36 -0
- package/dist/types/schema/nodes/image.d.ts +2 -0
- package/dist/types/schema/nodes/index.d.ts +93 -0
- package/dist/types/schema/nodes/inline-card.d.ts +19 -0
- package/dist/types/schema/nodes/inline-extension.d.ts +21 -0
- package/dist/types/schema/nodes/layout-column.d.ts +21 -0
- package/dist/types/schema/nodes/layout-section.d.ts +44 -0
- package/dist/types/schema/nodes/list-item.d.ts +20 -0
- package/dist/types/schema/nodes/media-group.d.ts +14 -0
- package/dist/types/schema/nodes/media-inline.d.ts +16 -0
- package/dist/types/schema/nodes/media-single.d.ts +59 -0
- package/dist/types/schema/nodes/media.d.ts +60 -0
- package/dist/types/schema/nodes/mention.d.ts +26 -0
- package/dist/types/schema/nodes/nested-expand.d.ts +27 -0
- package/dist/types/schema/nodes/ordered-list.d.ts +20 -0
- package/dist/types/schema/nodes/panel.d.ts +46 -0
- package/dist/types/schema/nodes/paragraph.d.ts +37 -0
- package/dist/types/schema/nodes/placeholder.d.ts +11 -0
- package/dist/types/schema/nodes/rule.d.ts +8 -0
- package/dist/types/schema/nodes/status.d.ts +20 -0
- package/dist/types/schema/nodes/tableNodes.d.ts +111 -0
- package/dist/types/schema/nodes/task-item.d.ts +17 -0
- package/dist/types/schema/nodes/task-list.d.ts +21 -0
- package/dist/types/schema/nodes/text.d.ts +15 -0
- package/dist/types/schema/nodes/types/block-content.d.ts +22 -0
- package/dist/types/schema/nodes/types/extensions.d.ts +34 -0
- package/dist/types/schema/nodes/types/inline-content.d.ts +32 -0
- package/dist/types/schema/nodes/types/mark.d.ts +15 -0
- package/dist/types/schema/nodes/types/non-nestable-block-content.d.ts +20 -0
- package/dist/types/schema/nodes/types/rich-media-common.d.ts +9 -0
- package/dist/types/schema/nodes/unknown-block.d.ts +3 -0
- package/dist/types/schema/nodes/unsupported-block.d.ts +2 -0
- package/dist/types/schema/nodes/unsupported-inline.d.ts +2 -0
- package/dist/types/schema/unsupported.d.ts +1 -0
- package/dist/types/steps/analytics.d.ts +59 -0
- package/dist/types/steps/set-attrs.d.ts +23 -0
- package/dist/types/steps/table/add-column.d.ts +88 -0
- package/dist/types/steps/table/constants.d.ts +4 -0
- package/dist/types/steps/table/sort-column.d.ts +18 -0
- package/dist/types/steps/table/types.d.ts +39 -0
- package/dist/types/steps/table/utils/cell-step.d.ts +47 -0
- package/dist/types/steps/table/utils/cells-at-column.d.ts +20 -0
- package/dist/types/steps/table/utils/find-column.d.ts +8 -0
- package/dist/types/steps/table/utils/get-table-rect-from-doc.d.ts +8 -0
- package/dist/types/steps/table/utils/side-effects/rows.d.ts +25 -0
- package/dist/types/steps/table/utils/side-effects/side-effects.d.ts +15 -0
- package/dist/types/steps/table/utils/side-effects/table.d.ts +16 -0
- package/dist/types/steps/table/utils/side-effects/types.d.ts +33 -0
- package/dist/types/steps/table/utils/table-map.d.ts +6 -0
- package/dist/types/steps/type-ahead.d.ts +35 -0
- package/dist/types/steps.d.ts +8 -0
- package/dist/types/utils/colors.d.ts +71 -0
- package/dist/types/utils/confluence/emoji.d.ts +50 -0
- package/dist/types/utils/extensions.d.ts +3 -0
- package/dist/types/utils/index.d.ts +6 -0
- package/dist/types/utils/parseDOM.d.ts +1 -0
- package/dist/types/utils/url.d.ts +15 -0
- package/dist/types/utils/uuid.d.ts +5 -0
- package/document-fixtures/unsupported-content.json +526 -0
- package/json-schema/v1/full.json +2536 -0
- package/json-schema/v1/stage-0.json +2737 -0
- package/package.json +63 -0
- package/steps/package.json +7 -0
- package/test-helpers/html-helpers.ts +40 -0
- package/test-helpers/matches.ts +8 -0
- package/test-helpers/schema-builder.ts +329 -0
- package/test-helpers/schema.ts +79 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Confluence glyphs ac:name of <ac:emoticon /> map to new emojis
|
|
3
|
+
* {
|
|
4
|
+
* [ac:name] : ['emoji-id', 'emoji-shortName', 'emoji-fallback']
|
|
5
|
+
* ...
|
|
6
|
+
* }
|
|
7
|
+
* Glyphs that do not map to Fabric Emoji
|
|
8
|
+
* will be mapped to Emoji Id '2b50' (:star:) with preserving ac:name as shortName attribute;
|
|
9
|
+
*/
|
|
10
|
+
declare const acNameToEmojiMap: {
|
|
11
|
+
smile: string[];
|
|
12
|
+
sad: string[];
|
|
13
|
+
cheeky: string[];
|
|
14
|
+
laugh: string[];
|
|
15
|
+
wink: string[];
|
|
16
|
+
information: string[];
|
|
17
|
+
tick: string[];
|
|
18
|
+
cross: string[];
|
|
19
|
+
warning: string[];
|
|
20
|
+
plus: string[];
|
|
21
|
+
minus: string[];
|
|
22
|
+
question: string[];
|
|
23
|
+
'thumbs-up': string[];
|
|
24
|
+
'thumbs-down': string[];
|
|
25
|
+
'light-on': string[];
|
|
26
|
+
'yellow-star': string[];
|
|
27
|
+
'light-off': string[];
|
|
28
|
+
'red-star': string[];
|
|
29
|
+
'green-star': string[];
|
|
30
|
+
'blue-star': string[];
|
|
31
|
+
heart: string[];
|
|
32
|
+
'broken-heart': string[];
|
|
33
|
+
};
|
|
34
|
+
export declare type NameToEmoji = keyof typeof acNameToEmojiMap;
|
|
35
|
+
export declare function acNameToEmoji(acName: NameToEmoji): {
|
|
36
|
+
id: string;
|
|
37
|
+
shortName: string;
|
|
38
|
+
text: string;
|
|
39
|
+
};
|
|
40
|
+
export declare function emojiIdToAcName(emojiId: string): never;
|
|
41
|
+
export declare function acShortcutToEmoji(hipchatEmoticonShortName: string): {
|
|
42
|
+
id: string;
|
|
43
|
+
shortName: string;
|
|
44
|
+
text: string;
|
|
45
|
+
};
|
|
46
|
+
export declare function getEmojiAcName({ id, shortName, }: {
|
|
47
|
+
id: string;
|
|
48
|
+
shortName: string;
|
|
49
|
+
}): string;
|
|
50
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { acNameToEmoji, acShortcutToEmoji, emojiIdToAcName, getEmojiAcName, } from './confluence/emoji';
|
|
2
|
+
export type { NameToEmoji } from './confluence/emoji';
|
|
3
|
+
export { generateUuid, uuid } from './uuid';
|
|
4
|
+
export { B100, B400, B50, B500, B75, G200, G300, G400, G50, G500, G75, N0, N20, N200, N30, N300, N40, N50, N500, N60, N80, N800, N90, P100, P300, P400, P50, P500, P75, R100, R300, R400, R50, R500, R75, T100, T300, T50, T500, T75, Y200, Y400, Y50, Y500, Y75, hexToRgb, hexToRgba, isHex, isRgb, normalizeHexColor, rgbToHex, } from './colors';
|
|
5
|
+
export { getLinkMatch, isSafeUrl, normalizeUrl } from './url';
|
|
6
|
+
export type { Match } from './url';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isDOMElement: (maybeNode: unknown) => maybeNode is Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const isSafeUrl: (url: string) => boolean;
|
|
2
|
+
export interface Match {
|
|
3
|
+
schema: any;
|
|
4
|
+
index: number;
|
|
5
|
+
lastIndex: number;
|
|
6
|
+
raw: string;
|
|
7
|
+
text: string;
|
|
8
|
+
url: string;
|
|
9
|
+
length?: number;
|
|
10
|
+
}
|
|
11
|
+
export declare function getLinkMatch(str: string): '' | Match | null;
|
|
12
|
+
/**
|
|
13
|
+
* Adds protocol to url if needed.
|
|
14
|
+
*/
|
|
15
|
+
export declare function normalizeUrl(url: string): string;
|
|
@@ -0,0 +1,526 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"type": "doc",
|
|
4
|
+
"content": [
|
|
5
|
+
{
|
|
6
|
+
"type": "heading",
|
|
7
|
+
"attrs": {
|
|
8
|
+
"level": 3
|
|
9
|
+
},
|
|
10
|
+
"content": [
|
|
11
|
+
{
|
|
12
|
+
"type": "text",
|
|
13
|
+
"text": "Invalid node type"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "codBlock",
|
|
19
|
+
"attrs": {},
|
|
20
|
+
"content": [
|
|
21
|
+
{
|
|
22
|
+
"type": "text",
|
|
23
|
+
"text": "Invalid code block"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "heading",
|
|
29
|
+
"attrs": {
|
|
30
|
+
"level": 3
|
|
31
|
+
},
|
|
32
|
+
"content": [
|
|
33
|
+
{
|
|
34
|
+
"type": "text",
|
|
35
|
+
"text": "Invalid node attributes"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "codeBlock",
|
|
41
|
+
"attrs": {
|
|
42
|
+
"language": 1
|
|
43
|
+
},
|
|
44
|
+
"content": [
|
|
45
|
+
{
|
|
46
|
+
"type": "text",
|
|
47
|
+
"text": "Invalid attributes on code block"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "codeBlock",
|
|
53
|
+
"attrs": {
|
|
54
|
+
"extraAttribute": "foo"
|
|
55
|
+
},
|
|
56
|
+
"content": [
|
|
57
|
+
{
|
|
58
|
+
"type": "text",
|
|
59
|
+
"text": "Invalid attributes on code block"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"type": "heading",
|
|
65
|
+
"attrs": {
|
|
66
|
+
"level": 3
|
|
67
|
+
},
|
|
68
|
+
"content": [
|
|
69
|
+
{
|
|
70
|
+
"type": "text",
|
|
71
|
+
"text": "Invalid node type – contentless node"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"type": "awesome-extension",
|
|
77
|
+
"attrs": {
|
|
78
|
+
"extensionType": "com.atlassian.confluence.macro.core",
|
|
79
|
+
"extensionKey": "block-eh",
|
|
80
|
+
"parameters": {
|
|
81
|
+
"macroParams": {},
|
|
82
|
+
"macroMetadata": {
|
|
83
|
+
"placeholder": [
|
|
84
|
+
{
|
|
85
|
+
"data": {
|
|
86
|
+
"url": ""
|
|
87
|
+
},
|
|
88
|
+
"type": "icon"
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"text": "Block extension demo",
|
|
94
|
+
"layout": "default"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "heading",
|
|
99
|
+
"attrs": {
|
|
100
|
+
"level": 3
|
|
101
|
+
},
|
|
102
|
+
"content": [
|
|
103
|
+
{
|
|
104
|
+
"type": "text",
|
|
105
|
+
"text": "Invalid node attributes – contentless node"
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"type": "extension",
|
|
111
|
+
"attrs": {
|
|
112
|
+
"extensionType": "com.atlassian.confluence.macro.core",
|
|
113
|
+
"extensionKey": 1,
|
|
114
|
+
"parameters": {
|
|
115
|
+
"macroParams": {},
|
|
116
|
+
"macroMetadata": {
|
|
117
|
+
"placeholder": [
|
|
118
|
+
{
|
|
119
|
+
"data": {
|
|
120
|
+
"url": ""
|
|
121
|
+
},
|
|
122
|
+
"type": "icon"
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"text": "Block extension demo",
|
|
128
|
+
"layout": "default"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"type": "extension",
|
|
133
|
+
"attrs": {
|
|
134
|
+
"extensionType": "com.atlassian.confluence.macro.core",
|
|
135
|
+
"extensionKey": "213",
|
|
136
|
+
"extraAttribute": true,
|
|
137
|
+
"parameters": {
|
|
138
|
+
"macroParams": {},
|
|
139
|
+
"macroMetadata": {
|
|
140
|
+
"placeholder": [
|
|
141
|
+
{
|
|
142
|
+
"data": {
|
|
143
|
+
"url": ""
|
|
144
|
+
},
|
|
145
|
+
"type": "icon"
|
|
146
|
+
}
|
|
147
|
+
]
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"text": "Block extension demo",
|
|
151
|
+
"layout": "default"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"type": "heading",
|
|
156
|
+
"attrs": {
|
|
157
|
+
"level": 3
|
|
158
|
+
},
|
|
159
|
+
"content": [
|
|
160
|
+
{
|
|
161
|
+
"type": "text",
|
|
162
|
+
"text": "Invalid inline nodes"
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"type": "paragraph",
|
|
168
|
+
"content": [
|
|
169
|
+
{
|
|
170
|
+
"type": "text",
|
|
171
|
+
"text": "Some text and invalid "
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"type": "team-mention",
|
|
175
|
+
"attrs": {
|
|
176
|
+
"id": "all",
|
|
177
|
+
"text": "@all",
|
|
178
|
+
"accessLevel": "CONTAINER",
|
|
179
|
+
"userType": "SPECIAL"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"type": "text",
|
|
184
|
+
"text": " and also with invalid attributes "
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"type": "emoji",
|
|
188
|
+
"attrs": {
|
|
189
|
+
"shortName": 1,
|
|
190
|
+
"id": "1f600",
|
|
191
|
+
"text": "😀"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"type": "text",
|
|
196
|
+
"text": " "
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"type": "emoji",
|
|
200
|
+
"attrs": {
|
|
201
|
+
"shortName": ":grinning:",
|
|
202
|
+
"id": "1f600",
|
|
203
|
+
"extraAttribute": true,
|
|
204
|
+
"text": "😀"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"type": "text",
|
|
209
|
+
"text": "."
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"type": "heading",
|
|
215
|
+
"attrs": {
|
|
216
|
+
"level": 3
|
|
217
|
+
},
|
|
218
|
+
"content": [
|
|
219
|
+
{
|
|
220
|
+
"type": "text",
|
|
221
|
+
"text": "Invalid block mark type"
|
|
222
|
+
}
|
|
223
|
+
]
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"type": "codeBlock",
|
|
227
|
+
"attrs": {},
|
|
228
|
+
"content": [
|
|
229
|
+
{
|
|
230
|
+
"type": "text",
|
|
231
|
+
"text": "Invalid block mark"
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
"marks": [
|
|
235
|
+
{
|
|
236
|
+
"type": "breakin",
|
|
237
|
+
"attrs": {
|
|
238
|
+
"mode": "wide"
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"type": "heading",
|
|
245
|
+
"attrs": {
|
|
246
|
+
"level": 3
|
|
247
|
+
},
|
|
248
|
+
"content": [
|
|
249
|
+
{
|
|
250
|
+
"type": "text",
|
|
251
|
+
"text": "Invalid block mark attribute"
|
|
252
|
+
}
|
|
253
|
+
]
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"type": "codeBlock",
|
|
257
|
+
"attrs": {},
|
|
258
|
+
"content": [
|
|
259
|
+
{
|
|
260
|
+
"type": "text",
|
|
261
|
+
"text": "Invalid block mark attribute"
|
|
262
|
+
}
|
|
263
|
+
],
|
|
264
|
+
"marks": [
|
|
265
|
+
{
|
|
266
|
+
"type": "breakout",
|
|
267
|
+
"attrs": {
|
|
268
|
+
"mode": "sideways"
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
]
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"type": "heading",
|
|
275
|
+
"attrs": {
|
|
276
|
+
"level": 3
|
|
277
|
+
},
|
|
278
|
+
"content": [
|
|
279
|
+
{
|
|
280
|
+
"type": "text",
|
|
281
|
+
"text": "Invalid block mark combination"
|
|
282
|
+
}
|
|
283
|
+
]
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"type": "p",
|
|
287
|
+
"attrs": {},
|
|
288
|
+
"content": [
|
|
289
|
+
{
|
|
290
|
+
"type": "text",
|
|
291
|
+
"text": "Invalid block mark combination"
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
"marks": [
|
|
295
|
+
{
|
|
296
|
+
"type": "alignment",
|
|
297
|
+
"attrs": {
|
|
298
|
+
"align": "center"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"type": "indentation",
|
|
303
|
+
"attrs": {
|
|
304
|
+
"level": 2
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
]
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"type": "heading",
|
|
311
|
+
"attrs": {
|
|
312
|
+
"level": 3
|
|
313
|
+
},
|
|
314
|
+
"content": [
|
|
315
|
+
{
|
|
316
|
+
"type": "text",
|
|
317
|
+
"text": "Invalid block mark nesting"
|
|
318
|
+
}
|
|
319
|
+
]
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"type": "layoutSection",
|
|
323
|
+
"content": [
|
|
324
|
+
{
|
|
325
|
+
"type": "layoutColumn",
|
|
326
|
+
"attrs": {
|
|
327
|
+
"width": 50
|
|
328
|
+
},
|
|
329
|
+
"content": [
|
|
330
|
+
{
|
|
331
|
+
"type": "codeBlock",
|
|
332
|
+
"attrs": {},
|
|
333
|
+
"content": [
|
|
334
|
+
{
|
|
335
|
+
"type": "text",
|
|
336
|
+
"text": "Invalid block mark combination"
|
|
337
|
+
}
|
|
338
|
+
],
|
|
339
|
+
"marks": [
|
|
340
|
+
{
|
|
341
|
+
"type": "breakout",
|
|
342
|
+
"attrs": {
|
|
343
|
+
"mode": "wide"
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
]
|
|
347
|
+
}
|
|
348
|
+
]
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"type": "layoutColumn",
|
|
352
|
+
"attrs": {
|
|
353
|
+
"width": 50
|
|
354
|
+
},
|
|
355
|
+
"content": [
|
|
356
|
+
{
|
|
357
|
+
"type": "paragraph",
|
|
358
|
+
"content": []
|
|
359
|
+
}
|
|
360
|
+
]
|
|
361
|
+
}
|
|
362
|
+
]
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"type": "heading",
|
|
366
|
+
"attrs": {
|
|
367
|
+
"level": 3
|
|
368
|
+
},
|
|
369
|
+
"content": [
|
|
370
|
+
{
|
|
371
|
+
"type": "text",
|
|
372
|
+
"text": "Invalid inline marks"
|
|
373
|
+
}
|
|
374
|
+
]
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"type": "paragraph",
|
|
378
|
+
"content": [
|
|
379
|
+
{
|
|
380
|
+
"type": "text",
|
|
381
|
+
"text": "Some text with "
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"type": "text",
|
|
385
|
+
"text": "invalid mark",
|
|
386
|
+
"marks": [
|
|
387
|
+
{
|
|
388
|
+
"type": "strongest"
|
|
389
|
+
}
|
|
390
|
+
]
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"type": "text",
|
|
394
|
+
"text": ". And some text with "
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"type": "text",
|
|
398
|
+
"text": "invalid mark attribute",
|
|
399
|
+
"marks": [
|
|
400
|
+
{
|
|
401
|
+
"type": "strong",
|
|
402
|
+
"attrs": {
|
|
403
|
+
"extraAttribute": true
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
]
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"type": "text",
|
|
410
|
+
"text": ". As well as "
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"type": "text",
|
|
414
|
+
"text": "invalid mark combination",
|
|
415
|
+
"marks": [
|
|
416
|
+
{
|
|
417
|
+
"type": "code"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"type": "strong"
|
|
421
|
+
}
|
|
422
|
+
]
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"type": "text",
|
|
426
|
+
"text": "."
|
|
427
|
+
}
|
|
428
|
+
]
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"type": "heading",
|
|
432
|
+
"attrs": {
|
|
433
|
+
"level": 3
|
|
434
|
+
},
|
|
435
|
+
"content": [
|
|
436
|
+
{
|
|
437
|
+
"type": "text",
|
|
438
|
+
"text": "Invalid nesting"
|
|
439
|
+
}
|
|
440
|
+
]
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"type": "table",
|
|
444
|
+
"attrs": {
|
|
445
|
+
"isNumberColumnEnabled": false,
|
|
446
|
+
"layout": "default"
|
|
447
|
+
},
|
|
448
|
+
"content": [
|
|
449
|
+
{
|
|
450
|
+
"type": "tableRow",
|
|
451
|
+
"content": [
|
|
452
|
+
{
|
|
453
|
+
"type": "tableCell",
|
|
454
|
+
"attrs": {},
|
|
455
|
+
"content": [
|
|
456
|
+
{
|
|
457
|
+
"type": "table",
|
|
458
|
+
"attrs": {
|
|
459
|
+
"isNumberColumnEnabled": false,
|
|
460
|
+
"layout": "default"
|
|
461
|
+
},
|
|
462
|
+
"content": [
|
|
463
|
+
{
|
|
464
|
+
"type": "tableRow",
|
|
465
|
+
"content": [
|
|
466
|
+
{
|
|
467
|
+
"type": "tableCell",
|
|
468
|
+
"attrs": {},
|
|
469
|
+
"content": [
|
|
470
|
+
{
|
|
471
|
+
"type": "paragraph",
|
|
472
|
+
"content": []
|
|
473
|
+
}
|
|
474
|
+
]
|
|
475
|
+
}
|
|
476
|
+
]
|
|
477
|
+
}
|
|
478
|
+
]
|
|
479
|
+
}
|
|
480
|
+
]
|
|
481
|
+
}
|
|
482
|
+
]
|
|
483
|
+
}
|
|
484
|
+
]
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"type": "heading",
|
|
488
|
+
"attrs": {
|
|
489
|
+
"level": 3
|
|
490
|
+
},
|
|
491
|
+
"content": [
|
|
492
|
+
{
|
|
493
|
+
"type": "text",
|
|
494
|
+
"text": "Invalid parent with valid children"
|
|
495
|
+
}
|
|
496
|
+
]
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"type": "pane",
|
|
500
|
+
"attrs": {
|
|
501
|
+
"panelType": "info"
|
|
502
|
+
},
|
|
503
|
+
"content": [
|
|
504
|
+
{
|
|
505
|
+
"type": "bulletList",
|
|
506
|
+
"content": [
|
|
507
|
+
{
|
|
508
|
+
"type": "listItem",
|
|
509
|
+
"content": [
|
|
510
|
+
{
|
|
511
|
+
"type": "paragraph",
|
|
512
|
+
"content": [
|
|
513
|
+
{
|
|
514
|
+
"type": "text",
|
|
515
|
+
"text": "Hello"
|
|
516
|
+
}
|
|
517
|
+
]
|
|
518
|
+
}
|
|
519
|
+
]
|
|
520
|
+
}
|
|
521
|
+
]
|
|
522
|
+
}
|
|
523
|
+
]
|
|
524
|
+
}
|
|
525
|
+
]
|
|
526
|
+
}
|