diff --git a/core/serialization/blocks.js b/core/serialization/blocks.js index 6aabb08eebd..f093541a3ee 100644 --- a/core/serialization/blocks.js +++ b/core/serialization/blocks.js @@ -623,6 +623,12 @@ const initBlock = function(block, rendered) { blockSvg.initSvg(); blockSvg.render(false); + // fixes #6076 JSO deserialization doesn't + // set .iconXY_ property so here it will be set + const icons = block.getIcons(); + for (let i = 0; i < icons.length; i++) { + icons[i].computeIconLocation(); + } } else { block.initModel(); }