Re:Introduction to Loro's Rich Text CRDT
by samatman on Tuesday January 23, 2024 @02:05PM
(#39108037)
I believe that handling merges like this correctly was a motive for designing pijul: https://pijul.org
See the item on the splash page about 'merge correctness'. Unfortunately I wasn't able to find the post detailing the behavior with a bit of searching.
Does the app store structured text in a structured way? You probably need to for this to work the way you want.
We are writing a version controlled database (Dolt) and we recently implemented automatic merging of the contents of JSON documents, seems related to what you're doing:
https://www.dolthub.com/blog/2024-01-16-announcing-json-merg...
[1] https://thymer.com/