BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

feat(core): introduce the `Location`s API for pin-pointed positioning

Open nperez0111 opened this issue 4 months ago • 2 comments

This is still WIP, but the bones of the Location API are here.

We have the ability to convert a prosemirror position into a location, and a location into a prosemirror position. There are several new primitives with varying levels of specificity, most of the changes can be introduced in a backwards-compatible way, since we were already allowing blocknote ids or blocknote blocks in various places (BlockIdentifier), it has been expanded to support Points & Ranges now

  • [ ] add docs
  • [ ] see other places where we can use locations

Closes #1699 #2195 #2309

nperez0111 avatar Sep 29 '25 15:09 nperez0111