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,
|
value: jsCode,
|
||||||
language: "javascript",
|
language: "javascript",
|
||||||
glyphMargin: true,
|
glyphMargin: true,
|
||||||
nativeContextMenu: false
|
contextmenu: false
|
||||||
});
|
});
|
||||||
|
|
||||||
var decorations = editor.deltaDecorations([], [
|
var decorations = editor.deltaDecorations([], [
|
||||||
|
|
|
@ -14,7 +14,7 @@ var editor = monaco.editor.create(document.getElementById("container"), {
|
||||||
value: jsCode,
|
value: jsCode,
|
||||||
language: "javascript",
|
language: "javascript",
|
||||||
glyphMargin: true,
|
glyphMargin: true,
|
||||||
nativeContextMenu: false
|
contextmenu: false
|
||||||
});
|
});
|
||||||
|
|
||||||
var decorations = editor.deltaDecorations([], [
|
var decorations = editor.deltaDecorations([], [
|
||||||
|
|
Loading…
Reference in New Issue