Skip to content

Conversation

@YunFeng0817
Copy link
Member

In PR #936, @0jinxing added a great feature: recording and replaying selection. But in the fast-forward mode, all nodes are VirtualNodes (RRNodes). While applying these selection events, document.getSelection() can only recognize real nodes rather than virtual nodes. So that there will be errors in the fast-forward mode. In this PR, I fixed this bug and also improved the test case to cover this situation.

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 this pull request may close these issues.

4 participants