Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@atlaskit/editor-json-transformer

atlassian92.7kApache-2.08.27.2TypeScript support: included

JSON transformer

readme

changelog

@atlaskit/editor-json-transformer

8.27.2

Patch Changes

  • a2cd8c46a3e94 - EDITOR-1442 Bump adf-schema
  • Updated dependencies

8.27.1

Patch Changes

  • 0fdcb6f2f96fd - Sorted type and interface props to improve Atlaskit docs
  • Updated dependencies

8.27.0

Minor Changes

  • 72f94befc61f2 - replace method-style signatures with function-style signatures

8.26.1

Patch Changes

  • 57b19274b9fdd - EDITOR-1373 Bump adf-schema version
  • Updated dependencies

8.26.0

Minor Changes

  • 7b86b50272e47 - Expose new utility function, nodeToJSON which can be used to safely return a JSON object from a node.

8.25.1

Patch Changes

8.25.0

Minor Changes

8.24.5

Patch Changes

8.24.4

Patch Changes

8.24.3

Patch Changes

  • #169039 d2488752fcad8 - EDITOR-508 Part 1 of cleaning up platform_editor_use_nested_table_pm_nodes

8.24.2

Patch Changes

8.24.1

Patch Changes

8.24.0

Minor Changes

  • #120472 73c800ab5f2fc - ED-26766 update adf-schema from 47.2.1 to 47.6.0 and adf-schema-json from 1.27.0 to 1.31.0

Patch Changes

  • Updated dependencies

8.23.1

Patch Changes

8.23.0

Minor Changes

8.22.2

Patch Changes

  • #107782 cccc7a8347929 - [ux] ED-26378 Remove editor_nest_media_and_codeblock_in_quotes_jira and nestMediaAndCodeblockInQuote

8.22.1

Patch Changes

  • Updated dependencies

8.22.0

Minor Changes

Patch Changes

  • Updated dependencies

8.21.2

Patch Changes

  • #107139 3721ee9d53429 - [ux] ED-26378 Editor Implementation - Clean up previous project FF in blockQuote

8.21.1

Patch Changes

8.21.0

Minor Changes

  • #156454 8dfa896f600a2 - [ED-25499] this change adds a transformer for converting nested tables to extensions in outgoing documents

Patch Changes

  • Updated dependencies

8.20.4

Patch Changes

  • 9a4a3df453d84 - Updated the JSONTransformer to support using an mention mapping. During the encoding of mentions the text names can be pulled from the mention map and encoded.
  • Updated dependencies

8.20.3

Patch Changes

8.20.2

Patch Changes

8.20.1

Patch Changes

8.20.0

Minor Changes

  • #152594 91885511b74c6 - The JSON Transformer now supports being initialised with a schema rather. This is backwards compatible and the parse method still supports overriding this based on the set stage

8.19.1

Patch Changes

8.19.0

Minor Changes

  • #151190 a3723b1cdede2 - [ux] [ED-25037] this change bumps @atlaskit/adf-schema from 40.9.0 to 40.9.4 which makes the blockquote selectable, adds missing marks to the PM node spec and fixes a bug that converted pasted external images to media groups.

Patch Changes

  • Updated dependencies

8.18.2

Patch Changes

8.18.1

Patch Changes

8.18.0

Minor Changes

  • #128347 e33566cebd5d1 - [ED-24175] bump @atlaskit/adf-schema to 40.8.1 and @atlassian/adf-schema-json to 1.22.0 to promotecodeblocks & media in quotes, and nested expands in expands to full schema, and allow quotes in panels and decisions in lists in stage0 schema, and a validator spec change

Patch Changes

  • Updated dependencies

8.17.0

Minor Changes

  • #124209 8aa1792f12ed3 - bump @atlaskit/editor-prosemirror to 5.0.0, bump @atlaskit/adf-schema to 40.1.0

Patch Changes

  • Updated dependencies

8.16.0

Minor Changes

  • #122895 49b8c7658f3b5 - [ED-24173] bump @atlaskit/adf-schema to 40.3.0 and @atlassian/adf-schema-json to 1.18.0

Patch Changes

  • Updated dependencies

8.15.1

Patch Changes

8.15.0

Minor Changes

Patch Changes

  • Updated dependencies

8.14.0

Minor Changes

Patch Changes

  • Updated dependencies

8.13.2

Patch Changes

8.13.1

Patch Changes

  • #101524 4821570088e6 - ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation

8.13.0

Minor Changes

Patch Changes

  • Updated dependencies

8.12.1

Patch Changes

8.12.0

Minor Changes

  • #98129 78612a7edba4 - [ux] [ED-23101] Updated Editor JSON, Slack, Confluence and Email transformers to support the new backgroundColor mark

8.11.5

