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.
Summary: When rendering in an `iframe`/other document, I was getting an error when trying to add a newline. Turns out there was an issue with the `isHTMLBRElement` check, so fix that and change the code in `DraftEditorLeaf.react.js` to use `isHTMLBRElement` Reviewed By: claudiopro Differential Revision: D18815600 fbshipit-source-id: 6297e29efa987e1e6937b5093d565355c5839b2e
- Loading branch information
1 parent
7721805
commit e869fcb
Showing
3 changed files
with
7 additions
and
10 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
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
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