Skip to content

Remove "Display" and "Copy code" buttons from binary blobs

Rendering a binary blob in Snippet still renders the buttons that don't make sense for a binary blob:

  • Display source
  • Display rendered file (this is the default view for the binary blobs)
  • Copy code

Screenshot_2020-08-19_at_10.41.03

These should either be disabled for binary blobs or removed all together