-commands.register('wrap-node', function(canvas) {
- var cursor = canvas.getCursor(),
- selectionStart = cursor.getSelectionStart(),
- selectionEnd = cursor.getSelectionEnd(),
- parent1 = selectionStart.element.parent() || undefined,
- parent2 = selectionEnd.element.parent() || undefined;
-
- if(canvas.list.areItemsOfTheSameList({element1: parent1, element2: parent2})) {
- canvas.list.create({element1: parent1, element2: parent2});
- }
-});
+// commands.register('wrap-node', function(canvas) {
+// var cursor = canvas.getCursor(),
+// selectionStart = cursor.getSelectionStart(),
+// selectionEnd = cursor.getSelectionEnd(),
+// parent1 = selectionStart.element.parent() || undefined,
+// parent2 = selectionEnd.element.parent() || undefined;
+
+// if(canvas.list.areItemsOfTheSameList({element1: parent1, element2: parent2})) {
+// canvas.list.create({element1: parent1, element2: parent2});
+// }
+// });