Moved the issue to the xwiki-platform project since this is specifically an issue with `makeRenderingErrorsExpandable` added in xwiki.js . The element as returned by DefaultErrorBlockGenerator in xwiki-rendering does not have an extend/collapse feature.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.