Patch Changes

  • #98083 d22da28a5f6c - Added step to ADF JSON transformer to remove empty attributes property from paragraph nodes
  • Updated dependencies

8.11.4

Patch Changes

8.11.3

Patch Changes

8.11.2

Patch Changes

8.11.1

Patch Changes

8.11.0

Minor Changes

8.10.33

Patch Changes

8.10.32

Patch Changes

8.10.31

Patch Changes

  • #88926 7fe4b7e92a92 - ED-22917 chore(editor-json-transformer): accomodate annotations on inlineCards

8.10.30

Patch Changes

  • #86724 718a9aa2424d - [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from 35.7.0 to 35.8.0

8.10.29

Patch Changes

8.10.28

Patch Changes

8.10.27

Patch Changes

8.10.26

Patch Changes

8.10.25

Patch Changes

8.10.24

Patch Changes

8.10.23

Patch Changes

8.10.22

Patch Changes

8.10.21

Patch Changes

8.10.20

Patch Changes

  • #62165 b44ac0968d79 - [ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update

8.10.19

Patch Changes

  • #60808 f509a21be124 - ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE

8.10.18

Patch Changes

8.10.17

Patch Changes

  • #59147 f12e489f23b0 - Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).

8.10.16

Patch Changes

8.10.15

Patch Changes

8.10.14

Patch Changes

8.10.13

Patch Changes

8.10.12

Patch Changes

8.10.11

Patch Changes

8.10.10

Patch Changes

8.10.9

Patch Changes

  • #39481 aeb5c9a01e8 - Delete adf-schema from AFE and rely on npm package for adf-schema
  • 4b4dcfe0bba - Delete adf-schema, use published version

8.10.8

Patch Changes

8.10.7

Patch Changes

8.10.6

Patch Changes

  • Updated dependencies

8.10.5

Patch Changes

  • Updated dependencies

8.10.4

Patch Changes

  • #37785 4e6f1bf8511 - [ED-19233] Import prosemirror libraries from internal facade package

8.10.3

Patch Changes

  • #37004 1bfa8537fae - [ED-18163] Removed last circular dependencies by moving transformer tests to their related transformers and removing an unused dependency

8.10.2

Patch Changes

  • #36798 93f5f1a9839 - [ED-18161] Move transformer tests to their dedicated transformers packages to avoid circular dependencies

8.10.1

Patch Changes

  • #36816 700074a0830 - [ux] ED-18027 Upgrades editor-markdown-transformer to latest version.

8.10.0

Minor Changes

  • #36134 65fe45e0cc0 - Promoted border mark to full schema and add border support for email renderer

Patch Changes

  • Updated dependencies

8.9.6

Patch Changes

8.9.5

Patch Changes

  • Updated dependencies

8.9.4

Patch Changes

  • #34898 8f67b856676 - [ED-18156] Remove circular dependency cycles for editor-json-transformer & editor-bitbucket-transformer

8.9.3

Patch Changes

8.9.2

Patch Changes

  • #33771 a142ba1aa28 - [ED17172] Bump prosemirror-model to 1.16.0 and prosemirror-view to 1.23.7 and removed work-arounds for fixed issues

8.9.1

Patch Changes

8.9.0

Minor Changes

Patch Changes

  • Updated dependencies

8.8.5

Patch Changes

  • #33004 0ffb55018c9 - Revert "[ED-17172] Bumped prosemirror-view from 1.23.2 to 1.23.7 and removed work-around for fixed issues"

8.8.4

Patch Changes

  • #32424 2e01c9c74b5 - DUMMY remove before merging to master; dupe adf-schema via adf-utils
  • Updated dependencies

8.8.3

Patch Changes

  • #28090 43cb4da169a - Refactored filterNull to use a for loop rather than reduce
  • 3e03d26ca36 - [ESS-3031] Added the capability to parse ADF documents for the stage-0 schema
  • Updated dependencies

8.8.2

Patch Changes

8.8.1

Patch Changes

8.8.0

Minor Changes

Patch Changes

  • Updated dependencies

8.7.7

Patch Changes

8.7.6

Patch Changes

  • #21570 01c4d8fb95a - ED-13895 update editor json transformer to emotion
  • Updated dependencies

8.7.5

Patch Changes

8.7.4

Patch Changes

  • #20033 b29ce16dad8 - [ED-14606] Move bitbucket schema, confluence schema, jira schema, and default schema from @atlaskit/adf-schema to their own entry points. These new entry points are as follows

    @atlaskit/adf-schema/schema-bitbucket for:

    • bitbucketSchema

    @atlaskit/adf-schema/schema-confluence for:

    • confluenceSchema
    • confluenceSchemaWithMediaSingle

    @atlaskit/adf-schema/schema-jira for:

    • default as createJIRASchema
    • isSchemaWithLists
    • isSchemaWithMentions
    • isSchemaWithEmojis
    • isSchemaWithLinks
    • isSchemaWithAdvancedTextFormattingMarks
    • isSchemaWithCodeBlock
    • isSchemaWithBlockQuotes
    • isSchemaWithMedia
    • isSchemaWithSubSupMark
    • isSchemaWithTextColor
    • isSchemaWithTables

    @atlaskit/adf-schema/schema-default for:

    • defaultSchema
    • getSchemaBasedOnStage
    • defaultSchemaConfig

    This change also includes codemods in @atlaskit/adf-schema to update these entry points. It also introduces a new util function "changeImportEntryPoint" to @atlaskit/codemod-utils to handle this scenario.

  • Updated dependencies

