mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 17:25:39 +01:00
Update old information on the website playground
This commit is contained in:
parent
5204ce8300
commit
5b3c0d0116
1 changed files with 2 additions and 1 deletions
|
|
@ -7,4 +7,5 @@ var myBinding = editor.addCommand(monaco.KeyCode.F9, function() {
|
||||||
alert('F9 pressed!');
|
alert('F9 pressed!');
|
||||||
});
|
});
|
||||||
|
|
||||||
// When cleaning up remember to call myBinding.dispose()
|
// You can't dispose `addCommand`
|
||||||
|
// If you need to dispose it you might use `addAction` or `registerCommand`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue