The way I understand it, we'd need to set the imageStyle id as a data parameter instead of setting the style attribute. This way, every time the image is rendered, it will query the imageStyle (add a cache if there's not already one) and fill up its render `style` attribute. OFC this wouldn't fix images using imageStyles that were set before the change but I guess it's better than nothing.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.