From 1ef52c4d7db070c290d576613f418cd0e9ca6b6a Mon Sep 17 00:00:00 2001 From: Vlad Florescu Date: Tue, 25 Jul 2017 17:34:46 +0300 Subject: [PATCH] update store when changing component attributes --- src/editor/model/Editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/model/Editor.js b/src/editor/model/Editor.js index a6f9f80b1..75252ceff 100644 --- a/src/editor/model/Editor.js +++ b/src/editor/model/Editor.js @@ -276,7 +276,7 @@ module.exports = Backbone.Model.extend({ this.stopListening(classes, 'add remove', this.componentsUpdated); this.listenTo(classes, 'add remove', this.componentsUpdated); - var evn = 'change:style change:content'; + var evn = 'change:style change:content change:attributes'; this.stopListening(model, evn, this.componentsUpdated); this.listenTo(model, evn, this.componentsUpdated);