mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 14:13:21 +08:00
fix focus command
This commit is contained in:
parent
3a79b8c564
commit
5f35d92acc
@ -55,10 +55,9 @@ export const Focus = createExtension({
|
||||
|
||||
if (dispatch) {
|
||||
tr.setSelection(selection)
|
||||
view.focus()
|
||||
}
|
||||
|
||||
view.focus()
|
||||
|
||||
return true
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user