This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Type selection object in getDraftEditorSelection.js
Summary: We were missing a possible case: if there has been no selection, anchorNode and focusNode can be null. Reviewed By: jack-arms Differential Revision: D21002172 fbshipit-source-id: d84a5c6eb551d88898148d84e4961515f152f02c
- Loading branch information
1 parent
2299714
commit dfacb1b
Showing
1 changed file
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters