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

Commit d1cb1e7

Browse files
timgates42facebook-github-bot
authored andcommitted
docs: Fix simple typo, sibbling -> sibling (#2384)
Summary: There is a small typo in src/component/contents/exploration/DraftEditorBlockNode.react.js, src/model/modifier/exploration/NestedRichTextEditorUtil.js. Should read `sibling` rather than `sibbling`. Pull Request resolved: #2384 Reviewed By: creedarky Differential Revision: D21318376 Pulled By: mrkev fbshipit-source-id: 1a31e3724d7813e7ce6d36aba57ce298e742d46d
1 parent 497a478 commit d1cb1e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/component/contents/exploration/DraftEditorBlockNode.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ const applyWrapperElementToSiblings = (
101101
): Array<React.Node> => {
102102
const wrappedSiblings = [];
103103

104-
// we check back until we find a sibbling that does not have same wrapper
104+
// we check back until we find a sibling that does not have same wrapper
105105
for (const sibling: any of nodes.reverse()) {
106106
if (sibling.type !== Element) {
107107
break;

src/model/modifier/exploration/NestedRichTextEditorUtil.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ const NestedRichTextEditorUtil: RichTextUtils = {
156156
}
157157
}
158158

159-
// if we have a next sibbling we should not allow the normal backspace
159+
// if we have a next sibling we should not allow the normal backspace
160160
// behaviour of moving this text into its parent
161161
// if (currentBlock.getPrevSiblingKey()) {
162162
// return editorState;

0 commit comments

Comments
 (0)