Model utils: setData should load data and set selection in the editor in such a way that they are rendered #3738
Labels
package:engine
type:bug
This issue reports a buggy (incorrect) behavior.
type:improvement
This issue reports a possible enhancement of an existing feature.
Milestone
Related to https://github.com/ckeditor/ckeditor5-engine/issues/441.
Currently
setData()
just inserts the data into the model, but not in a way that would trigger rendering the content. It should use a similar method as here in the tests: https://github.com/ckeditor/ckeditor5-engine/blob/1a79448aa15cd1692cc02a1589ed945fc9823cf5/tests/editingcontroller.js#L139-L149The text was updated successfully, but these errors were encountered: