How to get scroll-node-into-view
fontoxml-scroll-into-viewto make this operation available.
Scrolls the content view to ensure the specified node is visible.
If the node is already fully visible in the viewport, the alignTo option will be ignored and no scrolling will take place. Also note that modifying the selection always scrolls the cursor into view.
Imported operation data
The node ID of the node to scroll into view.
The hierarchy node ID under which the node to be scrolled into view is rendered. This can be used to disambiguate cases where the hierarchy contains multiple references to the same document. If omitted, Fonto will use the sheet frame that most recently contained the cursor.
determines how the contextNode is positioned relative to the viewport. Possible values are:
The view name to scroll into view.