Skip to content

Commit 8920aa4

Browse files
authoredDec 5, 2022
fix: copy-pasting from module graph browser (#2321)
* 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>
1 parent b1f734c commit 8920aa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/ui/client/components/CodeMirror.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ onMounted(async () => {
4040
...props,
4141
...attrs,
4242
mode: modeMap[props.mode || ''] || props.mode,
43-
readOnly: props.readOnly ? 'nocursor' : undefined,
43+
readOnly: props.readOnly ? true : undefined,
4444
extraKeys: {
4545
'Cmd-S': function (cm) {
4646
emit('save', cm.getValue())

0 commit comments

Comments
 (0)
Please sign in to comment.