Skip to content
This page is for Tiptap 2.x.See the latest version of this page.

scrollIntoView command

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

Use the scrollIntoView command

editor.commands.scrollIntoView()