Trying to integrate a rich text editor package on one of my reactjs projects named Dante3 which is nicely working on CodeSandbox but on my local machine showing error : "Uncaught TypeError prosemirrorState.PluginKey is not a constructor". Error image : enter image description here
Note:The package Dante3 used ProseMirror(a rich text editor) on their building block.
I've maintained the same versions for all dependencies both on my machine and on CodeSandbox
Even I arise an issue on Dante3 GitHub repository and the owner himself also get confused about the issue and finally get back without any solution .
CodeSandbox link : https://codesandbox.io/s/dante3-react18-wejnp9
code on my machine :enter image description here
and the dependencies : enter image description here