Skip to content

Commit

Permalink
feat: enable context menu in monaco editor (#824)
Browse files Browse the repository at this point in the history
Signed-off-by: Kerim Bilgic <[email protected]>
  • Loading branch information
kerbilg authored Aug 11, 2022
1 parent 48fab84 commit f374bee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/widgets/filesystem/FileEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default class FileEditor extends Vue {
// Base editor options.
opts: Monaco.editor.IStandaloneEditorConstructionOptions = {
contextmenu: false,
contextmenu: true,
readOnly: this.readonly,
codeLens: this.codeLens,
automaticLayout: true,
Expand Down
1 change: 0 additions & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ module.exports = defineConfig({
features: [
'!codeAction',
'!colorPicker',
'!contextmenu',
'!hover',
'!gotoError',
'!gotoLine',
Expand Down

0 comments on commit f374bee

Please sign in to comment.