typewriter-editor / typewriter

A rich text editor based off of Quill.js and Ultradom, and using Svelte for UI.
MIT License
394 stars 32 forks source link

Apply changes to TextDocuments the smart way, instead of the easy way #79

Closed jacwright closed 3 years ago

jacwright commented 3 years ago

Instead of putting line id on attributes and relying on Delta.compose to merge compose, this updates TextDocument to do the work of merging changes in line-by-line. It ought to be more efficient and allow the ID to remain with the line.

Thoughts @taylorhadden?