issues
search
streamich
/
json-joy
json-joy is a library that implements cutting-edge real-time and collaborative editing algorithms and utilities for JSON data models, with a focus on developing the JSON CRDT (Conflict-free Replicated Data Type) specification and implementation.
https://jsonjoy.com/libs/json-joy-js
Apache License 2.0
781
stars
16
forks
source link
Peritext deletion API and `delete` event
#743
Closed
streamich
closed
2 weeks ago
streamich
commented
3 weeks ago
[x] The
delete
event
[x] Delete one character backward.
[x] Delete one character forward.
[x] Delete one word backward.
[x] Delete one word forward.
[x] Delete one line backward.
[x] Delete one lines forward.
[x] Delete multiple units at a time
[x] Character
[x] Word
[x] Line
[x] Delete a word at a given position
[x] For caret
[x] Can delete past marker boundary.
[x] Remove slice, if remainder of its contents gets deleted?
[x] For selection
[x] Remove markers inside the selection.
[x] Remove slices inside the selection.
[x] The above should also happen on selection collapse.
[x] Imperative API
delete
event