I currently migrating from payload v2 to v3 ,with Lexical editor
i have it enabled in config :
editor: lexicalEditor({}),
i running migrate script from next.js server component , and it seems to be working ,
but when i'm, going to admin panel , it all rich text's fields , error :
You have tried to pass in data from the old Slate editor to the new Lexical editor. The data structure is different, thus you will have to migrate your data. We offer a one-line migration script which migrates all your rich text fields: https://payloadcms.com/docs/lexical/migration#migration-via-migration-script-recommended