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

docs: Fix simple typo, sibbling -> sibling #2384

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const applyWrapperElementToSiblings = (
): Array<React.Node> => {
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;
Expand Down
2 changes: 1 addition & 1 deletion src/model/modifier/exploration/NestedRichTextEditorUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down