From b6fca4f9bc341f407c328d9465ee9eabca94284a Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Thu, 18 Jan 2018 14:33:11 +0100 Subject: [PATCH] Clean PropertyView --- src/style_manager/view/PropertyView.js | 3 --- test/specs/selector_manager/e2e/ClassManager.js | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/style_manager/view/PropertyView.js b/src/style_manager/view/PropertyView.js index bc601ea15..6d6895042 100644 --- a/src/style_manager/view/PropertyView.js +++ b/src/style_manager/view/PropertyView.js @@ -373,9 +373,6 @@ module.exports = Backbone.View.extend({ * @return {Boolean} */ isTargetStylable(target) { - if (this.model.get('id') == 'flex-width') { - //debugger; - } const trg = target || this.getTarget(); const model = this.model; const property = model.get('property'); diff --git a/test/specs/selector_manager/e2e/ClassManager.js b/test/specs/selector_manager/e2e/ClassManager.js index 13e420ee6..0ba3fef82 100644 --- a/test/specs/selector_manager/e2e/ClassManager.js +++ b/test/specs/selector_manager/e2e/ClassManager.js @@ -35,7 +35,7 @@ module.exports = { fixtures = document.body.firstChild; gjs = grapesjs.init({ stylePrefix: '', - storageManager: { autoload: 0, type: 'none' }, + storageManager: { autoload: 0, type: 0 }, assetManager: { storageType: 'none' }, @@ -43,7 +43,7 @@ module.exports = { }); }); - describe('Interaction with Components', () => { + describe.only('Interaction with Components', () => { beforeEach(function() { components = gjs.editor .get('DomComponents')