Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
Add new line between two function definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
silviubogan committed Sep 30, 2020
1 parent 8f2956f commit 411eb5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/internals.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const isPointAtRoot = (point) => point.path.length === 2;
export const isRangeAtRoot = (range) => {
return isPointAtRoot(range.anchor) || isPointAtRoot(range.focus);
};

/**
* The block in a valid Slate document according to our schema can be here
* either a Slate block that touches the root or a Slate inline (the other
Expand Down

0 comments on commit 411eb5b

Please sign in to comment.