Fix playground sample option
- change `nativeContextMenu` to `contextmenu`pull/962/head
parent
14f6229243
commit
dc76b1fc95
|
@ -60,7 +60,7 @@ var editor = monaco.editor.create(document.getElementById("container"), {
|
|||
value: jsCode,
|
||||
language: "javascript",
|
||||
glyphMargin: true,
|
||||
nativeContextMenu: false
|
||||
contextmenu: false
|
||||
});
|
||||
|
||||
var decorations = editor.deltaDecorations([], [
|
||||
|
|
|
@ -14,7 +14,7 @@ var editor = monaco.editor.create(document.getElementById("container"), {
|
|||
value: jsCode,
|
||||
language: "javascript",
|
||||
glyphMargin: true,
|
||||
nativeContextMenu: false
|
||||
contextmenu: false
|
||||
});
|
||||
|
||||
var decorations = editor.deltaDecorations([], [
|
||||
|
|
Loading…
Reference in New Issue