Skip to content

Conversation

@jwmerrill
Copy link
Member

No description provided.

@jwmerrill jwmerrill changed the title Clarify that node parents might not exist at type level [WIP] Clarify that node parents might not exist at type level Mar 3, 2022
deleteOutOf(_dir: Direction, cursor: Cursor) {
pray('cursor is inside this block', cursor.parent === this);
cursor.unwrapGramp(this.parent);
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: these methods have separate implementations in RootBlockMixin, which is important because the Root block doesn't have a parent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants