If you create a style without specifying a "type" xproperty (leaving it empty), then the style isn't registered properly and cannot be used by users when using the wysiwyg editor's image dialog.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.