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

Changed model utilities setData method to use document.enqueueChanges. #533

Merged
merged 3 commits into from
Jul 22, 2016

Conversation

szymonkups
Copy link
Contributor

@szymonkups szymonkups commented Jul 15, 2016

Fixes ckeditor/ckeditor5#3738.
This PR changes model utilities setData method in a way that data is now set using document.enqueueChanges same as DataController. This requires to set proper Schema rules before inserting anything to the model document.

I've created also some temporary branches:

We can also create separate PR in each repository to fix issues with tests after merging this PR.

Related issues to close after merging this PR:

@pjasiun pjasiun self-assigned this Jul 21, 2016
@pjasiun pjasiun merged commit 9f3e1fb into master Jul 22, 2016
@pjasiun pjasiun deleted the t/455 branch July 22, 2016 09:22
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.

Model utils: setData should load data and set selection in the editor in such a way that they are rendered
2 participants