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

Fix #2807 Handle selection in BR #2809

Merged
merged 2 commits into from
Sep 26, 2024
Merged

Fix #2807 Handle selection in BR #2809

merged 2 commits into from
Sep 26, 2024

Conversation

JiuqingSong
Copy link
Collaborator

It is possible to set selection into BR element, so we also need to handle the selection in a BR.

BR should not have child nodes, so we don't need to care its offset, just always treat the BR element as selected when it has selection.

@JiuqingSong JiuqingSong merged commit 33531e1 into master Sep 26, 2024
7 checks passed
@JiuqingSong JiuqingSong deleted the u/jisong/2807 branch September 26, 2024 19:57
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.

2 participants