diff --git a/editor/src/menu.js b/editor/src/menu.js index 9b81760..99482f9 100644 --- a/editor/src/menu.js +++ b/editor/src/menu.js @@ -52,6 +52,12 @@ function connectContextMenu(editor) { location.href = '/edit/'+id; }) } + }, + debug: { + name: 'Debug block', + callback: function (key, opt) { + editor.copy(this, {recursive:true}).then(console.log) + } } // TODO