Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
Typo fix in code comment (#1997)
Browse files Browse the repository at this point in the history
Summary:
"programmatically" instead of "programatically".
Pull Request resolved: #1997

Differential Revision: D14004426

fbshipit-source-id: f775eb9e69ca0f9dbd02fbe94132ebc166f82d08
  • Loading branch information
DenrizSusam authored and facebook-github-bot committed Feb 8, 2019
1 parent c21a9f7 commit e84e757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/contents/DraftEditorBlock.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class DraftEditorBlock extends React.Component<Props> {
* When a block is mounted and overlaps the selection state, we need to make
* sure that the cursor is visible to match native behavior. This may not
* be the case if the user has pressed `RETURN` or pasted some content, since
* programatically creating these new blocks and setting the DOM selection
* programmatically creating these new blocks and setting the DOM selection
* will miss out on the browser natively scrolling to that position.
*
* To replicate native behavior, if the block overlaps the selection state
Expand Down

0 comments on commit e84e757

Please sign in to comment.