Fix adding nodes with insert.

This commit is contained in:
Paulo Gustavo Veiga 2012-08-30 22:30:12 -03:00
parent b808fcdbb8
commit 65d5ddb604

View File

@ -72,6 +72,10 @@ mindplot.DesignerKeyboard = new Class({
designer.createChildForSelectedNode(); designer.createChildForSelectedNode();
}.bind(this), }.bind(this),
'-':function () {
designer.createChildForSelectedNode();
}.bind(this),
'meta+enter':function (event) { 'meta+enter':function (event) {
event.preventDefault(); event.preventDefault();
event.stopPropagation(); event.stopPropagation();