Add debug function to context menu
This commit is contained in:
parent
69b1b11889
commit
bfbfab1605
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user