prevent empty span in a new node
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / documentElement.js
index a1965cd..dcf05b2 100644 (file)
@@ -43,6 +43,7 @@ $.extend(DocumentElement.prototype, {
                     this.state[key] = changes[key] = toUpdate[key];
                 }
             }.bind(this));
+        // console.log(changes);
         if(_.isFunction(this.onStateChange)) {
             this.onStateChange(changes);
             if(_.isBoolean(changes.active)) {