BoundRichText = BoundControl.extend({ //el: false, //model: false, //attribute: false, //binder: false, width: false, init: function(params) { for (var thing in params) this[thing] = params[thing]; this.el = this.el ? this.el : this.model.name.toLowerCase() + '_' + this.model.id + '_' + this.attribute.name; $('#'+this.el).wrap($('
').attr('id', this.el + '_container').css('position', 'relative')); $('#'+this.el+'_container').empty(); $('#'+this.el+'_container').append($('