# scrollIntoView `scrollIntoView` scrolls the view to the current selection or cursor position. ## Usage ```js editor.commands.scrollIntoView() ```