标签: stoppropagation monaco-editor
editor.addAction({ id: 'runStep', label: 'run', keybindings: [monaco.KeyMod.CtrlCmd | monaco.KeyCode.Enter], contextMenuGroupId: 'navigation', contextMenuOrder: 1.5, run: function(editor){ /*do something*/},});