Skip to content
Discussion options

You must be logged in to vote

Compiled code has a const editor = usePlateEditorState2(); this 2 usually generated by webpack when multiple version included.

So I guess maybe it is due to multiple versions of @udecode/plate-core, so

$ pnpm ls --depth Infinity @udecode/plate-core 
@udecode/plate-core 22.0.2
@udecode/plate-dnd 22.0.2
└─┬ @udecode/plate-common 22.0.2
  ├── @udecode/plate-core 22.0.2
  └─┬ @udecode/plate-utils 22.0.2
    └── @udecode/plate-core 22.0.2
...
@udecode/plate-ui-toolbar 21.5.0
├─┬ @udecode/plate-common 21.5.0
│ ├── @udecode/plate-core 21.5.0
│ └─┬ @udecode/plate-utils 21.5.0
│   └── @udecode/plate-core 21.5.0
├─┬ @udecode/plate-floating 21.5.0
│ └─┬ @udecode/plate-common 21.5.0
│   ├── @udecode/…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@12joan
Comment options

@linonetwo
Comment options

@12joan
Comment options

Answer selected by linonetwo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants