putting the attributes right

This commit is contained in:
Niels Lyngsø
2020-09-03 14:41:23 +02:00
parent 46488836f4
commit 906f3eac2f

View File

@@ -745,7 +745,7 @@
*/
createFromElementType: function (elementTypeDataModel) {
elementTypeDataModel = clipboardService.parseContentForPaste(clipboardService.TYPES.ELEMENT_TYPE, elementTypeDataModel);
elementTypeDataModel = clipboardService.parseContentForPaste(elementTypeDataModel, clipboardService.TYPES.ELEMENT_TYPE);
var contentElementTypeKey = elementTypeDataModel.contentTypeKey;