fix focus command
This commit is contained in:
@@ -55,10 +55,9 @@ export const Focus = createExtension({
|
|||||||
|
|
||||||
if (dispatch) {
|
if (dispatch) {
|
||||||
tr.setSelection(selection)
|
tr.setSelection(selection)
|
||||||
|
view.focus()
|
||||||
}
|
}
|
||||||
|
|
||||||
view.focus()
|
|
||||||
|
|
||||||
return true
|
return true
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user