fix(core): fix linting issues

This commit is contained in:
Dominik Biedebach 2023-03-03 09:57:49 +01:00
parent bdc4980343
commit 10a4a46584

View File

@ -105,6 +105,7 @@ export const Keymap = Extension.create({
}
const isEmpty = newState.doc.textBetween(0, newState.doc.content.size, ' ', ' ').length === 0
if (!isEmpty) {
return
}