payload
payload copied to clipboard
Lexical > Slash command: Slash character not being removed from editor
Describe the Bug
Slash character not being removed from editor when selecting inline block feature with keyboard in slash command menu
Link to the code that reproduces this issue
https://github.com/alexanderbnelson/payload-example
Reproduction Steps
Using website example as base
Log into admin use any lexical editor press '/' for slash command select custom inline block with keyboard '/' remains in editor
Which area(s) are affected? (Select all that apply)
plugin: richtext-lexical
Environment Info
Binaries:
Node: 20.11.0
npm: 10.9.0
Yarn: 1.22.19
pnpm: 9.13.2
Relevant Packages:
payload: 3.0.0
next: 15.0.3
@payloadcms/db-postgres: 3.0.0
@payloadcms/email-nodemailer: 3.0.0
@payloadcms/graphql: 3.0.0
@payloadcms/live-preview: 3.0.0
@payloadcms/live-preview-react: 3.0.0
@payloadcms/next/utilities: 3.0.0
@payloadcms/payload-cloud: 3.0.0
@payloadcms/plugin-form-builder: 3.0.0
@payloadcms/plugin-nested-docs: 3.0.0
@payloadcms/plugin-redirects: 3.0.0
@payloadcms/plugin-search: 3.0.0
@payloadcms/plugin-seo: 3.0.0
@payloadcms/richtext-lexical: 3.0.0
@payloadcms/translations: 3.0.0
@payloadcms/ui/shared: 3.0.0
react: 19.0.0-rc-65a56d0e-20241020
react-dom: 19.0.0-rc-65a56d0e-20241020
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 24.0.0: Tue Sep 24 23:37:36 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6020
Available memory (MB): 16384
Available CPU cores: 12