EditorView.textDirectionAt method
EditorView › textDirectionAt
Official
Find the text direction of the block at the given position.Signature:
textDirectionAt(pos: number): DirectionParameters:
| Parameter | Type | Description |
|---|---|---|
| pos | number | The document position. |
Returns: Direction — The direction.