diff --git a/src/component/contents/exploration/DraftEditorBlockNode.react.js b/src/component/contents/exploration/DraftEditorBlockNode.react.js index 0c162815b5..e315708a0d 100644 --- a/src/component/contents/exploration/DraftEditorBlockNode.react.js +++ b/src/component/contents/exploration/DraftEditorBlockNode.react.js @@ -101,7 +101,7 @@ const applyWrapperElementToSiblings = ( ): Array => { const wrappedSiblings = []; - // we check back until we find a sibbling that does not have same wrapper + // we check back until we find a sibling that does not have same wrapper for (const sibling: any of nodes.reverse()) { if (sibling.type !== Element) { break; diff --git a/src/model/modifier/exploration/NestedRichTextEditorUtil.js b/src/model/modifier/exploration/NestedRichTextEditorUtil.js index c3fce993f0..81f44d4a24 100644 --- a/src/model/modifier/exploration/NestedRichTextEditorUtil.js +++ b/src/model/modifier/exploration/NestedRichTextEditorUtil.js @@ -156,7 +156,7 @@ const NestedRichTextEditorUtil: RichTextUtils = { } } - // if we have a next sibbling we should not allow the normal backspace + // if we have a next sibling we should not allow the normal backspace // behaviour of moving this text into its parent // if (currentBlock.getPrevSiblingKey()) { // return editorState;