Describe the bug
Editor method focus() doesn't work.

This does not work on tiptap 1.23.2 and used to work. This is likely a regression.
Steps to Reproduce / Codesandbox Example
const editor = new Editor()editor.focus()https://codesandbox.io/s/editor-focus-does-not-work-g48i0?fontsize=14
Expected behavior
Focus the editor :P
Screenshots

Environment
Additional context
Add any other context about the problem here.
The same here. Focus doesn't work properly.
I found a solution - editor.view.dom.focus()
You're the king!
However, there is one more think i should add. That one works better when you use it for click events:
this.$nextTick( () => {
this.editor.view.dom.focus()
})
@screets please stop these automatic emails :)
Thanks @vitaliy-grusha, editor.view.dom.focus() still works, but is there a way to set the cursor to the very end?
Try editor.focus('end')! Hope that helps.
Thanks for the quick reply @hanspagel! That worked perfectly 馃帀
Most helpful comment
I found a solution -
editor.view.dom.focus()