From dc76b1fc95e12274622207f23d8319074e4a7465 Mon Sep 17 00:00:00 2001 From: haeguri Date: Thu, 19 Jul 2018 01:11:35 +0900 Subject: [PATCH] Fix playground sample option - change `nativeContextMenu` to `contextmenu` --- .../interacting-with-the-editor-listening-to-mouse-events.html | 2 +- .../listening-to-mouse-events/sample.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/playground.generated/interacting-with-the-editor-listening-to-mouse-events.html b/test/playground.generated/interacting-with-the-editor-listening-to-mouse-events.html index 57f700e67b..386f1c0330 100644 --- a/test/playground.generated/interacting-with-the-editor-listening-to-mouse-events.html +++ b/test/playground.generated/interacting-with-the-editor-listening-to-mouse-events.html @@ -60,7 +60,7 @@ value: jsCode, language: "javascript", glyphMargin: true, - nativeContextMenu: false + contextmenu: false }); var decorations = editor.deltaDecorations([], [ diff --git a/website/playground/new-samples/interacting-with-the-editor/listening-to-mouse-events/sample.js b/website/playground/new-samples/interacting-with-the-editor/listening-to-mouse-events/sample.js index f2d3f88b87..7757b9ba6e 100644 --- a/website/playground/new-samples/interacting-with-the-editor/listening-to-mouse-events/sample.js +++ b/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([], [