Embedding in more than one host

I believe a better approach would be to:

  • Update the embeddable_host table to add a custom class attribute
  • Update the admin UI to allow input in that field
  • Update the embed erb template to show that custom value

I have security concerns otherwise with passing the value through on the client side.

It’s a lot more work but I feel strongly it’s the better way to solve this issue. If it’s outside your realm of experience, maybe someone from the community could jump in and help you out?