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
When differ.getChanges() is used after node is moved from document to document fragment it throws. Model writer tests contain examples where node is moved from document to document fragment so I assume it's a valid use case: https://github.com/ckeditor/ckeditor5-engine/blob/a0ad8fee1606f5a0f42e70c96d8f1ceca6c0f919/tests/model/writer.js#L261-L282
differ.getChanges()
I've noticed this when working on https://github.com/ckeditor/ckeditor5-engine/issues/1267 - i needed to use differ on document#change event and writer tests went red. I will push minimal failing test to the issue branch.
document#change
The text was updated successfully, but these errors were encountered:
Merge pull request #1339 from ckeditor/t/1337
24b97f5
Fix: It should not be possible to move a `model.Node` from a `model.Document` to a `model.DocumentFragment`. Closes #1337.
scofalik
Successfully merging a pull request may close this issue.
When
differ.getChanges()
is used after node is moved from document to document fragment it throws.Model writer tests contain examples where node is moved from document to document fragment so I assume it's a valid use case: https://github.com/ckeditor/ckeditor5-engine/blob/a0ad8fee1606f5a0f42e70c96d8f1ceca6c0f919/tests/model/writer.js#L261-L282
I've noticed this when working on https://github.com/ckeditor/ckeditor5-engine/issues/1267 - i needed to use differ on
document#change
event and writer tests went red. I will push minimal failing test to the issue branch.The text was updated successfully, but these errors were encountered: