Replies: 2 comments
-
Hey @CherryDT — we're going to need a reproduction repository in order to be able to help here as we can't reproduce. But I do think that this is something misconfigured with your environment rather than something that's wrong with Payload. Do you have Slate installed locally in your package.json? Please share your In the meantime, I'll convert this to a discussion because we try and use issues only for things that are broken within Payload. If it does indeed turn out to be something Payload can fix, we'll re-convert back into an issue and track accordingly! |
Beta Was this translation helpful? Give feedback.
-
I am not sure what the issue was but deleting |
Beta Was this translation helpful? Give feedback.
-
Link to reproduction
No response
Describe the Bug
When using
@payloadcms/richtext-slate
, the page crashes with these errors:It complains about
slate
not having any exports despiteText
, but that's clearly not true. When I importslate
on the server side, I can see all the exports, not justText
. But it seems Webpack only seesText
for some reason.I'm using node.js v20.11.1
To Reproduce
@payloadcms/richtext-slate
and include theslateEditor
.Payload Version
2.12.1
Adapters and Plugins
db-mongodb, bundler-webpack
Beta Was this translation helpful? Give feedback.
All reactions