mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 15:05:39 +01:00
Fix playground sample option
- change `nativeContextMenu` to `contextmenu`
This commit is contained in:
parent
14f6229243
commit
dc76b1fc95
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue