Skip to content

Gap Cursor

Show a horizontal block-level cursor that can be used to focus places that don't allow regular selection, such as a position between two block nodes.

Usage

ts
import 'prosekit/extensions/gap-cursor/style.css'
import { 
defineGapCursor
} from 'prosekit/extensions/gap-cursor'
const
extension
=
defineGapCursor
()

API Reference