Find out what's new in Tiptap Editor 3.0

scrollIntoView command

scrollIntoView scrolls the view to the current selection or cursor position.

Use the scrollIntoView command

editor.commands.scrollIntoView()