Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lexical > Slash command: Slash character not being removed from editor #9326

Closed
alexanderbnelson opened this issue Nov 19, 2024 · 2 comments · Fixed by #9396
Closed

Lexical > Slash command: Slash character not being removed from editor #9326

alexanderbnelson opened this issue Nov 19, 2024 · 2 comments · Fixed by #9396
Assignees
Labels
plugin: richtext-lexical @payloadcms/richtext-lexical

Comments

@alexanderbnelson
Copy link

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
@alexanderbnelson alexanderbnelson added status: needs-triage Possible bug which hasn't been reproduced yet v3 validate-reproduction labels Nov 19, 2024
@denolfe denolfe removed the v3 label Nov 19, 2024
@AlessioGr AlessioGr self-assigned this Nov 20, 2024
@AlessioGr AlessioGr added status: verified If an issue has been reproduced plugin: richtext-lexical @payloadcms/richtext-lexical labels Nov 20, 2024
@github-actions github-actions bot removed the status: needs-triage Possible bug which hasn't been reproduced yet label Nov 20, 2024
AlessioGr added a commit that referenced this issue Nov 21, 2024
…ting slash menu item (#9396)

This happened only for certain slash menu items like inline blocks.

Fixes #9326
@github-actions github-actions bot removed the status: verified If an issue has been reproduced label Nov 21, 2024
Copy link
Contributor

🚀 This is included in version v3.1.0

Copy link
Contributor

This issue has been automatically locked.
Please open a new issue if this issue persists with any additional detail.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
plugin: richtext-lexical @payloadcms/richtext-lexical
Projects
None yet
3 participants