Skip to content

Conversation

@jackbanditdude
Copy link

Add a null check in removeSelection when parentNode evaluates to null

Add a null check in removeSelection when parentNode evaluates to null
In firstBlock(), the blockSnap() function call ignores the return type, unlike other places we use blockSnap(). Adding in false check and removeSelection() call.
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.

1 participant