Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Select all (ctrl/cmd a) not working correctly on web #540

Closed
artcodespace opened this issue Jan 30, 2023 · 0 comments · Fixed by #548
Closed

Select all (ctrl/cmd a) not working correctly on web #540

artcodespace opened this issue Jan 30, 2023 · 0 comments · Fixed by #548
Labels

Comments

@artcodespace
Copy link
Contributor

Seen in the example app 30 Jan 23.

Steps to reproduce:

  • Go to the rich text editor demo
  • enter a few lines of text
  • use cmd+a (ctrl+a on windows) to select all of the text
  • observe the output below the textbox - the selection there does not match what you see in the composer
  • press delete or backspace
  • observe that the text deleted matches what was shown in the model, not what was highlighted in the composer
Screen.Recording.2023-01-30.at.16.41.19.mov

Notes

Looks to be something wrong in the handleSelectionChange function, likely due to the switch to paragraphs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant