Hi team, I just updated to the newest release yesterday. Today I just integrated with the lexicalEditor, but it didn't show the panel
I just found that it works perfectly outside the type
blocks? What's going on here?
Like that
If you're not modifying default features in any way, there's no need to return them, just use old regular lexicalEditor()
Passing and modifying default features would be beneficial only if you needed to restrict node type that you can use or added a new custom feature
Yes I do it
But still doesn't work
I tried many ways, came to the docs but no idea until now
If I use the richText field inside the blocks field, it doesn't show the panel
can you provide collection config including your accordion?
build config
accordion config
I mean in text 🙂
oh sorry
export default buildConfig({
admin: {
user: Users.slug,
},
// Define and configure your collections in this array
collections: [Media, Pages, Users],
typescript: {
outputFile: path.resolve(dirname, "payload-types.ts"),
},
// If you'd like to use Rich Text, pass your editor here
editor: lexicalEditor(),
// Your Payload secret - should be a complex and secure string, unguessable
secret: ENV.PAYLOAD_SECRET,
// Whichever database adapter you're using should go here
// Mongoose is shown as an example, but you can also use Postgres
db: mongooseAdapter({
url: ENV.PAYLOAD_DATABASE_URI,
}),
// If you want to resize images, crop, set focal point, etc.
// make sure to install it and pass it to the config.
// This is optional - if you don't need to do these things,
// you don't need it!
sharp,
// Configuring email for the CMS
// email: emailConfiguration,
plugins: [
// storage-adapter-placeholder
],
});export const Accordion: Block = {
slug: "accordion",
fields: [
{
name: "heading",
type: "text",
},
{
name: "content",
type: "richText",
required: true,
},
],
};oh, stop, you forogt to add editor to accodrion richText field, mate
just add:
editor: lexicalEditor()
still not work 😦
i added it yet
I think maybe that's a minor bug for the latest released
was it working before?
still not working
it showed the rich text field, but didn't show the panel when we typed "/"
I mean before updating your release was it workign?
oh I just added the lexical after installed the newest release
and what is the version of release?
It's probably a bug, I haven't used payload 3.0 yet.
My version is 2.19.3
oh you're still using the payload 2.0
is it a huge difference when integrate with Next.js?
I use custom server and it works fine:
The only issue that I couldn't find a workaround for was using local pyalod api with postgres and using unstable_cache for caching my pages at build time.
thank you Ivan
Maybe waiting for the new released from the team
I'm no member of payload team. But, generally, it's not good discord etiquette to tag core members. If you find a bug or issue, follow the guidelines on their github.
Typically, create a minimal reproduction of your bug and don't give them a long discord thread to parse through.
^
Thanks for that
Removed it 🤗

I have the same problem. It's been 2 hours and I still can't solve it.
Alessio fixed here
https://github.com/payloadcms/payload/issues/7024Still not working
Fixed in my project
Did you get the latest code?
v: 3.0.0-beta.65
and still
are you using multiple locales?
No
So if it didn’t fix your problem, i think you should create an issue on GitHub
^ and make sure to include a minimal reproduction on the latest version. Might be a different issue very specific to your setup, so I'll need that to check it out
Star
Discord
online
Get dedicated engineering support directly from the Payload team.