Some white space in the wlxml source handling rules
[fnpeditor.git] / modules / documentCanvas / canvasManager.js
index 3b7f72d..edb599c 100644 (file)
@@ -245,6 +245,9 @@ Manager.prototype.command = function(command, meta) {
                 this.sandbox.publish('contentChanged');
             //}
         }
                 this.sandbox.publish('contentChanged');
             //}
         }
+    } else if(command === 'unwrap-node') {
+        this.canvas.nodeUnwrap({node: canvasNode.create(pos.parentNode)});
+        this.sandbox.publish('contentChanged');
     }
 
 };
     }
 
 };