integration wip: setting/handling contentSet event (source/canvas)
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / wlxmlListener.js
index cbb582d..ec3001d 100644 (file)
@@ -21,6 +21,10 @@ $.extend(Listener.prototype, {
                 handler.bind(this)(event);
             }
         }, this);
+
+        wlxmlDocument.on('contentSet', function() {
+            this.canvas.loadWlxmlDocument(wlxmlDocument);
+        }, this);
     }
 });