Skip to content

fix: Highlighted text selection cleared on shift-click#6412

Merged
artf merged 2 commits intoGrapesJS:devfrom
sirbeagle:fix/6345-shift-click-does-not-select-text
Feb 21, 2025
Merged

fix: Highlighted text selection cleared on shift-click#6412
artf merged 2 commits intoGrapesJS:devfrom
sirbeagle:fix/6345-shift-click-does-not-select-text

Conversation

@sirbeagle
Copy link
Contributor

This fix is for #6345.

One concern here - I'm not sure how to test the actual text selection in the last unit test (it is disabled in this PR). If you have an idea I can try implementing it, otherwise I can just clear out that test if necessary.

Copy link
Member

@artf artf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch 👏

Thanks also for the tests. About the text selection itself no worries, I'm not against skipping tests close to the web API.

@artf artf linked an issue Feb 21, 2025 that may be closed by this pull request
2 tasks
@artf artf merged commit 8d7d539 into GrapesJS:dev Feb 21, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: Cannot select + SHIFT to select bulk text

2 participants