SirTrevor.Blocks.Gettyimages = (function(){

  return SirTrevor.Block.extend({

    provider: {
      regex: /embed\.gettyimages\.com\/embed\/(.+)" width/,
      html: "<iframe src=\"//embed.gettyimages.com/embed/{{remote_id}}\" width=\"594\" height=\"465\" frameborder=\"0\" scrolling=\"no\"></iframe>"
    },

    type: 'gettyimages',
    title: 'GettyImages',

    pastable: true,

    paste_options: {
      html: "<div style=\"text-align:center; padding:20px;\">Enter <b>GettyImages</b> embed code<br /><input type=\"text\" class=\"st-paste-block\" style=\"width: 100%\"></div>"
    },

    icon_name: 'image',

    loadData: function(data) {

      this.$editor.addClass('st-block__editor--with-square-media');

      var embed_string = this.provider.html
        .replace('{{remote_id}}', data.remote_id);

      this.$editor.html(embed_string);
    },

    onContentPasted: function(event){
      this.handleDropPaste($(event.target).val());
    },

    handleDropPaste: function(url){
      var match, data;

      match = this.provider.regex.exec(url);

      if (match !== null && !_.isUndefined(match[1])) {
        data = {
          remote_id: match[1]
        };

        this.setAndLoadData(data);
      }
    },

    onDrop: function(transferData){
      var url = transferData.getData('text/plain');
      this.handleDropPaste(url);
    }
  });

})();

SirTrevor.Blocks.Gettyimages = (function(){

  return SirTrevor.Block.extend({

    provider: {
      regex: /embed\.gettyimages\.com\/embed\/(.+)" width/,
      html: "<div style=\"text-align:center;\"><iframe src=\"//embed.gettyimages.com/embed/{{remote_id}}\" width=\"594\" height=\"465\" frameborder=\"0\" scrolling=\"no\"></iframe></div>"
    },

    type: 'gettyimages',
    title: 'GettyImages',

    pastable: true,

    paste_options: {
      html: "<div style=\"text-align:center; padding:20px;\">Enter <b>GettyImages</b> embed code<br /><input type=\"text\" class=\"st-paste-block\" style=\"width: 100%\"></div>"
    },

    icon_name: 'image',

    loadData: function(data) {

      var embed_string = this.provider.html
        .replace('{{remote_id}}', data.remote_id);

      this.$editor.html(embed_string);
    },

    onContentPasted: function(event){
      this.handleDropPaste($(event.target).val());
    },

    handleDropPaste: function(url){
      var match, data;

      match = this.provider.regex.exec(url);

      if (match !== null && !_.isUndefined(match[1])) {
        data = {
          remote_id: match[1]
        };

        this.setAndLoadData(data);
      }
    },

    onDrop: function(transferData){
      var url = transferData.getData('text/plain');
      this.handleDropPaste(url);
    }
  });

})();

Fix GettyImage block