Skip to content

EditorView.elementAtHeight method

EditorView › elementAtHeight

Official

Find the text line or block widget at the given vertical position.

Signature:

elementAtHeight(height: number): BlockInfo

Parameters:

Parameter Type Description
height number The height relative to document top.

Returns: BlockInfoThe block info.