Commit aa24be1 made it possible to build data attributes from image's Markdown and this changes ensure that the resize controls still work when data attributes are present.
aa24be1