Replies: 3 comments 3 replies
-
I suggest to start here: |
Beta Was this translation helpful? Give feedback.
-
There are third party Delta libs here: |
Beta Was this translation helpful? Give feedback.
-
If you have one user (not concurrent editing) you need to compose the delta on the server with the changes from the client. |
Beta Was this translation helpful? Give feedback.
-
I have recently implemented Quill in my project and it's great! Very easy to understand and documentation is well written. But I can't seem to find any best practices on how to update content (delta object) from
Delta
(coming fromtext-change
event) on the server-side.When one is not using Node.js on the backend, how can we update the changes coming from deltas (
text-change
event) on the server when using other languages such as Python or PHP? While deltas are great, it's hard to quickly implement a parser that can do the same assetContents
that is available in the library. Theretain
does not work withgetContents
,getText
orgetSemanticHTML
. To apply incremental changes, I would need to re-write the whole logic there. But that would be overkill, I'm probably missing something...I really wish to avoid sending large content for every simple update, it doesn't make sense.
Can someone help? Did anyone else find this or solved this issue somehow?
Your time is very much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions