We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For intance, a docs have three version, A ,B, C A contents is : github B content is: gb C content is: gitbit thus there has two ops:
A ---delete text(delete 'ithb')---> B ---insert text(add 'it' after 'g' and add 'it' after 'b')---> C
So, is there any way to get the merged ops between version a to version c? The merged op above should be:
A ---delete text (delete 'hu') & insert text (add 'it' after 'b') ---> C
Any help are welcome!
The text was updated successfully, but these errors were encountered:
You'll want to use backend.getOps() to get the appropriate ops.
backend.getOps()
Then you can use your type's compose() method to merge the ops together.
compose()
Sorry, something went wrong.
No branches or pull requests
For intance, a docs have three version, A ,B, C
A contents is : github
B content is: gb
C content is: gitbit
thus there has two ops:
So, is there any way to get the merged ops between version a to version c? The merged op above should be:
Any help are welcome!
The text was updated successfully, but these errors were encountered: