mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-28 07:40:13 +08:00
fix(core): fix linting issues
This commit is contained in:
parent
bdc4980343
commit
10a4a46584
@ -105,6 +105,7 @@ export const Keymap = Extension.create({
|
||||
}
|
||||
|
||||
const isEmpty = newState.doc.textBetween(0, newState.doc.content.size, ' ', ' ').length === 0
|
||||
|
||||
if (!isEmpty) {
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user