Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

editor.setData() will no longer crash when the data to set contains markers that are already in the editor content #1745

Merged
merged 1 commit into from
Jun 11, 2019

Conversation

scofalik
Copy link
Contributor

@scofalik scofalik commented Jun 10, 2019

Suggested merge commit message (convention)

Fix: editor.setData() will no longer crash when the data to set contains markers that are already in the editor content. Closes ckeditor/ckeditor5#4505.

@coveralls
Copy link

coveralls commented Jun 10, 2019

Coverage Status

Coverage remained the same at 100.0% when pulling e55674a on t/1721 into f70cf35 on master.

@scofalik
Copy link
Contributor Author

Go home @coveralls, you are drunk.

@pjasiun
Copy link

pjasiun commented Jun 10, 2019

Also, I think that this fix should land inside writer.insert.

…ntFragment if markers with the same name existed in the document.
@scofalik
Copy link
Contributor Author

Fixed

@pjasiun pjasiun merged commit 4ff0656 into master Jun 11, 2019
@pjasiun pjasiun deleted the t/1721 branch June 11, 2019 09:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DataController#set() throws when adding content with an existing marker
3 participants