Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RichText: Only set selection on selected RichText
When `shouldReapply` was true we would set `start` and `end` on the record. This is valid, but should only happen when the `RichText` is already selected. If it is not selected `toDOM` would create a browser selection and the browser would select that `RichText`. Resulting in the last `RichText` the user touched always being focused when applying annotations.
- Loading branch information