     data[name] = @instanceData(instance) for name, instance of CKEDITOR.instances
 
     url = window.location.protocol + '//' + window.location.host + '/edit' + window.location.pathname
-
-    console.log "Saving..."
-    console.log data
 
     $.ajax
       url: url

        type: 'GET'
        data: {effective_regions: {name: widget.name, data: widget.data}}
        async: false
        complete: (data) -> 
          element = $(widget.wrapper.$).find('div.cke_widget_element')
          element.html(data.responseText)
          element.parent().prop('data-snippet-data', 'blah')
          console.log element.parent().html()

    snippet['init'] = ->
      for k, v of $(this.wrapper.$).find('div.cke_widget_element').data('snippet-data')
        this.data[k] = v

      this.on 'dialog', (evt) -> @configured = true

    snippet = {}

    snippet['configured'] = false
    snippet['template'] = "<div class='#{name}_snippet' data-effective-snippet='{}'></div>"
    snippet['dialog_url'] = values.dialog_url
    snippet['dialog'] = name if values.dialog_url
    snippet['requiredContent'] = "div(#{name}_snippet)"
    snippet['upcast'] = (element) -> element.name == 'div' && element.hasClass(name + '_snippet')

    snippet['loadTemplate'] = (widget) ->
