Browse Source

Clean PropertyView

pull/798/merge
Artur Arseniev 8 years ago
parent
commit
b6fca4f9bc
  1. 3
      src/style_manager/view/PropertyView.js
  2. 4
      test/specs/selector_manager/e2e/ClassManager.js

3
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');

4
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')

Loading…
Cancel
Save