Skip to content

Commit

Permalink
style: lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
demshy committed Jun 28, 2024
1 parent 739f4ee commit ebe53e7
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ function unwrapIfCursorAtStart(editor, mergeWithPrevious = false) {
}

const isBlock = Editor.isBlock(editor, node);
const [parentBlock, parentBlockPath] = Editor.above(editor, lowestMatchedAncestor(editor, 'block'));
const [parentBlock, parentBlockPath] = Editor.above(
editor,
lowestMatchedAncestor(editor, 'block'),
);
if (!isBlock) {
if (!Editor.isStart(editor, path, parentBlockPath)) {
return false;
Expand Down

0 comments on commit ebe53e7

Please sign in to comment.