Another option that Vincent Massol suggested is to detect these kinds of incompatibilities and prevent the editor from loading, informing the user that BlockNote can't be used to edit that content, listing the reasons why.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.