chore(plugin-cloud-storage): more req stuff

This commit is contained in:
Elliot DeNolf
2024-02-29 12:24:07 -05:00
parent 4699a37b4b
commit b3fd720668
5 changed files with 10 additions and 6 deletions

View File

@@ -11,8 +11,6 @@ export const getCommonBlock = (editor: Editor, match?: NodeMatch<Node>): NodeEnt
const [common, path] = Node.common(editor, range.anchor.path, range.focus.path)
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error
if (isBlockElement(editor, common) || Editor.isEditor(common)) {
return [common, path]
}