8.7.3

Patch Changes

  • Updated dependencies

8.7.2

Patch Changes

  • #16752 19d72473dfb - ED-13025 Bump prosemirror-view 1.23.1 -> 1.23.2
  • 19d72473dfb - ED-13753 Updated editor-common import entries.
  • Updated dependencies

8.7.1

Patch Changes

8.7.0

Minor Changes

Patch Changes

  • c6feed82071 - ED-11632: Bump prosemirror packages;

    • prosmirror-commands 1.1.4 -> 1.1.11,
    • prosemirror-model 1.11.0 -> 1.14.3,
    • prosemirror-state 1.3.3 -> 1.3.4,
    • prosemirror-transform 1.2.8 -> 1.3.2,
    • prosemirror-view 1.15.4 + 1.18.8 -> 1.20.2.
  • Updated dependencies

8.6.6

Patch Changes

  • #13302 2aef13b22d8 - ED-12604: add localId for tables and dataConsumer mark for extensions in full schema
  • Updated dependencies

8.6.5

Patch Changes

8.6.4

Patch Changes

  • Updated dependencies

8.6.3

Patch Changes

  • #11113 566f674ac8f - Removes allowReferentiality & UNSAFE_allowDataConsumer props from editor props. These can now be toggled via the feature flags prop, e.g.

    <Editor
        featureFlags={{
            'allow-local-id-generation-on-tables': true,
            'allow-data-consumer': true,
        }}
    />
  • Updated dependencies

8.6.2

Patch Changes

  • Updated dependencies

8.6.1

Patch Changes

  • #9756 653093877f8 - Update data-consumer behaviour for json transforming
  • Updated dependencies

8.6.0

Minor Changes

  • #9510 9c36253ed5e - ED-10216 Add sanitizeNode into @atlaskit/editor-json-transformer

Patch Changes

  • 58b170725be - Renamed @atlaskit/editor-test-helpers/schema-builder to @atlaskit/editor-test-helpers/doc-builder
  • Updated dependencies

8.5.0

Minor Changes

  • #9083 96219e933e9 - Update json transformer for improving data-consumer support

Patch Changes

  • d2e70ebaaa9 - NO-ISSUE: updated editor tests to use 'doc: DocBuilder' instead of 'doc: any'
  • Updated dependencies

8.4.5

Patch Changes

  • Updated dependencies

8.4.4

Patch Changes

8.4.3

Patch Changes

  • #6228 0175a00afc - [ED-10670] Update prosemirror-model type to use posAtIndex methods
  • Updated dependencies

8.4.2

Patch Changes

  • #5860 703752d487 - ED-10647 Remove caret from prosemirror-model, prosemirror-keymap, prosemirror-state, prosemirror-transform to lock them down to an explicit version
  • Updated dependencies

8.4.1

Patch Changes

  • #5497 5f58283e1f - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started Also add typescript to devDependencies to denote version that the package was built with.

8.4.0

Minor Changes

Patch Changes

  • Updated dependencies

8.3.0

Minor Changes

Patch Changes

  • Updated dependencies

8.2.1

Patch Changes

  • #3885 6c525a8229 - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0

    Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade to prevent duplicates of tslib being bundled.

8.2.0

Minor Changes

Patch Changes

  • 6262f382de - Use the 'lodash' package instead of single-function 'lodash.*' packages
  • Updated dependencies

8.1.0

Minor Changes

Patch Changes

  • Updated dependencies

8.0.0

Major Changes

Patch Changes

  • Updated dependencies

7.0.14

Patch Changes

  • Updated dependencies

7.0.13

Patch Changes

  • Updated dependencies

7.0.12

Patch Changes

  • #1868 a6db2efbe3 - Change imports to comply with Atlassian conventions- Updated dependencies

7.0.11

Patch Changes

7.0.10

Patch Changes

7.0.9

Patch Changes

7.0.8

Patch Changes

7.0.7

Patch Changes

7.0.6

Patch Changes

7.0.5

Patch Changes

7.0.4

Patch Changes

7.0.3

Patch Changes

7.0.2

Patch Changes

7.0.1

Patch Changes

7.0.0

