Skip to content

Inputs can't be selected with Cmd+A shortcut inside block in richText #6871

Open
@galcsikgyozo

Description

@galcsikgyozo

Link to reproduction

No response

Payload Version

3.0.0-beta.53

Node Version

20.9.0

Next.js Version

15.0.0-rc.0

Describe the Bug

If I create a block in @payloadcms/richtext-lexical, using the BlockFeature, I can't select all the text with the Cmd+A keyboard shortcut.

(Tested in latest, non technical preview versions of Safari and Chrome, using MacOS)

Visualization:
Screenshot 2024-06-20 at 11 17 14

Reproduction Steps

  • TextField - can be selected
  • Richtext - can be selected
    • Block
      • TextField - cannot be selected
      • Richtext - can be selected

Adapters and Plugins

richtext-lexical, BlocksFeature

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions