@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
package/CHANGELOG.md
ADDED
@@ -0,0 +1,1524 @@
|
|
1
|
+
# @atlaskit/adf-schema
|
2
|
+
|
3
|
+
## 19.2.0
|
4
|
+
|
5
|
+
### Minor Changes
|
6
|
+
|
7
|
+
- [`cf853e39278`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf853e39278) - CETI-72 Web: Copy from renderer loses custom panel attributes
|
8
|
+
- [`cf853e39278`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf853e39278) - Add single column support for layouts
|
9
|
+
- [`9fbaa50c904`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9fbaa50c904) - ED-13133 fixed broken table with sticky headers after undo merge cells with tableCellOptimisation on
|
10
|
+
- [`cf853e39278`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf853e39278) - [ux] add single layout support for layout
|
11
|
+
- [`6840e64d105`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6840e64d105) - CETI-124: Revert panel content wrapper from span to div
|
12
|
+
|
13
|
+
## 19.1.0
|
14
|
+
|
15
|
+
### Minor Changes
|
16
|
+
|
17
|
+
- [`ad67f6684f1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad67f6684f1) - Add MediaInline to ADF Stage0 schema
|
18
|
+
- [`71bb1bb3cd0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/71bb1bb3cd0) - [ED-12933] Add new custom step for TypeAhead local flow control
|
19
|
+
|
20
|
+
## 19.0.0
|
21
|
+
|
22
|
+
### Major Changes
|
23
|
+
|
24
|
+
- [`96c6146eef1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96c6146eef1) - ED-13187: localId optional & empty values filtered
|
25
|
+
- [`2aef13b22d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2aef13b22d8) - ED-12604: add localId for tables and dataConsumer mark for extensions in full schema
|
26
|
+
|
27
|
+
### Patch Changes
|
28
|
+
|
29
|
+
- [`aa6f29f8c3d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aa6f29f8c3d) - Setting up empty string value for alt attribute (images) by default
|
30
|
+
|
31
|
+
## 18.2.0
|
32
|
+
|
33
|
+
### Minor Changes
|
34
|
+
|
35
|
+
- [`489e4d18bc1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/489e4d18bc1) - ED-12891 Enable indentation as a valid mark on headings in layouts to align PM schema with ADF schema
|
36
|
+
|
37
|
+
### Patch Changes
|
38
|
+
|
39
|
+
- [`18a96c228f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18a96c228f8) - EDM-2024: fix MediaGroup Prosemirror Schema incompatibility
|
40
|
+
|
41
|
+
## 18.1.1
|
42
|
+
|
43
|
+
### Patch Changes
|
44
|
+
|
45
|
+
- [`d9e3deda557`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d9e3deda557) - ED-12545 We are adding compatibility test for ADF Schema with ProseMirror Schema
|
46
|
+
|
47
|
+
## 18.1.0
|
48
|
+
|
49
|
+
### Minor Changes
|
50
|
+
|
51
|
+
- [`9fef23ee77c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9fef23ee77c) - ED-12477 Add unsupported node capability to Media Group
|
52
|
+
|
53
|
+
## 18.0.0
|
54
|
+
|
55
|
+
### Major Changes
|
56
|
+
|
57
|
+
- [`7e6fe5abae9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e6fe5abae9) - revert heading with indentation in table cell content
|
58
|
+
|
59
|
+
## 17.0.0
|
60
|
+
|
61
|
+
### Major Changes
|
62
|
+
|
63
|
+
- [`ddecaf6f306`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ddecaf6f306) - ED-12436 remove 'allowLocalIdGeneration' from Editor as extension localId is added to full schema
|
64
|
+
- [`084abc13201`](https://bitbucket.org/atlassian/atlassian-frontend/commits/084abc13201) - ED-12265 Add unsupport content support to media single
|
65
|
+
ED-12265 Remove `caption` from default schema - Renderer
|
66
|
+
- [`9d3472d1a17`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d3472d1a17) - ED-12889: Remove heading with indentation from table cell content
|
67
|
+
|
68
|
+
### Minor Changes
|
69
|
+
|
70
|
+
- [`ee1c658ca80`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ee1c658ca80) - ED-12270 Add unsupported content support for decision lists and task lists
|
71
|
+
- [`5fba22a5a21`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5fba22a5a21) - [NO ISSUE] Move Table Sort Custom Step to the ADF package
|
72
|
+
|
73
|
+
## 16.0.0
|
74
|
+
|
75
|
+
### Major Changes
|
76
|
+
|
77
|
+
- [`f973bb5dde8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f973bb5dde8) - [ux] ED-12782 Remove codeblock languages from adf-schema
|
78
|
+
|
79
|
+
BREAKING CHANGE
|
80
|
+
|
81
|
+
`@atlaskit/adf-schema` is not longer exporting: `DEFAULT_LANGUAGES`, `createLanguageList`, `filterSupportedLanguages`, `findMatchedLanguage`, `getLanguageIdentifier` and `Language`. This are now used internally in `@atlaskit/editor-core`
|
82
|
+
|
83
|
+
### Minor Changes
|
84
|
+
|
85
|
+
- [`1fbe305bf7d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1fbe305bf7d) - ED-12273 Unsupported content support for Layout
|
86
|
+
|
87
|
+
## 15.3.0
|
88
|
+
|
89
|
+
### Minor Changes
|
90
|
+
|
91
|
+
- [`8c84c29006b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c84c29006b) - Improve data-consumer mark being nested, aAdd basic doc tests for data consumer
|
92
|
+
- [`621f12ec284`](https://bitbucket.org/atlassian/atlassian-frontend/commits/621f12ec284) - Update adf util specs to support unsupported content changes
|
93
|
+
|
94
|
+
### Patch Changes
|
95
|
+
|
96
|
+
- [`794b81df22c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/794b81df22c) - Removes surplus style whitespace rule on code mark.
|
97
|
+
|
98
|
+
## 15.2.0
|
99
|
+
|
100
|
+
### Minor Changes
|
101
|
+
|
102
|
+
- [`653093877f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/653093877f8) - Update data-consumer behaviour for json transforming
|
103
|
+
- [`357edf7b4a1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/357edf7b4a1) - ED-12266 Extend code block to support UnsupportedInline content.
|
104
|
+
|
105
|
+
## 15.1.1
|
106
|
+
|
107
|
+
### Patch Changes
|
108
|
+
|
109
|
+
- Updated dependencies
|
110
|
+
|
111
|
+
## 15.1.0
|
112
|
+
|
113
|
+
### Minor Changes
|
114
|
+
|
115
|
+
- [`330c1fce7f9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/330c1fce7f9) - ED-12264 Add unsupported content capability to panel and blockquote
|
116
|
+
|
117
|
+
### Patch Changes
|
118
|
+
|
119
|
+
- [`5089bd2544d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5089bd2544d) - ED-11919: generate localId for tables
|
120
|
+
- [`58b170725be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58b170725be) - Renamed @atlaskit/editor-test-helpers/schema-builder to @atlaskit/editor-test-helpers/doc-builder
|
121
|
+
|
122
|
+
## 15.0.0
|
123
|
+
|
124
|
+
### Major Changes
|
125
|
+
|
126
|
+
- [`db9dec112b1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db9dec112b1) - ED-10613: clean up text colour experiment
|
127
|
+
|
128
|
+
### Minor Changes
|
129
|
+
|
130
|
+
- [`6d748ea5140`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6d748ea5140) - New stage-0 data consumer mark in ADF schema
|
131
|
+
|
132
|
+
### Patch Changes
|
133
|
+
|
134
|
+
- [`e6bd5669a53`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6bd5669a53) - ED-10888 Deduplicate AJV initialization from our codebase
|
135
|
+
- [`d2e70ebaaa9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2e70ebaaa9) - NO-ISSUE: updated editor tests to use 'doc: DocBuilder' instead of 'doc: any'
|
136
|
+
- [`fe1c96a3d28`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe1c96a3d28) - added DocBuilder type to @atlaskit/editor-test-helpers, replaced duplicate definitions and DocumentType
|
137
|
+
|
138
|
+
## 14.1.0
|
139
|
+
|
140
|
+
### Minor Changes
|
141
|
+
|
142
|
+
- [`e6033cf5a7b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6033cf5a7b) - HOT-94716 Add embedCard to allowable content in bodiedExtension
|
143
|
+
|
144
|
+
## 14.0.0
|
145
|
+
|
146
|
+
### Major Changes
|
147
|
+
|
148
|
+
- [`85cc08ec2e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/85cc08ec2e6) - [ED-11353] Adds the input method for undo/redo events
|
149
|
+
|
150
|
+
#Breaking Change
|
151
|
+
|
152
|
+
`adf-schema`
|
153
|
+
|
154
|
+
AnalyticsStep doesn't need the `handleAnalyticsEvent: HandleAnalyticsEvent<P>` anymore.
|
155
|
+
We are submitting the events using the editor-core plugin `analytics`. On this file:
|
156
|
+
`packages/editor/editor-core/src/plugins/analytics/plugin.ts`
|
157
|
+
|
158
|
+
This will fix a hard to catch bug where the events were being dispatched before the transaction being applied.
|
159
|
+
The transaction wasn't used, but the event was dispatched anyway, causing a data mismatch between user experience and actions.
|
160
|
+
|
161
|
+
### Minor Changes
|
162
|
+
|
163
|
+
- [`be0bfb03f12`](https://bitbucket.org/atlassian/atlassian-frontend/commits/be0bfb03f12) - [ux] Implement syntax highlighting in editor code-block
|
164
|
+
|
165
|
+
### Patch Changes
|
166
|
+
|
167
|
+
- [`ffbe78153cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ffbe78153cf) - New stage0 ADF change: localId attribute on Table nodes
|
168
|
+
|
169
|
+
## 13.7.2
|
170
|
+
|
171
|
+
### Patch Changes
|
172
|
+
|
173
|
+
- [`b36f8119df5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b36f8119df5) - Add in keymap for moving to gap cursor from caption
|
174
|
+
- [`d01a017e81e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d01a017e81e) - fixed schema node type definitions to be more consistent
|
175
|
+
|
176
|
+
## 13.7.1
|
177
|
+
|
178
|
+
### Patch Changes
|
179
|
+
|
180
|
+
- [`3405124622e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3405124622e) - ED-11742 Fix table custom step start position
|
181
|
+
- [`04649ad9889`](https://bitbucket.org/atlassian/atlassian-frontend/commits/04649ad9889) - ED-10369: fixed table breakout layout when pasted from renderer
|
182
|
+
- [`c3ff456f166`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3ff456f166) - ED-11860 fix renderer code block content paste inconsistencies
|
183
|
+
|
184
|
+
## 13.7.0
|
185
|
+
|
186
|
+
### Minor Changes
|
187
|
+
|
188
|
+
- [`70f47afdee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/70f47afdee) - Added unsupportedBlock support for mediaSingle as a child
|
189
|
+
- [`714fd9e922`](https://bitbucket.org/atlassian/atlassian-frontend/commits/714fd9e922) - Promote media link mark to full schema
|
190
|
+
|
191
|
+
## 13.6.0
|
192
|
+
|
193
|
+
### Minor Changes
|
194
|
+
|
195
|
+
- [`f523768cdc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f523768cdc) - Fix validator and schema for Image Captions
|
196
|
+
|
197
|
+
### Patch Changes
|
198
|
+
|
199
|
+
- [`b7d42ec728`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7d42ec728) - [ux] ED-11631 Sort code block language list as case insensitive
|
200
|
+
- [`1bd969d9c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1bd969d9c1) - Fix re-renders in a table cell with the NodeView update
|
201
|
+
- [`9e76e3a5c5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9e76e3a5c5) - [ux] Adding support to detect and render anchor links.
|
202
|
+
|
203
|
+
## 13.5.0
|
204
|
+
|
205
|
+
### Minor Changes
|
206
|
+
|
207
|
+
- [`7f7643108f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f7643108f) - [ux] EmbedCard node's `width` attribute will have 100% default value now. For UI this means, embeds are 100% wide when inserted (instead of slightly smaller then 100% previously).
|
208
|
+
|
209
|
+
### Patch Changes
|
210
|
+
|
211
|
+
- [`aa671045fc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aa671045fc) - [ux] ED-11300: allowed link mark under actionItem and decisionItem
|
212
|
+
|
213
|
+
## 13.4.0
|
214
|
+
|
215
|
+
### Minor Changes
|
216
|
+
|
217
|
+
- [`21de2f736a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/21de2f736a) - fix: normalizeHexColor behaves normally when passed 'default'
|
218
|
+
|
219
|
+
## 13.3.1
|
220
|
+
|
221
|
+
### Patch Changes
|
222
|
+
|
223
|
+
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
224
|
+
|
225
|
+
## 13.3.0
|
226
|
+
|
227
|
+
### Minor Changes
|
228
|
+
|
229
|
+
- [`4fdb9762af`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4fdb9762af) - ED-10792: allow shouldExclude() to work on enum values
|
230
|
+
|
231
|
+
### Patch Changes
|
232
|
+
|
233
|
+
- [`0175a00afc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0175a00afc) - [ED-10670] Update prosemirror-model type to use posAtIndex methods
|
234
|
+
- [`a242048609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a242048609) - Re-enable adf schema backwards compatibility check
|
235
|
+
- [`d6c23f1886`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6c23f1886) - Added dark mode support to table cell background colors
|
236
|
+
- [`db4e6ab0d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db4e6ab0d4) - EDM-1388: Toggle link mark on media and not mediaSingle
|
237
|
+
|
238
|
+
## 13.2.0
|
239
|
+
|
240
|
+
### Minor Changes
|
241
|
+
|
242
|
+
- [`a929e563b9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a929e563b9) - Text color mark changed to be case insensitive
|
243
|
+
- [`eba787da28`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eba787da28) - Allow link marks on media
|
244
|
+
|
245
|
+
### Patch Changes
|
246
|
+
|
247
|
+
- [`703752d487`](https://bitbucket.org/atlassian/atlassian-frontend/commits/703752d487) - ED-10647 Remove caret from prosemirror-model, prosemirror-keymap, prosemirror-state, prosemirror-transform to lock them down to an explicit version
|
248
|
+
- [`ff39f9f643`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff39f9f643) - ED-10614 Add match indexing (Confluence API) for annotation creation for the renderer
|
249
|
+
|
250
|
+
BEFORE
|
251
|
+
|
252
|
+
```
|
253
|
+
export type AnnotationActionResult =
|
254
|
+
{
|
255
|
+
step: Step;
|
256
|
+
doc: JSONDocNode;
|
257
|
+
} | false;
|
258
|
+
```
|
259
|
+
|
260
|
+
AFTER
|
261
|
+
|
262
|
+
```
|
263
|
+
export type AnnotationActionResult =
|
264
|
+
{
|
265
|
+
step: Step;
|
266
|
+
doc: JSONDocNode;
|
267
|
+
originalSelection: string; // <<===
|
268
|
+
numMatches: number; // <<===
|
269
|
+
matchIndex: number; // <<===
|
270
|
+
} | false;
|
271
|
+
```
|
272
|
+
|
273
|
+
## 13.1.0
|
274
|
+
|
275
|
+
### Minor Changes
|
276
|
+
|
277
|
+
- [`a41378f853`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a41378f853) - Refactor & fix few cases of unsupported node attributes:
|
278
|
+
|
279
|
+
- Preseve attributes on nodes which do not support any attributes
|
280
|
+
- Add unsupportedNodeAttribute to bulletList, layoutSection etc.
|
281
|
+
|
282
|
+
### Patch Changes
|
283
|
+
|
284
|
+
- [`e4abda244e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4abda244e) - ED-9912: replace prosemirror-tables with editor-tables
|
285
|
+
- [`3e652479cc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3e652479cc) - ED-9912: use CellAttributes from editor-tables in adf-schema
|
286
|
+
- [`be142eec6e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/be142eec6e) - Refactor attributes validation and add unsupportedNodeAttribute mark in layoutsection
|
287
|
+
|
288
|
+
## 13.0.1
|
289
|
+
|
290
|
+
### Patch Changes
|
291
|
+
|
292
|
+
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
293
|
+
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
294
|
+
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
295
|
+
|
296
|
+
## 13.0.0
|
297
|
+
|
298
|
+
### Major Changes
|
299
|
+
|
300
|
+
- [`26ff0e5e9a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/26ff0e5e9a) - ED-10353 Added adf schema changes to support emoji panels
|
301
|
+
|
302
|
+
### Minor Changes
|
303
|
+
|
304
|
+
- [`db7170dc53`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db7170dc53) - Promote EmbedCard to full schema
|
305
|
+
- [`c536839013`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c536839013) - ED-10214 Add typeAheadQuery to default schema
|
306
|
+
- [`6e237a6753`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6e237a6753) - Add optional caption to mediaSingle in adf schema for stage 0
|
307
|
+
- [`9a39500244`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a39500244) - Bump ProseMirror packages
|
308
|
+
|
309
|
+
Read more: https://product-fabric.atlassian.net/wiki/spaces/E/pages/1671956531/2020-08
|
310
|
+
|
311
|
+
- [`2e5e9bf891`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e5e9bf891) - ED-10123 Export Analytics Step from adf-schema instead of internal editor-core
|
312
|
+
|
313
|
+
### Patch Changes
|
314
|
+
|
315
|
+
- [`c90f346430`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c90f346430) - Remove @ts-ignores/@ts-expect-errors
|
316
|
+
|
317
|
+
## 12.3.0
|
318
|
+
|
319
|
+
### Minor Changes
|
320
|
+
|
321
|
+
- [`15fe5f8731`](https://bitbucket.org/atlassian/atlassian-frontend/commits/15fe5f8731) - ED-9601 Mark all nodes that don't support node selection with `selectable: false` in their node spec
|
322
|
+
- [`78de49291b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78de49291b) - [TWISTA-130] Exports AnnotationDataAttributes type and variable typo
|
323
|
+
- [`e4114d7053`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4114d7053) - ED-9607 - Preserve Unsupported Node attributes
|
324
|
+
|
325
|
+
### Patch Changes
|
326
|
+
|
327
|
+
- [`e485167c47`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e485167c47) - ED-10018: bump prosemirror-tables to fix copy-pasting merged rows
|
328
|
+
- [`d0596d4bfa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d0596d4bfa) - change Html and Csharp to HTML and C# in codeblock language list
|
329
|
+
|
330
|
+
## 12.2.2
|
331
|
+
|
332
|
+
### Patch Changes
|
333
|
+
|
334
|
+
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
335
|
+
|
336
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
337
|
+
to prevent duplicates of tslib being bundled.
|
338
|
+
|
339
|
+
## 12.2.1
|
340
|
+
|
341
|
+
### Patch Changes
|
342
|
+
|
343
|
+
- [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release
|
344
|
+
|
345
|
+
## 12.2.0
|
346
|
+
|
347
|
+
### Minor Changes
|
348
|
+
|
349
|
+
- [`50b49e0eb9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50b49e0eb9) - [ED-9780] allow link mark inside bodied extension
|
350
|
+
- [`abce19a6d1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/abce19a6d1) - Change old Array style tuples to Tuple
|
351
|
+
|
352
|
+
```
|
353
|
+
interface X extends Array<T | U> {
|
354
|
+
0: T
|
355
|
+
}
|
356
|
+
```
|
357
|
+
|
358
|
+
to
|
359
|
+
|
360
|
+
```
|
361
|
+
type X = [T, T | U];
|
362
|
+
```
|
363
|
+
|
364
|
+
- [`8f843aaa4b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f843aaa4b) - EDM-927: Adding embeds inside expand and layouts
|
365
|
+
|
366
|
+
### Patch Changes
|
367
|
+
|
368
|
+
- [`9fe56e9d64`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9fe56e9d64) - Revert TaskList and ItemList type
|
369
|
+
- [`0cd9a41d67`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0cd9a41d67) - ED-9843 Refactor spec based validator
|
370
|
+
|
371
|
+
## 12.1.0
|
372
|
+
|
373
|
+
### Minor Changes
|
374
|
+
|
375
|
+
- [`b7c4fc3b08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7c4fc3b08) - Preseve unsupported mark from getting lost
|
376
|
+
|
377
|
+
### Patch Changes
|
378
|
+
|
379
|
+
- [`7c6dc39447`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c6dc39447) - ED-9568 annotations are now preserved when copy/pasting; also updated general copy/paste behaviour to preserve formatting of the pasted content, so that e.g. copying italic text into bold will preserve both italic and bold.
|
380
|
+
|
381
|
+
## 12.0.0
|
382
|
+
|
383
|
+
### Major Changes
|
384
|
+
|
385
|
+
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
386
|
+
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
387
|
+
|
388
|
+
## 11.1.0
|
389
|
+
|
390
|
+
### Minor Changes
|
391
|
+
|
392
|
+
- [`01c27cf8cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/01c27cf8cf) - ED-9552 Move SetAttrsStep into adf-schema
|
393
|
+
|
394
|
+
## 11.0.0
|
395
|
+
|
396
|
+
### Major Changes
|
397
|
+
|
398
|
+
- [`0ae829a4ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0ae829a4ea) - EDM-648: Adds resizing and alignment to embed cards
|
399
|
+
|
400
|
+
### Patch Changes
|
401
|
+
|
402
|
+
- [`fb1a9c8009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fb1a9c8009) - [FM-3726] Call onAnnotationClick when user taps in inline comment on Renderer
|
403
|
+
- [`2589a3e4fc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2589a3e4fc) - EDM-713: fix copy-paste from Renderer to Editor on Firefox
|
404
|
+
|
405
|
+
## 10.0.0
|
406
|
+
|
407
|
+
### Major Changes
|
408
|
+
|
409
|
+
- [`e30894b112`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e30894b112) - [FM-3716] Breaking changing: AnnotationType is now AnnotationTypes
|
410
|
+
|
411
|
+
```js
|
412
|
+
// Before
|
413
|
+
|
414
|
+
import { AnnotationType } from '@atlaskit/adf-schema';
|
415
|
+
|
416
|
+
annotation({
|
417
|
+
type: AnnotationType,
|
418
|
+
});
|
419
|
+
|
420
|
+
// After
|
421
|
+
|
422
|
+
import { AnnotationTypes } from '@atlaskit/adf-schema';
|
423
|
+
|
424
|
+
annotation({
|
425
|
+
type: AnnotationTypes.INLINE_COMMENT,
|
426
|
+
});
|
427
|
+
```
|
428
|
+
|
429
|
+
### Minor Changes
|
430
|
+
|
431
|
+
- [`39b2e48c32`](https://bitbucket.org/atlassian/atlassian-frontend/commits/39b2e48c32) - Export new Add Column custom step in `@atlaskit/adf-schema/steps`
|
432
|
+
- [`50c333ab3a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50c333ab3a) - EDM-216: Adds EmbedCards in the Editor under the flag - allowEmbeds in the UNSAFE_cards prop
|
433
|
+
|
434
|
+
### Patch Changes
|
435
|
+
|
436
|
+
- [`0964848b95`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0964848b95) - [FM-3505] Add support for inline comments in the renderer mobile bridge getElementScrollOffsetByNodeType function
|
437
|
+
- [`54d82b49f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54d82b49f0) - Remove unused dependencies
|
438
|
+
|
439
|
+
## 9.0.2
|
440
|
+
|
441
|
+
### Patch Changes
|
442
|
+
|
443
|
+
- [`ee0333aa64`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ee0333aa64) - ED-6318 Add (None) option to top of code block language list- Updated dependencies
|
444
|
+
|
445
|
+
## 9.0.1
|
446
|
+
|
447
|
+
### Patch Changes
|
448
|
+
|
449
|
+
- [patch][92d04b5c28](https://bitbucket.org/atlassian/atlassian-frontend/commits/92d04b5c28):
|
450
|
+
|
451
|
+
ED-9079 Disable spell check for text marked as inline code.
|
452
|
+
|
453
|
+
This prevents the red squiggly line appearing underneath inline code, and aligns the UX with codeblock which already disables spell check. - @atlaskit/editor-json-transformer@7.0.11
|
454
|
+
|
455
|
+
- @atlaskit/editor-test-helpers@11.1.1
|
456
|
+
|
457
|
+
## 9.0.0
|
458
|
+
|
459
|
+
### Major Changes
|
460
|
+
|
461
|
+
- [major][5d430f7d37](https://bitbucket.org/atlassian/atlassian-frontend/commits/5d430f7d37):
|
462
|
+
|
463
|
+
ED-8517 Add localId support to Extension node
|
464
|
+
|
465
|
+
**BREAKING CHANGE**
|
466
|
+
`ExtensionContent` has been removed.
|
467
|
+
|
468
|
+
### Minor Changes
|
469
|
+
|
470
|
+
- [minor][04e54bf405](https://bitbucket.org/atlassian/atlassian-frontend/commits/04e54bf405):
|
471
|
+
|
472
|
+
EDM-500: Allow blockCard inside Panel
|
473
|
+
|
474
|
+
### Patch Changes
|
475
|
+
|
476
|
+
- [patch][9f43b9f0ca](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f43b9f0ca):
|
477
|
+
|
478
|
+
ED-9037 / ED-9039: ProseMirror node selection for mentions and emojis- Updated dependencies [7e26fba915](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e26fba915):
|
479
|
+
|
480
|
+
- Updated dependencies [205b05851a](https://bitbucket.org/atlassian/atlassian-frontend/commits/205b05851a):
|
481
|
+
- Updated dependencies [823d80f31c](https://bitbucket.org/atlassian/atlassian-frontend/commits/823d80f31c):
|
482
|
+
- Updated dependencies [3644fc1afe](https://bitbucket.org/atlassian/atlassian-frontend/commits/3644fc1afe):
|
483
|
+
- Updated dependencies [62f1f218d9](https://bitbucket.org/atlassian/atlassian-frontend/commits/62f1f218d9):
|
484
|
+
- Updated dependencies [6eb8c0799f](https://bitbucket.org/atlassian/atlassian-frontend/commits/6eb8c0799f):
|
485
|
+
- @atlaskit/editor-test-helpers@11.1.0
|
486
|
+
- @atlaskit/editor-json-transformer@7.0.10
|
487
|
+
|
488
|
+
## 8.0.0
|
489
|
+
|
490
|
+
### Major Changes
|
491
|
+
|
492
|
+
- [major][715572f9e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/715572f9e5):
|
493
|
+
|
494
|
+
Remove indentation from table cell and layout paragraphs
|
495
|
+
|
496
|
+
### Minor Changes
|
497
|
+
|
498
|
+
- [minor][bc29fbc030](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc29fbc030):
|
499
|
+
|
500
|
+
ED-8748 ED-8211: Update media linking UI experience in renderer, fixes other rendering issues and workarounds.
|
501
|
+
|
502
|
+
### Patch Changes
|
503
|
+
|
504
|
+
- [patch][1386afaecc](https://bitbucket.org/atlassian/atlassian-frontend/commits/1386afaecc):
|
505
|
+
|
506
|
+
ED-8751 Remove 'export \*' from adf-schema- [patch][584279e2ae](https://bitbucket.org/atlassian/atlassian-frontend/commits/584279e2ae):
|
507
|
+
|
508
|
+
ED-8751 Remove circular dependencies, add eslint rule and recreate json schema caused by different import order- [patch][f83b67a761](https://bitbucket.org/atlassian/atlassian-frontend/commits/f83b67a761):
|
509
|
+
|
510
|
+
EDM-407: Smart cards copy pasted from Renderer to Editor create mediaSingles- [patch][6b4fe5d0e0](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b4fe5d0e0):
|
511
|
+
|
512
|
+
preserve image alt-text when pasting rich text content- Updated dependencies [4bec09aa74](https://bitbucket.org/atlassian/atlassian-frontend/commits/4bec09aa74):
|
513
|
+
|
514
|
+
- Updated dependencies [d63888b5e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/d63888b5e5):
|
515
|
+
- Updated dependencies [bdf25b1c4c](https://bitbucket.org/atlassian/atlassian-frontend/commits/bdf25b1c4c):
|
516
|
+
- Updated dependencies [645918eda6](https://bitbucket.org/atlassian/atlassian-frontend/commits/645918eda6):
|
517
|
+
- Updated dependencies [fad8a16962](https://bitbucket.org/atlassian/atlassian-frontend/commits/fad8a16962):
|
518
|
+
- @atlaskit/editor-test-helpers@11.0.0
|
519
|
+
- @atlaskit/editor-json-transformer@7.0.9
|
520
|
+
|
521
|
+
## 7.0.1
|
522
|
+
|
523
|
+
### Patch Changes
|
524
|
+
|
525
|
+
- [patch][b3cf2b8a05](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3cf2b8a05):
|
526
|
+
|
527
|
+
Fix expand not allowing marks issue
|
528
|
+
|
529
|
+
## 7.0.0
|
530
|
+
|
531
|
+
### Major Changes
|
532
|
+
|
533
|
+
- [major][7baff84f38](https://bitbucket.org/atlassian/atlassian-frontend/commits/7baff84f38):
|
534
|
+
|
535
|
+
[ED-8521] Fix ADFSchema to invalidate any Expand Node with marks inside of Block nodes other than the Doc Node
|
536
|
+
|
537
|
+
### Minor Changes
|
538
|
+
|
539
|
+
- [minor][c171660346](https://bitbucket.org/atlassian/atlassian-frontend/commits/c171660346):
|
540
|
+
|
541
|
+
Expose MediaADFAttrs- [minor][a5d0019a5e](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5d0019a5e):
|
542
|
+
|
543
|
+
EDM-336: Add inlineCard to BB schema and support roundtripping
|
544
|
+
|
545
|
+
### Patch Changes
|
546
|
+
|
547
|
+
- [patch][7602615cd4](https://bitbucket.org/atlassian/atlassian-frontend/commits/7602615cd4):
|
548
|
+
|
549
|
+
ED-8785 Improve stage-0 & type reference support in JSON Schema Generator- [patch][27fde59914](https://bitbucket.org/atlassian/atlassian-frontend/commits/27fde59914):
|
550
|
+
|
551
|
+
ED-8626 Can click on "open link in a new tab" with `javascript:` links in editor.- [patch][b18fc8a1b6](https://bitbucket.org/atlassian/atlassian-frontend/commits/b18fc8a1b6):
|
552
|
+
|
553
|
+
ED-8700 Alt text property on external images is added, this is required to make external images saved and validated correctly when they contain alt text.- Updated dependencies [7602615cd4](https://bitbucket.org/atlassian/atlassian-frontend/commits/7602615cd4):
|
554
|
+
|
555
|
+
- Updated dependencies [5e3aab8e77](https://bitbucket.org/atlassian/atlassian-frontend/commits/5e3aab8e77):
|
556
|
+
- @atlaskit/json-schema-generator@2.3.0
|
557
|
+
- @atlaskit/editor-test-helpers@10.6.1
|
558
|
+
- @atlaskit/editor-json-transformer@7.0.8
|
559
|
+
|
560
|
+
## 6.2.0
|
561
|
+
|
562
|
+
### Minor Changes
|
563
|
+
|
564
|
+
- [minor][e8a31c2714](https://bitbucket.org/atlassian/atlassian-frontend/commits/e8a31c2714):
|
565
|
+
|
566
|
+
ED-8687 Export default schema configuration
|
567
|
+
|
568
|
+
### Patch Changes
|
569
|
+
|
570
|
+
- [patch][8183f7c8da](https://bitbucket.org/atlassian/atlassian-frontend/commits/8183f7c8da):
|
571
|
+
|
572
|
+
Remove Karma tests - based on AFP-960- Updated dependencies [9d6b02c04f](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d6b02c04f):
|
573
|
+
|
574
|
+
- Updated dependencies [8183f7c8da](https://bitbucket.org/atlassian/atlassian-frontend/commits/8183f7c8da):
|
575
|
+
- @atlaskit/editor-test-helpers@10.6.0
|
576
|
+
- @atlaskit/editor-json-transformer@7.0.7
|
577
|
+
|
578
|
+
## 6.1.1
|
579
|
+
|
580
|
+
### Patch Changes
|
581
|
+
|
582
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
583
|
+
|
584
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
585
|
+
|
586
|
+
- @atlaskit/editor-json-transformer@7.0.6
|
587
|
+
- @atlaskit/editor-test-helpers@10.5.1
|
588
|
+
- @atlaskit/json-schema-generator@2.2.1
|
589
|
+
|
590
|
+
## 6.1.0
|
591
|
+
|
592
|
+
### Minor Changes
|
593
|
+
|
594
|
+
- [minor][b01fc0ceef](https://bitbucket.org/atlassian/atlassian-frontend/commits/b01fc0ceef):
|
595
|
+
|
596
|
+
ED-8151 Alt text is promoted to full schema. Feature flag and MediaOptions property UNSAFE_allowAltTextOnImages was renamed to allowAltTextOnImages.
|
597
|
+
|
598
|
+
### Patch Changes
|
599
|
+
|
600
|
+
- [patch][d085ab4419](https://bitbucket.org/atlassian/atlassian-frontend/commits/d085ab4419):
|
601
|
+
|
602
|
+
[ED-8109] Enable media link inside of block contents like layoutColumn and expand- Updated dependencies [3b19e30129](https://bitbucket.org/atlassian/atlassian-frontend/commits/3b19e30129):
|
603
|
+
|
604
|
+
- Updated dependencies [fe4eaf06fc](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe4eaf06fc):
|
605
|
+
- @atlaskit/editor-test-helpers@10.5.0
|
606
|
+
- @atlaskit/editor-json-transformer@7.0.5
|
607
|
+
|
608
|
+
## 6.0.0
|
609
|
+
|
610
|
+
### Major Changes
|
611
|
+
|
612
|
+
- [major][26dbe7be6d](https://bitbucket.org/atlassian/atlassian-frontend/commits/26dbe7be6d):
|
613
|
+
|
614
|
+
ED-8470: removed unecessary borderColorPalette, made Palette.Color border a required prop
|
615
|
+
|
616
|
+
### Patch Changes
|
617
|
+
|
618
|
+
- [patch][3e87f5596a](https://bitbucket.org/atlassian/atlassian-frontend/commits/3e87f5596a):
|
619
|
+
|
620
|
+
ED-8388 Strip annotation marks when pasting content into Editor- Updated dependencies [cfcd27b2e4](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfcd27b2e4):
|
621
|
+
|
622
|
+
- Updated dependencies [ec929ab10e](https://bitbucket.org/atlassian/atlassian-frontend/commits/ec929ab10e):
|
623
|
+
- @atlaskit/editor-test-helpers@10.4.3
|
624
|
+
- @atlaskit/editor-json-transformer@7.0.4
|
625
|
+
|
626
|
+
## 5.0.0
|
627
|
+
|
628
|
+
### Major Changes
|
629
|
+
|
630
|
+
- [major][761dcd6d19](https://bitbucket.org/atlassian/atlassian-frontend/commits/761dcd6d19):
|
631
|
+
|
632
|
+
ED-7675: promote nested taskLists from stage-0 schema to full
|
633
|
+
|
634
|
+
### Minor Changes
|
635
|
+
|
636
|
+
- [minor][faccb537d0](https://bitbucket.org/atlassian/atlassian-frontend/commits/faccb537d0):
|
637
|
+
|
638
|
+
ED-8167: Re-worked GapCursor implementation; alignment should be more consistent
|
639
|
+
|
640
|
+
### Patch Changes
|
641
|
+
|
642
|
+
- Updated dependencies [edc4a4a7ae](https://bitbucket.org/atlassian/atlassian-frontend/commits/edc4a4a7ae):
|
643
|
+
- @atlaskit/editor-test-helpers@10.4.1
|
644
|
+
- @atlaskit/editor-json-transformer@7.0.3
|
645
|
+
|
646
|
+
## 4.4.0
|
647
|
+
|
648
|
+
### Minor Changes
|
649
|
+
|
650
|
+
- [minor][e5dd37f7a4](https://bitbucket.org/atlassian/atlassian-frontend/commits/e5dd37f7a4):
|
651
|
+
|
652
|
+
ED-7966: Promote expand to full schema, update flag and add appropriate tests
|
653
|
+
|
654
|
+
### Patch Changes
|
655
|
+
|
656
|
+
- [patch][4eefd368a8](https://bitbucket.org/atlassian/atlassian-frontend/commits/4eefd368a8):
|
657
|
+
|
658
|
+
default media collection to empty string instead of null- Updated dependencies [46e6693eb3](https://bitbucket.org/atlassian/atlassian-frontend/commits/46e6693eb3):
|
659
|
+
|
660
|
+
- Updated dependencies [83300f0b6d](https://bitbucket.org/atlassian/atlassian-frontend/commits/83300f0b6d):
|
661
|
+
- Updated dependencies [e5dd37f7a4](https://bitbucket.org/atlassian/atlassian-frontend/commits/e5dd37f7a4):
|
662
|
+
- @atlaskit/editor-test-helpers@10.4.0
|
663
|
+
- @atlaskit/editor-json-transformer@7.0.2
|
664
|
+
|
665
|
+
## 4.3.3
|
666
|
+
|
667
|
+
### Patch Changes
|
668
|
+
|
669
|
+
- [patch][ee262a5a37](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ee262a5a37):
|
670
|
+
|
671
|
+
default media collection to empty string instead of null
|
672
|
+
|
673
|
+
## 4.3.2
|
674
|
+
|
675
|
+
### Patch Changes
|
676
|
+
|
677
|
+
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
678
|
+
|
679
|
+
Relax text color mark validation to allow upper case characters
|
680
|
+
|
681
|
+
- Updated dependencies [24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
682
|
+
- @atlaskit/json-schema-generator@2.2.0
|
683
|
+
|
684
|
+
## 4.3.1
|
685
|
+
|
686
|
+
### Patch Changes
|
687
|
+
|
688
|
+
- [patch][161a30be16](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/161a30be16):
|
689
|
+
|
690
|
+
ED-7974: fix copying expand with tables that contain nestedExpand
|
691
|
+
|
692
|
+
- [patch][ef2ba36d5c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ef2ba36d5c):
|
693
|
+
|
694
|
+
Add alt text support for renderer
|
695
|
+
|
696
|
+
- [patch][6e4b678428](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6e4b678428):
|
697
|
+
|
698
|
+
ED-8077: Fixes pasting expands into a table that is inside an expand
|
699
|
+
|
700
|
+
- [patch][b3fd0964f2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b3fd0964f2):
|
701
|
+
|
702
|
+
Fix an issue in the media node spec with alt text
|
703
|
+
|
704
|
+
- [patch][9a261337b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9a261337b5):
|
705
|
+
|
706
|
+
Add a fixture of a document with different cases of unsupported content- [patch][cc1b89d310](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc1b89d310):
|
707
|
+
|
708
|
+
ED-8162: Prevent the editor from locking up when navigating from gap-cursor to an expand title- [patch][938f1c2902](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/938f1c2902):
|
709
|
+
|
710
|
+
ED-8186: Fix incorrect mark filtering when toggling lists- Updated dependencies [10425b84b4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/10425b84b4):
|
711
|
+
|
712
|
+
- Updated dependencies [926798632e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926798632e):
|
713
|
+
- @atlaskit/editor-test-helpers@10.3.0
|
714
|
+
- @atlaskit/editor-json-transformer@7.0.1
|
715
|
+
|
716
|
+
## 4.3.0
|
717
|
+
|
718
|
+
### Minor Changes
|
719
|
+
|
720
|
+
- [minor][a484cc35c8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a484cc35c8):
|
721
|
+
|
722
|
+
ED-7911: external media will now be uploaded to media service
|
723
|
+
|
724
|
+
- [minor][f1a06fc2fd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f1a06fc2fd):
|
725
|
+
|
726
|
+
ED-7876 Add expand and nestedExpand to stage-0 schema
|
727
|
+
|
728
|
+
Adds two new nodes `expand` and `nestedExpand` to the stage-0 schema.
|
729
|
+
|
730
|
+
- [minor][ae42b1ba1e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ae42b1ba1e):
|
731
|
+
|
732
|
+
Adf schema changes (for stage-0) to support alt text on media nodes.
|
733
|
+
`editor-core` changes are wrapped under the editor prop `UNSAFE_allowAltTextOnImages`. There is no alt text implementation yet, so the user won't be able to add alt text to images just yet.
|
734
|
+
|
735
|
+
### Patch Changes
|
736
|
+
|
737
|
+
- [patch][5b2c89203e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5b2c89203e):
|
738
|
+
|
739
|
+
Fix linting errors from prettier upgrade
|
740
|
+
|
741
|
+
- Updated dependencies [6d9c8a9073](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6d9c8a9073):
|
742
|
+
- @atlaskit/editor-json-transformer@7.0.0
|
743
|
+
|
744
|
+
## 4.2.0
|
745
|
+
|
746
|
+
### Minor Changes
|
747
|
+
|
748
|
+
- [minor][1a0fe670f9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1a0fe670f9):
|
749
|
+
|
750
|
+
ED-7674: support nested actions in stage-0 schema; change DOM representation of actions
|
751
|
+
|
752
|
+
### Nested actions
|
753
|
+
|
754
|
+
This changeset adds support for nesting actions _at the schema level_, currently only within the stage-0 ADF schema.
|
755
|
+
|
756
|
+
The editor and renderer currently do nothing special to represent these nested actions. As of this release, they appear as as flat list.
|
757
|
+
|
758
|
+
To enable this feature, use the new `allowNestedTasks` prop.
|
759
|
+
|
760
|
+
### DOM representation of actions in renderer + editor
|
761
|
+
|
762
|
+
This release also changes the DOM representation of actions away from a `ol > li` structure, to a `div > div` one. That is, both the `taskList` and `taskItem` are wrapped in `div` elements.
|
763
|
+
|
764
|
+
Because taskLists can now be allowed to nest themselves, this would otherwise have created an `ol > ol` structure, which is invalid.- [minor][ae4f336a3a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ae4f336a3a):
|
765
|
+
|
766
|
+
**FABDODGEM-13 Editor Damask Release** - [Internal post](http://go.atlassian.com/damask-release)
|
767
|
+
|
768
|
+
**BREAKING CHANGES**
|
769
|
+
|
770
|
+
- **Media:** Removed deprecated "context" property from media components in favor of "mediaClientConfig". This affects all public media UI components.
|
771
|
+
- https://product-fabric.atlassian.net/browse/MS-2038
|
772
|
+
- **Tasks & Decisions:** Removed containerAri for task-decisions components.
|
773
|
+
- https://product-fabric.atlassian.net/browse/ED-7631
|
774
|
+
- **Renderer:** Adapts to task-decision changes.
|
775
|
+
- **Editor Mobile Bridge:** Adapts to task-decision changes.
|
776
|
+
- **Util Data Test:** Adapts to task-decision changes.
|
777
|
+
|
778
|
+
---
|
779
|
+
|
780
|
+
**Affected Editor Components:**
|
781
|
+
|
782
|
+
tables, media, mobile, emoji, tasks & decisions, analytics
|
783
|
+
|
784
|
+
**Editor**
|
785
|
+
|
786
|
+
- Support nested actions in stage-0 schema; Change DOM representation of actions
|
787
|
+
- https://product-fabric.atlassian.net/browse/ED-7674
|
788
|
+
- Updated i18n translations
|
789
|
+
- https://product-fabric.atlassian.net/browse/ED-7750
|
790
|
+
- Improved analytics & crash reporting (via a new error boundary)
|
791
|
+
- https://product-fabric.atlassian.net/browse/ED-7766
|
792
|
+
- https://product-fabric.atlassian.net/browse/ED-7806
|
793
|
+
- Improvements to heading anchor links.
|
794
|
+
- https://product-fabric.atlassian.net/browse/ED-7849
|
795
|
+
- https://product-fabric.atlassian.net/browse/ED-7860
|
796
|
+
- Copy/Paste improvements
|
797
|
+
- https://product-fabric.atlassian.net/browse/ED-7840
|
798
|
+
- https://product-fabric.atlassian.net/browse/ED-7849
|
799
|
+
- Fixes for the selection state of Smart links.
|
800
|
+
- https://product-fabric.atlassian.net/browse/ED-7602?src=confmacro
|
801
|
+
- Improvements for table resizing & column creation.
|
802
|
+
- https://product-fabric.atlassian.net/browse/ED-7698
|
803
|
+
- https://product-fabric.atlassian.net/browse/ED-7319
|
804
|
+
- https://product-fabric.atlassian.net/browse/ED-7799
|
805
|
+
|
806
|
+
**Mobile**
|
807
|
+
|
808
|
+
- GASv3 Analytics Events are now relayed from the web to the native context, ready for dispatching.
|
809
|
+
- https://product-fabric.atlassian.net/browse/FM-2502
|
810
|
+
- Hybrid Renderer Recycler view now handles invalid ADF nodes gracefully.
|
811
|
+
- https://product-fabric.atlassian.net/browse/FM-2370
|
812
|
+
|
813
|
+
**Media**
|
814
|
+
|
815
|
+
- Improved analytics
|
816
|
+
- https://product-fabric.atlassian.net/browse/MS-2036
|
817
|
+
- https://product-fabric.atlassian.net/browse/MS-2145
|
818
|
+
- https://product-fabric.atlassian.net/browse/MS-2416
|
819
|
+
- https://product-fabric.atlassian.net/browse/MS-2487
|
820
|
+
- Added shouldOpenMediaViewer property to renderer
|
821
|
+
- https://product-fabric.atlassian.net/browse/MS-2393
|
822
|
+
- Implemented analytics for file copy
|
823
|
+
- https://product-fabric.atlassian.net/browse/MS-2036
|
824
|
+
- New `media-viewed` event dispatched when media is interacted with via the media card or viewer.
|
825
|
+
- https://product-fabric.atlassian.net/browse/MS-2284
|
826
|
+
- Support for `alt` text attribute on media image elements.
|
827
|
+
- https://product-fabric.atlassian.net/browse/ED-7776
|
828
|
+
|
829
|
+
**i18n-tools**
|
830
|
+
|
831
|
+
Bumped dependencies.
|
832
|
+
|
833
|
+
### Patch Changes
|
834
|
+
|
835
|
+
- [patch][cc28419139](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc28419139):
|
836
|
+
|
837
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
838
|
+
|
839
|
+
## 4.1.1
|
840
|
+
|
841
|
+
### Patch Changes
|
842
|
+
|
843
|
+
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
|
844
|
+
|
845
|
+
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
|
846
|
+
|
847
|
+
## 4.1.0
|
848
|
+
|
849
|
+
### Minor Changes
|
850
|
+
|
851
|
+
- [minor][65ada7f318](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65ada7f318):
|
852
|
+
|
853
|
+
**FABDODGEM-12 Editor Cashmere Release**
|
854
|
+
|
855
|
+
- [Internal post](http://go.atlassian.com/cashmere-release)
|
856
|
+
|
857
|
+
**Affected editor components:**
|
858
|
+
|
859
|
+
tables, media, mobile, text color, emoji, copy/paste, analytics
|
860
|
+
|
861
|
+
**Performance**
|
862
|
+
|
863
|
+
- Async import for code blocks and task items on renderer
|
864
|
+
- https://product-fabric.atlassian.net/browse/ED-7155
|
865
|
+
|
866
|
+
**Table**
|
867
|
+
|
868
|
+
- Add support to sort tables that contains smart links
|
869
|
+
- https://product-fabric.atlassian.net/browse/ED-7449
|
870
|
+
- Scale table when changing to full width mode
|
871
|
+
- https://product-fabric.atlassian.net/browse/ED-7724
|
872
|
+
|
873
|
+
**Text color**
|
874
|
+
|
875
|
+
- Update text color toolbar with right color when text is inside a list, panel, etc.
|
876
|
+
- https://product-fabric.atlassian.net/browse/FM-1752
|
877
|
+
|
878
|
+
**Mobile** - Implement undo/redo interface on Hybrid Editor - https://product-fabric.atlassian.net/browse/FM-2393
|
879
|
+
|
880
|
+
**Copy and Paste**
|
881
|
+
|
882
|
+
- Support copy & paste when missing context-id attr
|
883
|
+
- https://product-fabric.atlassian.net/browse/MS-2344
|
884
|
+
- Right click + copy image fails the second time that is pasted
|
885
|
+
- https://product-fabric.atlassian.net/browse/MS-2324
|
886
|
+
- Copying a never touched image for the first time from editor fails to paste
|
887
|
+
- https://product-fabric.atlassian.net/browse/MS-2338
|
888
|
+
- Implement analytics when a file is copied
|
889
|
+
- https://product-fabric.atlassian.net/browse/MS-2036
|
890
|
+
|
891
|
+
**Media**
|
892
|
+
|
893
|
+
- Add analytics events and error reporting [NEW BIG FEATURE]
|
894
|
+
- https://product-fabric.atlassian.net/browse/MS-2275
|
895
|
+
- https://product-fabric.atlassian.net/browse/MS-2329
|
896
|
+
- https://product-fabric.atlassian.net/browse/MS-2330
|
897
|
+
- https://product-fabric.atlassian.net/browse/MS-2331
|
898
|
+
- https://product-fabric.atlassian.net/browse/MS-2332
|
899
|
+
- https://product-fabric.atlassian.net/browse/MS-2390
|
900
|
+
- Fixed issue where we can’t insert same file from MediaPicker twice
|
901
|
+
- https://product-fabric.atlassian.net/browse/MS-2080
|
902
|
+
- Disable upload of external files to media
|
903
|
+
- https://product-fabric.atlassian.net/browse/MS-2372
|
904
|
+
|
905
|
+
**Notable Bug Fixes**
|
906
|
+
|
907
|
+
- Implement consistent behaviour for rule and mediaSingle on insertion
|
908
|
+
- Feature Flag:
|
909
|
+
- allowNewInsertionBehaviour - [default: true]
|
910
|
+
- https://product-fabric.atlassian.net/browse/ED-7503
|
911
|
+
- Fixed bug where we were showing table controls on mobile.
|
912
|
+
- https://product-fabric.atlassian.net/browse/ED-7690
|
913
|
+
- Fixed bug where editor crashes after unmounting react component.
|
914
|
+
- https://product-fabric.atlassian.net/browse/ED-7318
|
915
|
+
- Fixed bug where custom emojis are not been showed on the editor
|
916
|
+
- https://product-fabric.atlassian.net/browse/ED-7726
|
917
|
+
|
918
|
+
- [minor][79c69ed5cd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/79c69ed5cd):
|
919
|
+
|
920
|
+
ED-7449 Implement sorting inline cards inside tables base on resolved title
|
921
|
+
|
922
|
+
### Patch Changes
|
923
|
+
|
924
|
+
- [patch][1715ad2bd5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1715ad2bd5):
|
925
|
+
|
926
|
+
ED-7731: add support for GraphQL syntax highlighting
|
927
|
+
|
928
|
+
## 4.0.0
|
929
|
+
|
930
|
+
### Major Changes
|
931
|
+
|
932
|
+
- [major][1194ad5eb3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1194ad5eb3):
|
933
|
+
|
934
|
+
Remove unnecessary `tableBackgroundBorderColors` in favour of unique `tableBackgroundBorderColor` for all table cell background border- [major][80adfefba2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/80adfefba2):
|
935
|
+
|
936
|
+
Remove applicationCard node and action mark
|
937
|
+
|
938
|
+
### Minor Changes
|
939
|
+
|
940
|
+
- [minor][5276c19a41](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5276c19a41):
|
941
|
+
|
942
|
+
ED-5996: support viewing inline comments within editor
|
943
|
+
|
944
|
+
You can do this with the `annotationProvider` prop. Passing a truthy value to this (e.g. the empty object `{}`) will:
|
945
|
+
|
946
|
+
- enable support for working with the `annotation` ADF mark
|
947
|
+
- will render highlights around any annotations, and
|
948
|
+
- allow copying and pasting of annotations within the same document, or between documents
|
949
|
+
|
950
|
+
You can also optionally pass a React component to the `component`, so you can render custom components on top of or around the editor when the user's text cursor is inside an annotation.
|
951
|
+
|
952
|
+
Please see [the package documentation](https://atlaskit.atlassian.com/packages/editor/editor-core/docs/annotations) for more information.
|
953
|
+
|
954
|
+
There is an example component called `ExampleInlineCommentComponent` within the `@atlaskit/editor-test-helpers` package. It is currently featured in the full page examples on the Atlaskit website.
|
955
|
+
|
956
|
+
Annotations are styled within the editor using the `fabric-editor-annotation` CSS class.
|
957
|
+
|
958
|
+
Other changes:
|
959
|
+
|
960
|
+
- `Popup` now supports an optional `rect` parameter to direct placement, rather than calculating the bounding client rect around a DOM node.- [minor][45ae9e1cc2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/45ae9e1cc2):
|
961
|
+
|
962
|
+
ED-7201 Add new background cell colors and improve text color
|
963
|
+
|
964
|
+
### Patch Changes
|
965
|
+
|
966
|
+
- [patch][bbb4f9463d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbb4f9463d):
|
967
|
+
|
968
|
+
CEMS-234 Prioritize media single over media group
|
969
|
+
|
970
|
+
This solves issue where pasting images with text from third party applications into a table ends adding an error image.- [patch][922ec81fe7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/922ec81fe7):
|
971
|
+
|
972
|
+
ED-7710: Only show annotation highlight if we have a provider
|
973
|
+
|
974
|
+
## 3.1.3
|
975
|
+
|
976
|
+
### Patch Changes
|
977
|
+
|
978
|
+
- [patch][48fcfce0a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/48fcfce0a1):
|
979
|
+
|
980
|
+
Export missing definitions from schema to fix types in utils
|
981
|
+
|
982
|
+
## 3.1.2
|
983
|
+
|
984
|
+
### Patch Changes
|
985
|
+
|
986
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
987
|
+
|
988
|
+
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports
|
989
|
+
|
990
|
+
## 3.1.1
|
991
|
+
|
992
|
+
### Patch Changes
|
993
|
+
|
994
|
+
- [patch][0d7d459f1a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0d7d459f1a):
|
995
|
+
|
996
|
+
Fixes type errors which were incompatible with TS 3.6
|
997
|
+
|
998
|
+
## 3.1.0
|
999
|
+
|
1000
|
+
### Minor Changes
|
1001
|
+
|
1002
|
+
- [minor][66c5c88f4a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/66c5c88f4a):
|
1003
|
+
|
1004
|
+
Refactor emoji to use typeahead plugin- [minor][bdee736f14](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bdee736f14):
|
1005
|
+
|
1006
|
+
ED-7175: unify smart link and hyperlink toolbars
|
1007
|
+
|
1008
|
+
Also updates the toDOM and parseDOM on ADF nodes, making `url` optional.
|
1009
|
+
|
1010
|
+
Smart cards can now optionally be passed an onResolve callback, of the shape:
|
1011
|
+
|
1012
|
+
onResolve?: (data: { url?: string; title?: string }) => void;
|
1013
|
+
|
1014
|
+
This gets fired when the view resolves a smart card from JSON-LD, either via the client or the `data` prop.
|
1015
|
+
|
1016
|
+
### Patch Changes
|
1017
|
+
|
1018
|
+
- [patch][6e3a0038fc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6e3a0038fc):
|
1019
|
+
|
1020
|
+
ED-7288: reduces the number of DOM nodes in table cells, changes the way resize handles are positioned- [patch][a0a3fa7aac](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a0a3fa7aac):
|
1021
|
+
|
1022
|
+
Ensure mediagroup nodes are copied to destination collection when pasted in different documents
|
1023
|
+
|
1024
|
+
## 3.0.0
|
1025
|
+
|
1026
|
+
### Major Changes
|
1027
|
+
|
1028
|
+
- [major][6164bc2629](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6164bc2629):
|
1029
|
+
|
1030
|
+
ED-6806 Move 'calcTableColumnWidths' from adf-schema into editor-common
|
1031
|
+
|
1032
|
+
BREAKING CHANGE
|
1033
|
+
|
1034
|
+
We move 'calcTableColumnWidths' helper from adf-schema into our helper library editor-common, you can use it from editor-common in the same way:
|
1035
|
+
|
1036
|
+
Before:
|
1037
|
+
|
1038
|
+
```javascript
|
1039
|
+
import { calcTableColumnWidths } from '@atlaskit/adf-schema';
|
1040
|
+
```
|
1041
|
+
|
1042
|
+
Now:
|
1043
|
+
|
1044
|
+
```javascript
|
1045
|
+
import { calcTableColumnWidths } from '@atlaskit/editor-common';
|
1046
|
+
```
|
1047
|
+
|
1048
|
+
## 2.13.1
|
1049
|
+
|
1050
|
+
### Patch Changes
|
1051
|
+
|
1052
|
+
- [patch][a892339c19](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a892339c19):
|
1053
|
+
|
1054
|
+
Give all editor decorations a key to prevent ProseMirror from re-rendering decorations constantly.
|
1055
|
+
|
1056
|
+
Enables YAML language for codeblocks
|
1057
|
+
|
1058
|
+
## 2.13.0
|
1059
|
+
|
1060
|
+
### Minor Changes
|
1061
|
+
|
1062
|
+
- [minor][ec66d3c646](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ec66d3c646):
|
1063
|
+
|
1064
|
+
Improve performance of pages with smart cards
|
1065
|
+
|
1066
|
+
## 2.12.4
|
1067
|
+
|
1068
|
+
### Patch Changes
|
1069
|
+
|
1070
|
+
- [patch][0bb88234e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0bb88234e6):
|
1071
|
+
|
1072
|
+
Upgrade prosemirror-view to 1.9.12
|
1073
|
+
|
1074
|
+
## 2.12.3
|
1075
|
+
|
1076
|
+
### Patch Changes
|
1077
|
+
|
1078
|
+
- [patch][ec8066a555](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ec8066a555):
|
1079
|
+
|
1080
|
+
Upgrade `@types/prosemirror-view` Typescript definitions to latest 1.9.x API
|
1081
|
+
|
1082
|
+
## 2.12.2
|
1083
|
+
|
1084
|
+
### Patch Changes
|
1085
|
+
|
1086
|
+
- [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87):
|
1087
|
+
|
1088
|
+
Fixes bug, missing version.json file
|
1089
|
+
|
1090
|
+
## 2.12.1
|
1091
|
+
|
1092
|
+
### Patch Changes
|
1093
|
+
|
1094
|
+
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
1095
|
+
|
1096
|
+
In this PR, we are:
|
1097
|
+
|
1098
|
+
- Re-introducing dist build folders
|
1099
|
+
- Adding back cjs
|
1100
|
+
- Replacing es5 by cjs and es2015 by esm
|
1101
|
+
- Creating folders at the root for entry-points
|
1102
|
+
- Removing the generation of the entry-points at the root
|
1103
|
+
Please see this [ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this [page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points) for further details
|
1104
|
+
|
1105
|
+
## 2.12.0
|
1106
|
+
|
1107
|
+
### Minor Changes
|
1108
|
+
|
1109
|
+
- [minor][13ca42c394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/13ca42c394):
|
1110
|
+
|
1111
|
+
# use getAuthFromContext from media when a file if pasted from a different collection
|
1112
|
+
|
1113
|
+
Now products can provide auth using **getAuthFromContext** on MediaClientConfig:
|
1114
|
+
|
1115
|
+
```
|
1116
|
+
import {MediaClientConfig} from '@atlaskit/media-core'
|
1117
|
+
import Editor from '@atlaskit/editor-core'
|
1118
|
+
|
1119
|
+
const viewMediaClientConfig: MediaClientConfig = {
|
1120
|
+
authProvider // already exists
|
1121
|
+
getAuthFromContext(contextId: string) {
|
1122
|
+
// here products can return auth for external pages.
|
1123
|
+
// in case of copy & paste on Confluence, they can provide read token for
|
1124
|
+
// files on the source collection
|
1125
|
+
}
|
1126
|
+
}
|
1127
|
+
const mediaProvider: = {
|
1128
|
+
viewMediaClientConfig
|
1129
|
+
}
|
1130
|
+
|
1131
|
+
<Editor {...otherNonRelatedProps} media={{provider: mediaProvider}} />
|
1132
|
+
```
|
1133
|
+
|
1134
|
+
## 2.11.4
|
1135
|
+
|
1136
|
+
### Patch Changes
|
1137
|
+
|
1138
|
+
- [patch][f60618b0f0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f60618b0f0):
|
1139
|
+
|
1140
|
+
ED-5844 Adding media link UI to editor
|
1141
|
+
|
1142
|
+
## 2.11.3
|
1143
|
+
|
1144
|
+
### Patch Changes
|
1145
|
+
|
1146
|
+
- [patch][4aed452b1b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4aed452b1b):
|
1147
|
+
|
1148
|
+
ED-7041, SL-231: fix copying smart link from renderer to editor
|
1149
|
+
|
1150
|
+
## 2.11.2
|
1151
|
+
|
1152
|
+
### Patch Changes
|
1153
|
+
|
1154
|
+
- [patch][1b12e59bfd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1b12e59bfd):
|
1155
|
+
|
1156
|
+
ED-6917, SL-260: support drag and drop of smart links
|
1157
|
+
|
1158
|
+
## 2.11.1
|
1159
|
+
|
1160
|
+
### Patch Changes
|
1161
|
+
|
1162
|
+
- [patch][4c0fcec857](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4c0fcec857):
|
1163
|
+
|
1164
|
+
ED-7059: fix trailing slashes for hyperlinks being removed, and smart links resolving
|
1165
|
+
|
1166
|
+
## 2.11.0
|
1167
|
+
|
1168
|
+
### Minor Changes
|
1169
|
+
|
1170
|
+
- [minor][ef787dba60](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ef787dba60):
|
1171
|
+
|
1172
|
+
ED-7178: Promoting alignment and indentation to full schema
|
1173
|
+
|
1174
|
+
## 2.10.0
|
1175
|
+
|
1176
|
+
### Minor Changes
|
1177
|
+
|
1178
|
+
- [minor][3d9136e483](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3d9136e483):
|
1179
|
+
|
1180
|
+
ED-7182: Promoting annotation to full schema
|
1181
|
+
|
1182
|
+
## 2.9.0
|
1183
|
+
|
1184
|
+
### Minor Changes
|
1185
|
+
|
1186
|
+
- [minor][d6c31deacf](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d6c31deacf):
|
1187
|
+
|
1188
|
+
ED-6701 Upgrade prosemirror-view to 1.9.10 and prosemirror-inputrules to 1.0.4 for composition input improvements
|
1189
|
+
|
1190
|
+
## 2.8.1
|
1191
|
+
|
1192
|
+
### Patch Changes
|
1193
|
+
|
1194
|
+
- [patch][34c6df4fb8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/34c6df4fb8):
|
1195
|
+
|
1196
|
+
adf-schema has been extended with one missing color, email-renderer now bundles up styles into .css file
|
1197
|
+
|
1198
|
+
## 2.8.0
|
1199
|
+
|
1200
|
+
### Minor Changes
|
1201
|
+
|
1202
|
+
- [minor][86bf524679](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/86bf524679):
|
1203
|
+
|
1204
|
+
ED-7117, ED-7087: Fix copy pasting smart links out of editor. Fallback to HTML anchor tag if errors occur during rendering (e.g. no provider found).
|
1205
|
+
|
1206
|
+
## 2.7.1
|
1207
|
+
|
1208
|
+
### Patch Changes
|
1209
|
+
|
1210
|
+
- [patch][4931459ac1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4931459ac1):
|
1211
|
+
|
1212
|
+
Revert removed by accident breakout mark
|
1213
|
+
|
1214
|
+
## 2.7.0
|
1215
|
+
|
1216
|
+
### Minor Changes
|
1217
|
+
|
1218
|
+
- [minor][0a7ce4f0e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a7ce4f0e6):
|
1219
|
+
|
1220
|
+
ED-7046: promote layoutSection and layoutColumn from stage-0 to full schema
|
1221
|
+
|
1222
|
+
## 2.6.1
|
1223
|
+
|
1224
|
+
### Patch Changes
|
1225
|
+
|
1226
|
+
- [patch][aff59f9a99](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/aff59f9a99):
|
1227
|
+
|
1228
|
+
ED-7045: promote mediaSingle width attribute from stage-0 to full schema
|
1229
|
+
|
1230
|
+
## 2.6.0
|
1231
|
+
|
1232
|
+
### Minor Changes
|
1233
|
+
|
1234
|
+
- [minor][a6a241d230](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a6a241d230):
|
1235
|
+
|
1236
|
+
Breakout mark stage-0 -> full schema
|
1237
|
+
|
1238
|
+
## 2.5.10
|
1239
|
+
|
1240
|
+
### Patch Changes
|
1241
|
+
|
1242
|
+
- [patch][9886f4afa1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9886f4afa1):
|
1243
|
+
|
1244
|
+
- [ED-7017] Improve table performance removing cellView from table
|
1245
|
+
|
1246
|
+
## 2.5.9
|
1247
|
+
|
1248
|
+
- [patch][f823890888](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f823890888):
|
1249
|
+
|
1250
|
+
- ED-6970: Fix backspacing inside a layout removing all content.
|
1251
|
+
|
1252
|
+
## 2.5.8
|
1253
|
+
|
1254
|
+
- [patch][5ad66b6d1a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5ad66b6d1a):
|
1255
|
+
|
1256
|
+
- [ED-6860] Revert prosemirror-view 1.8.9 bumps, this version was making the cursor typing slowly. this version is recreating all plugins when we use `EditorView.setProps`
|
1257
|
+
|
1258
|
+
## 2.5.7
|
1259
|
+
|
1260
|
+
- [patch][1ec6367e00](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1ec6367e00):
|
1261
|
+
|
1262
|
+
- ED-6551 - Lists should correctly wrap adjacent floated content without overlapping
|
1263
|
+
|
1264
|
+
## 2.5.6
|
1265
|
+
|
1266
|
+
- [patch][80cf1c1e82](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/80cf1c1e82):
|
1267
|
+
|
1268
|
+
- [ED-6654] Update prosemirror-view to 1.8.9 that fixes a few issues with mouse selections on prosemirror like click on table and the controls doesn't show up
|
1269
|
+
|
1270
|
+
## 2.5.5
|
1271
|
+
|
1272
|
+
- Updated dependencies [7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
1273
|
+
- @atlaskit/editor-json-transformer@6.0.0
|
1274
|
+
- @atlaskit/editor-test-helpers@9.0.0
|
1275
|
+
|
1276
|
+
## 2.5.4
|
1277
|
+
|
1278
|
+
- [patch][0a4ccaafae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a4ccaafae):
|
1279
|
+
|
1280
|
+
- Bump tslib
|
1281
|
+
|
1282
|
+
- [patch][0ac39bd2dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0ac39bd2dd):
|
1283
|
+
|
1284
|
+
- Bump tslib to 1.9
|
1285
|
+
|
1286
|
+
## 2.5.3
|
1287
|
+
|
1288
|
+
- [patch][583f5db46d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/583f5db46d):
|
1289
|
+
|
1290
|
+
- Use tslib as dependency
|
1291
|
+
|
1292
|
+
## 2.5.2
|
1293
|
+
|
1294
|
+
- [patch][6695367885](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6695367885):
|
1295
|
+
|
1296
|
+
- Revert emoji refactor
|
1297
|
+
|
1298
|
+
## 2.5.1
|
1299
|
+
|
1300
|
+
- [patch][c01f9e1cc7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c01f9e1cc7):
|
1301
|
+
|
1302
|
+
- Standardise code-block class between editor/renderer. Fix bg color when code-block is nested within a table heading.
|
1303
|
+
|
1304
|
+
## 2.5.0
|
1305
|
+
|
1306
|
+
- [minor][64dd2ab46f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/64dd2ab46f):
|
1307
|
+
|
1308
|
+
- ED-6558 Fix clicking to set the cursor placement after an inline node that's at the end of a line. Set the default style attribute of Status nodes to be empty instead of 'null'.
|
1309
|
+
|
1310
|
+
## 2.4.1
|
1311
|
+
|
1312
|
+
- [patch][97e555c168](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97e555c168):
|
1313
|
+
|
1314
|
+
- Revert "[ED-5259 - ED-6200] adds defaultMarks on tableNode (pull request #5259)"
|
1315
|
+
|
1316
|
+
## 2.4.0
|
1317
|
+
|
1318
|
+
- [minor][09a90e4af1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/09a90e4af1):
|
1319
|
+
|
1320
|
+
- ED-6319 Supporting select media using gap cursor, fix behaviour of backspace key and gap cursor in media single with layout wrap-right.
|
1321
|
+
|
1322
|
+
## 2.3.2
|
1323
|
+
|
1324
|
+
- [patch][b425ea772b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b425ea772b):
|
1325
|
+
|
1326
|
+
- Revert "ED-5505 add strong as default mark to table header (pull request #5291)"
|
1327
|
+
|
1328
|
+
## 2.3.1
|
1329
|
+
|
1330
|
+
- [patch][d13fad66df](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13fad66df):
|
1331
|
+
|
1332
|
+
- Enable esModuleInterop for typescript, this allows correct use of default exports
|
1333
|
+
|
1334
|
+
## 2.3.0
|
1335
|
+
|
1336
|
+
- [minor][02dd1f7287](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/02dd1f7287):
|
1337
|
+
|
1338
|
+
- [ED-5505] Persists formatting to table cells and headers when toggling header row, column or applying any text formatting to empty cells.
|
1339
|
+
|
1340
|
+
## 2.2.1
|
1341
|
+
|
1342
|
+
- [patch][3f8a08fc88](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f8a08fc88):
|
1343
|
+
|
1344
|
+
Release a new version of adf-schema
|
1345
|
+
|
1346
|
+
## 2.2.0
|
1347
|
+
|
1348
|
+
- [minor][63133d8704](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/63133d8704):
|
1349
|
+
|
1350
|
+
- [ED-6200] Add defaultMarks attribute on tableCell schema
|
1351
|
+
|
1352
|
+
## 2.1.0
|
1353
|
+
|
1354
|
+
- [minor][0fea11af41](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0fea11af41):
|
1355
|
+
|
1356
|
+
- Email renderer supports numbered columns, adf-schema extended with colors
|
1357
|
+
|
1358
|
+
## 2.0.1
|
1359
|
+
|
1360
|
+
- [patch][205b101e2b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/205b101e2b):
|
1361
|
+
|
1362
|
+
- ED-6230: bump prosemirror-view to 1.8.3; workaround Chrome bug with copy paste multiple images
|
1363
|
+
|
1364
|
+
## 2.0.0
|
1365
|
+
|
1366
|
+
- [major][9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
|
1367
|
+
|
1368
|
+
- Dropped ES5 distributables from the typescript packages
|
1369
|
+
|
1370
|
+
## 1.7.1
|
1371
|
+
|
1372
|
+
- [patch][0825fbe634](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0825fbe634):
|
1373
|
+
|
1374
|
+
- ED-6410: remove opacity from cells background color
|
1375
|
+
|
1376
|
+
## 1.7.0
|
1377
|
+
|
1378
|
+
- [minor][6380484429](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6380484429):
|
1379
|
+
|
1380
|
+
- ED-6485 Support breakout mark on layout-section. Retain breakout mark when toggling list nested within columns.
|
1381
|
+
|
1382
|
+
## 1.6.2
|
1383
|
+
|
1384
|
+
- [patch][d18b085e2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d18b085e2a):
|
1385
|
+
|
1386
|
+
- Integrating truly upfront ID
|
1387
|
+
|
1388
|
+
## 1.6.1
|
1389
|
+
|
1390
|
+
- [patch][4d0c196597](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4d0c196597):
|
1391
|
+
|
1392
|
+
- ED-6232 Fix copy-pasting a table with numbered column drops one column
|
1393
|
+
|
1394
|
+
## 1.6.0
|
1395
|
+
|
1396
|
+
- [minor][3672ec23ef](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3672ec23ef):
|
1397
|
+
|
1398
|
+
- [ED-5788] Add new layout Breakout button for CodeBlock and Layout
|
1399
|
+
|
1400
|
+
## 1.5.5
|
1401
|
+
|
1402
|
+
- [patch][356de07a87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/356de07a87):
|
1403
|
+
|
1404
|
+
- Revert back to number for external media
|
1405
|
+
|
1406
|
+
## 1.5.4
|
1407
|
+
|
1408
|
+
- Updated dependencies [4af5bd2a58](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4af5bd2a58):
|
1409
|
+
- @atlaskit/editor-json-transformer@4.1.11
|
1410
|
+
- @atlaskit/editor-test-helpers@7.0.0
|
1411
|
+
|
1412
|
+
## 1.5.3
|
1413
|
+
|
1414
|
+
- [patch][775da616c6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/775da616c6):
|
1415
|
+
|
1416
|
+
- [ED-5910] Keep width & height on media node as number
|
1417
|
+
|
1418
|
+
## 1.5.2
|
1419
|
+
|
1420
|
+
- [patch][e83a441140](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e83a441140):
|
1421
|
+
|
1422
|
+
- Revert type change to width/height attributes for media node
|
1423
|
+
|
1424
|
+
## 1.5.1
|
1425
|
+
|
1426
|
+
- [patch][09696170ec](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/09696170ec):
|
1427
|
+
|
1428
|
+
- Bumps prosemirror-utils to 0.7.6
|
1429
|
+
|
1430
|
+
## 1.5.0
|
1431
|
+
|
1432
|
+
- [minor][14fe1381ba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/14fe1381ba):
|
1433
|
+
|
1434
|
+
- ED-6118: ensure media dimensions are always integers, preventing invalid ADF
|
1435
|
+
|
1436
|
+
## 1.4.6
|
1437
|
+
|
1438
|
+
- [patch][557a2b5734](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/557a2b5734):
|
1439
|
+
|
1440
|
+
- ED-5788: bump prosemirror-view and prosemirror-model
|
1441
|
+
|
1442
|
+
## 1.4.5
|
1443
|
+
|
1444
|
+
- [patch][4552e804d3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4552e804d3):
|
1445
|
+
|
1446
|
+
- dismiss StatusPicker if status node is not selected
|
1447
|
+
|
1448
|
+
## 1.4.4
|
1449
|
+
|
1450
|
+
- [patch][adff2caed7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/adff2caed7):
|
1451
|
+
|
1452
|
+
- Improve typings
|
1453
|
+
|
1454
|
+
## 1.4.3
|
1455
|
+
|
1456
|
+
- [patch][d10cf50721](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d10cf50721):
|
1457
|
+
|
1458
|
+
- added fabric status to ADF full schema
|
1459
|
+
|
1460
|
+
## 1.4.2
|
1461
|
+
|
1462
|
+
- [patch][478a86ae8a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/478a86ae8a):
|
1463
|
+
|
1464
|
+
- avoid using the same localId when pasting status
|
1465
|
+
|
1466
|
+
## 1.4.1
|
1467
|
+
|
1468
|
+
- [patch][2d6d5b6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2d6d5b6):
|
1469
|
+
|
1470
|
+
- ED-5379: rework selecting media under the hood; maintain size and layout when copy-pasting
|
1471
|
+
|
1472
|
+
## 1.4.0
|
1473
|
+
|
1474
|
+
- [minor][c5ee0c8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c5ee0c8):
|
1475
|
+
|
1476
|
+
- Added Annotation mark to ADF, editor & renderer
|
1477
|
+
|
1478
|
+
## 1.3.3
|
1479
|
+
|
1480
|
+
- [patch][060f2da](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/060f2da):
|
1481
|
+
|
1482
|
+
- ED-5991: bumped prosemirror-view to 1.6.8
|
1483
|
+
|
1484
|
+
## 1.3.2
|
1485
|
+
|
1486
|
+
- [patch][a50c114](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a50c114):
|
1487
|
+
|
1488
|
+
- ED-6026: unify attributes for blockCard and inlineCard; allow parseDOM using just 'data' attribute
|
1489
|
+
|
1490
|
+
## 1.3.1
|
1491
|
+
|
1492
|
+
- [patch][7d9ccd7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7d9ccd7):
|
1493
|
+
|
1494
|
+
- fixed copy/paste status from renderer to editor
|
1495
|
+
|
1496
|
+
## 1.3.0
|
1497
|
+
|
1498
|
+
- [minor][cbcac2e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cbcac2e):
|
1499
|
+
|
1500
|
+
- Promote smartcard nodes to full schema
|
1501
|
+
|
1502
|
+
## 1.2.0
|
1503
|
+
|
1504
|
+
- [minor][5b11b69](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5b11b69):
|
1505
|
+
|
1506
|
+
- Allow mixed of cell types in a table row
|
1507
|
+
|
1508
|
+
## 1.1.0
|
1509
|
+
|
1510
|
+
- [minor][b9f8a8f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b9f8a8f):
|
1511
|
+
|
1512
|
+
- Adding alignment options to media
|
1513
|
+
|
1514
|
+
## 1.0.1
|
1515
|
+
|
1516
|
+
- [patch][d7bfd60](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d7bfd60):
|
1517
|
+
|
1518
|
+
- Rengenerate JSON schema after moving packages
|
1519
|
+
|
1520
|
+
## 1.0.0
|
1521
|
+
|
1522
|
+
- [major][1205725](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1205725):
|
1523
|
+
|
1524
|
+
- Move schema to its own package
|