fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
DocumentElement.childIndex
[fnpeditor.git]
/
modules
/
documentCanvas
/
canvasManager.js
diff --git
a/modules/documentCanvas/canvasManager.js
b/modules/documentCanvas/canvasManager.js
index
3b7f72d
..
edb599c
100644
(file)
--- a/
modules/documentCanvas/canvasManager.js
+++ b/
modules/documentCanvas/canvasManager.js
@@
-245,6
+245,9
@@
Manager.prototype.command = function(command, meta) {
this.sandbox.publish('contentChanged');
//}
}
+ } else if(command === 'unwrap-node') {
+ this.canvas.nodeUnwrap({node: canvasNode.create(pos.parentNode)});
+ this.sandbox.publish('contentChanged');
}
};