fix focus command

This commit is contained in:
Philipp Kühn 2020-11-02 23:41:47 +01:00
parent 3a79b8c564
commit 5f35d92acc

View File

@ -55,10 +55,9 @@ export const Focus = createExtension({
if (dispatch) {
tr.setSelection(selection)
view.focus()
}
view.focus()
return true
},
}