Major Changes

  • [major]6d9c8a9073:

    Provide standard empty adf when provided with empty wikimarkup/markdown/jira/cxhtml/prosemirror

Minor Changes

6.3.5

6.3.4

Patch Changes

  • [patch]cc28419139:

    Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.- [patch]ae4f336a3a:

FABDODGEM-13 Editor Damask Release - Internal post

BREAKING CHANGES


Affected Editor Components:

tables, media, mobile, emoji, tasks & decisions, analytics

Editor

Mobile

Media

i18n-tools

Bumped dependencies.

6.3.3

6.3.2

6.3.1

Patch Changes

  • [patch]097b696613:

    Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports

6.3.0

Minor Changes

  • [minor]66c5c88f4a:

    Refactor emoji to use typeahead plugin

6.2.4

Patch Changes

  • [patch]f34776be97:

    Type definition files are now referenced in package.json

6.2.3

6.2.2

Patch Changes

  • [patch]bbff8a7d87:

    Fixes bug, missing version.json file

6.2.1

Patch Changes

  • [patch]18dfac7332:

    In this PR, we are:

    • Re-introducing dist build folders
    • Adding back cjs
    • Replacing es5 by cjs and es2015 by esm
    • Creating folders at the root for entry-points
    • Removing the generation of the entry-points at the root Please see this ticket or this page for further details

6.2.0

Minor Changes

  • [minor]634bf920a8:

    Expose es5 build for json transformer

6.1.0

  • [minor]79f0ef0601:

    • Use strict tsconfig to compile editor packages

6.0.2

6.0.1

6.0.0

  • [major]7c17b35107:

    • Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use this package, please ensure you use at least this version of react and react-dom.

5.0.4

5.0.3

5.0.2

5.0.1

  • [patch]1bcaa1b991:

    • Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js

5.0.0

  • [major]9d5cc39394:

    • Dropped ES5 distributables from the typescript packages

4.3.5

4.3.4

4.3.3

4.3.2

4.3.1

4.3.0

  • [minor]1eb20bca95:

    • ED-6368: No implicit any for editor-*-transformer packages

4.2.0

  • [minor]7697e275b0:

    • Expose the possibility of encoding a single node

4.1.12

4.1.11

4.1.10

4.1.9

  • [patch]557a2b5734:

    • ED-5788: bump prosemirror-view and prosemirror-model

4.1.8

4.1.7

4.1.6

4.1.5

4.1.4

4.1.3

4.1.2

4.1.1

4.1.0

  • [minor]1205725:

    • Move schema to its own package

4.0.25

4.0.24

4.0.23

4.0.22

4.0.21

4.0.20

  • [patch] Wrap invalid node with unsupported node fb60e39

4.0.19

4.0.18

4.0.17

4.0.16

4.0.15

4.0.14

  • [patch] ED-5313 add width to mediaSingle 3f8c0ee

4.0.13

4.0.12

4.0.11

4.0.10

4.0.9

  • [patch] ED-5270 Headings now always have a content attribute, even if empty 87a7506

4.0.8

4.0.7

4.0.6

4.0.5

  • [patch] ED-5180: fix table columns collapse 2e0e5a1
  • [none] Updated dependencies 2e0e5a1

4.0.4

4.0.3

4.0.2

4.0.1

4.0.0

3.1.8

3.1.7

3.1.6

3.1.5

3.1.4

3.1.3

3.1.2

3.1.1

3.1.0

3.0.11

3.0.10

3.0.9

3.0.8

3.0.7

3.0.6

3.0.5

  • [patch] ED-4336 support loading dynamic/"auto" tables from confluence to fixed-width tables 0c2f72a

3.0.1

  • [patch] Added missing dependencies and added lint rule to catch them all 0672503

3.0.0

  • [major] Bump to React 16.3. 4251858

2.5.21

  • [patch] change table node builder constructor for tests, remove tableWithAttrs cf43535

2.5.18

  • [patch] Upgrading ProseMirror Libs 35d14d5

2.5.17

  • [patch] Add "sideEffects: false" to AKM2 packages to allow consumer's to tree-shake c3b018a

2.5.6

  • [patch] JSON encoding results in invalid ADF for table nodes 8a8d663

2.5.5

2.5.3

  • [patch] bump editor-common to 6.1.2 bb7802e

2.5.0

  • [minor] Implement JSONTransformer::parse to enable ADF -> PM conversion c8c3c9e

2.4.0

  • [minor] Add React 16 support. 12ea6e4

2.1.10

  • [patch] Change to use editor-core instead of editor-bitbucket for examples aa0c0ac

2.1.8

  • [patch] Move prosemirror-model to be a dev-dependency 206ce2f

2.0.3

2.0.2

  • [patch] Fix of the build scripts for editor-*-transformer packages 59b4ea5

2.0.1

2.0.0

  • [major] Adding separate transformer packages. f734c01