Skip to main content

$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';