Skip to content

Commit

Permalink
fix: copy-pasting from module graph browser (#2321)
Browse files Browse the repository at this point in the history
* fix: copy-pasting from module graph browser

Signed-off-by: GurkiranSingh <gurkiransinghk@gmail.com>

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

Signed-off-by: GurkiranSingh <gurkiransinghk@gmail.com>
  • Loading branch information
g4rry420 committed Dec 5, 2022
1 parent b1f734c commit 8920aa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/client/components/CodeMirror.vue
Expand Up @@ -40,7 +40,7 @@ onMounted(async () => {
...props,
...attrs,
mode: modeMap[props.mode || ''] || props.mode,
readOnly: props.readOnly ? 'nocursor' : undefined,
readOnly: props.readOnly ? true : undefined,
extraKeys: {
'Cmd-S': function (cm) {
emit('save', cm.getValue())
Expand Down

0 comments on commit 8920aa4

Please sign in to comment.