parttio / tinymce-for-flow

TinyMCE wrapper for Vaadin 10+
Other
8 stars 6 forks source link

Use diffs in communication to save bandwidth when editing large chunks of text #20

Open mstahv opened 10 months ago

mstahv commented 9 months ago

A branch for prototyping: https://github.com/parttio/tinymce-for-flow/tree/feature/diff-based-comms

tinymce.getContent() + calculating the patch seems to make editing slow on large texts, in case debouncing the content on each keypress as currently. And as blur events come too late with tinymce, that is the best method overall...