asdsad
This commit is contained in:
@@ -630,6 +630,7 @@
|
||||
placeholderDefaults.toolbar = baseToolbar;
|
||||
|
||||
const PlaceholderModel = BaseModel.extend({
|
||||
defaults: placeholderDefaults,
|
||||
init() {
|
||||
this.listenTo(this, 'change:attributes', this.updatePlaceholderState);
|
||||
this.updatePlaceholderState();
|
||||
@@ -719,8 +720,6 @@
|
||||
}
|
||||
});
|
||||
|
||||
PlaceholderModel.prototype.defaults = placeholderDefaults;
|
||||
|
||||
PlaceholderModel.isComponent = function (el) {
|
||||
if (el && el.hasAttribute && el.hasAttribute('data-placeholder-type')) {
|
||||
return { type: PLACEHOLDER_COMPONENT };
|
||||
|
||||
Reference in New Issue
Block a user