Skip to main content
Modular Documentation
Guides
Reference
Reference
/
@modular/sdk/editor
$setPointFromCaret
function
Update the given point in-place from the PointCaret
function $setPointFromCaret<D extends CaretDirection>(point: PointType, caret: PointCaret<D>): void
Import
import { $setPointFromCaret } from '@modular/sdk/editor';