瀏覽代碼

Fix playground sample option

- change `nativeContextMenu` to `contextmenu`
haeguri 7 年之前
父節點
當前提交
dc76b1fc95

+ 1 - 1
test/playground.generated/interacting-with-the-editor-listening-to-mouse-events.html

@@ -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([], [

+ 1 - 1
website/playground/new-samples/interacting-with-the-editor/listening-to-mouse-events/sample.js

@@ -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([], [