Unify values returned in data.output
during view-to-model conversion
#4056
Labels
Milestone
data.output
during view-to-model conversion
#4056
ViewConverterBuilder#toAttribute()
may return array as conversion result. This may happen when view element is converted to model attribute: https://github.com/ckeditor/ckeditor5-engine/blob/master/src/conversion/buildviewconverter.js#L369Here,
convertChildren
returns array which is then passed asdata.output
.The solution is to wrap
convertChildren
result inmodel.DocumentFragment
.The text was updated successfully, but these errors were encountered: