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

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

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

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

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

Comments

@alunturner
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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant