You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a diff, that can show when deltas are changed/removed.
The tricky bit is- for delta's which are "deleted", I want to delete the text, but first get the contents of the delta that is deleted.
I've tried the "getText()" (quill) but it does not get the right text at all- I will pass it something like quill.getText(10,11) and it will return a much longer string that just what was deleted.
The delta itself does not contain the contents of deleted operations. You'll have to find a way to get the contents before the delete happened and reconcile. If you are using Quill, it supplies the old contents in text-change.
Hi,
Very nice work on this one.
I'm working on a diff, that can show when deltas are changed/removed.
The tricky bit is- for delta's which are "deleted", I want to delete the text, but first get the contents of the delta that is deleted.
I've tried the "getText()" (quill) but it does not get the right text at all- I will pass it something like quill.getText(10,11) and it will return a much longer string that just what was deleted.
How can this be achieved?
The text was updated successfully, but these errors were encountered: