BlockNote
BlockNote copied to clipboard
feat(core): introduce the `Location`s API for pin-pointed positioning
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