payload
payload copied to clipboard
Payload 3 Slate Editor "link" is broken/missing UI
Describe the Bug
I was using payload Beta before and it was fine, but when upgraded to stable 3 version, the link component stopped working in Slate.
Not even overriding it, just plain default.
Link to the code that reproduces this issue
https://github.com/abid-salahi/payload-test
Reproduction Steps
Just use a field with slate Editor, then try adding "link"
{
type: "richText",
name: "caption",
label: "Caption",
editor: slateEditor({}),
}
Which area(s) are affected? (Select all that apply)
area: ui
Environment Info
Binaries:
Node: 20.11.0
npm: N/A
Yarn: N/A
pnpm: N/A
Relevant Packages:
payload: 3.2.1
next: 15.0.3
@payloadcms/db-mongodb: 3.2.1
@payloadcms/email-nodemailer: 3.2.1
@payloadcms/graphql: 3.2.1
@payloadcms/next/utilities: 3.2.1
@payloadcms/plugin-cloud-storage: 3.2.1
@payloadcms/richtext-lexical: 3.2.1
@payloadcms/richtext-slate: 3.2.1
@payloadcms/storage-s3: 3.2.1
@payloadcms/translations: 3.2.1
@payloadcms/ui/shared: 3.2.1
react: 19.0.0-rc-603e6108-20241029
react-dom: 19.0.0-rc-603e6108-20241029
Operating System:
Platform: win32
Arch: x64
Version: Windows 11 Pro
Available memory (MB): 16155
Available CPU cores: 20