wip: canvas publishes wlxmlNode as selected + handling in nodePane
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / canvas.js
index a589a20..bf68ede 100644 (file)
@@ -298,7 +298,7 @@ $.extend(Canvas.prototype, {
         if(!(currentNodeElement && currentNodeElement.sameNode(nodeElementToLand))) {
             _markAsCurrent(nodeElementToLand);
 
-            this.publisher('currentNodeElementSet', nodeElementToLand);
+            this.publisher('currentNodeElementSet', nodeElementToLand.data('wlxmlNode'));
         }
     },