mirror of https://github.com/artf/grapesjs.git
3 changed files with 27 additions and 0 deletions
@ -0,0 +1,11 @@ |
|||
define(['./Component'], |
|||
function (Component) { |
|||
|
|||
return Component.extend({ |
|||
|
|||
defaults: _.extend({}, Component.prototype.defaults, { |
|||
droppable: false, |
|||
}), |
|||
|
|||
}); |
|||
}); |
|||
@ -0,0 +1,12 @@ |
|||
define(['backbone'], |
|||
function (Backbone) { |
|||
|
|||
return Backbone.View.extend({ |
|||
|
|||
render: function() { |
|||
this.el.innerHTML = this.model.get('content'); |
|||
return this; |
|||
}, |
|||
|
|||
}); |
|||
}); |
|||
Loading…
Reference in new issue