@ -136,6 +136,7 @@ export default Backbone.View.extend({
* */
clicked(e) {
const { model } = this;
if (model.get('bntsVis') || model.get('disable') || !model.get('command'))
return;
@ -3,7 +3,7 @@ import Editor from 'editor';
const { keys } = Object;
const initComps = 1;
describe.only('Editor', () => {
describe('Editor', () => {
let editor;
beforeEach(() => {
@ -85,7 +85,7 @@ describe('GrapesJS', () => {
expect(editor.getStyle().length).toEqual(0);
});
test.only('Editor canvas baseCSS can be overwritten', () => {
test('Editor canvas baseCSS can be overwritten', () => {
config.components = htmlString;
config.baseCss = '#wrapper { background-color: #eee; }';
config.protectedCss = '';
@ -8,7 +8,7 @@ describe('ButtonView', () => {
var btnClass = 'btn';
model = new Button();
model = new Button({ command: 'fake-command' });
view = new ButtonView({
model: model