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

Difficulties to add text after a block node at the end #10448

Open
cbratschi opened this issue Jan 8, 2025 · 0 comments · May be fixed by #10530
Open

Difficulties to add text after a block node at the end #10448

cbratschi opened this issue Jan 8, 2025 · 0 comments · May be fixed by #10530
Assignees
Labels
needs-design plugin: richtext-lexical @payloadcms/richtext-lexical

Comments

@cbratschi
Copy link

Describe the Bug

If a block node is at the end it is difficult to add new text after the block. Positioning the cursor above the block and using the down arrow key to navigate below the block works sometimes but often the cursor suddenly disappears. Pressing enter still creates a new paragraph most of the time.

Workaround is to use the plus button at the left to add a new paragraph after the block.

Link to the code that reproduces this issue

https://github.com/cbratschi/payload

Reproduction Steps

  • use Lexical editor
  • add a block at the end of the Lexical document
  • try to add a new paragraph after the block

Which area(s) are affected? (Select all that apply)

plugin: richtext-lexical

Environment Info

Binaries:
  Node: 22.12.0
  npm: 10.9.0
  Yarn: 1.22.22
  pnpm: N/A
Relevant Packages:
  payload: 3.13.0
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.1.0: Thu Oct 10 21:05:23 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6031
  Available memory (MB): 65536
  Available CPU cores: 16
@cbratschi cbratschi added status: needs-triage Possible bug which hasn't been reproduced yet validate-reproduction labels Jan 8, 2025
@AlessioGr AlessioGr added the plugin: richtext-lexical @payloadcms/richtext-lexical label Jan 10, 2025
@github-actions github-actions bot removed the status: needs-triage Possible bug which hasn't been reproduced yet label Jan 10, 2025
@AlessioGr AlessioGr assigned AlessioGr and unassigned GermanJablo Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-design plugin: richtext-lexical @payloadcms/richtext-lexical
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants