Skip to content

Fix multi-block text selection logic with shift + click #213

@renderghost

Description

@renderghost

Description

Text selection with Mouse and Keyboard doesn't select all the targeted text.

Steps to Reproduce

  1. Create new Post in a Publication
  2. Create more than 2 paragraphs of text (in this example, I created 4)
  3. Select all the text by pressing the shift key, then clicking before the first character and after the last character.

Expected Behaviour

All paragraphs should be selected.

Actual Behaviour

Only the first and last paragraphs are selected.

Environment

  • OS: MacOS 15.6.1 (24G90)
  • Browser: Chrome 140.0.7339.210 (Official Build) (arm64)

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions