issues
search
streamich
/
json-joy
JSON CRDT, JSON CRDT Patch, JSON Patch+, JSON Predicate, JSON Pointer, JSON Expression, JSON Type
https://jsonjoy.com/libs/json-joy-js
Apache License 2.0
736
stars
14
forks
source link
Peritext block view implementation
#517
Open
streamich
opened
6 months ago
streamich
commented
6 months ago
[x] Implement a nested rich-text
block view
data structure, which builds on top of the Peritext overlay.
[x] Add ability to efficiently traverse the block view for rendering or headless computations.
[ ] Add ability to efficiently and sparsely reconstruct the block view, when the underlying overlay data changes.
streamich
commented
2 months ago
Minor todos:
[x] Do not include block text in first inline element.
[ ] Tests
[ ] Readme
[ ] Remove empty leading inlines
[ ] After absolute string start
[ ] After block marker
[ ] Remove empty trailing inlines
[ ] Before absolute string end
[ ] Before block marker
[ ] Remove empty inlines between adjacent inline annotations
[ ] The
InlineAttrPos
should be different per cursor.
[ ] The
InlineAttrPos
should be different per attr stack item in stacked slices.