Error: "Duplicate use of selection JSON ID gapcursor" when using @atlaskit/editor-core in Forge app

When I using @atlaskit/editor-core in Forge app, I got an error
image
In package.json:

"@atlaskit/css-reset": "^6.0.1",
    "@atlaskit/editor-core": "^184.0.0",
    "@atlaskit/link-provider": "^1.6.3",
    "@atlaskit/media-core": "^34.1.2",
    "@forge/bridge": "2.5.6",
    "adf-builder": "^3.3.0",
    "next-intl": "^2.14.2",
    "react": "^16.13.1",
    "react-dom": "^16.13.1",
    "react-intl-next": "npm:react-intl@^5.18.1",
    "react-scripts": "^4.0.3"
2 Likes

By any chance, are you trying to serialize Editor from @atlaskit/editor-core anywhere?