diff --git a/packages/nc-gui/components/cell/Json.vue b/packages/nc-gui/components/cell/Json.vue index 027895e949..e39ff2e06c 100644 --- a/packages/nc-gui/components/cell/Json.vue +++ b/packages/nc-gui/components/cell/Json.vue @@ -185,6 +185,7 @@ watch(isExpanded, () => { :hide-minimap="true" :disable-deep-compare="true" @update:model-value="localValue = $event" + @keydown.enter.stop /> diff --git a/packages/nc-gui/components/cell/TextArea.vue b/packages/nc-gui/components/cell/TextArea.vue index f7aaed246c..42ee3a4a33 100644 --- a/packages/nc-gui/components/cell/TextArea.vue +++ b/packages/nc-gui/components/cell/TextArea.vue @@ -296,6 +296,7 @@ watch(inputWrapperRef, () => { :class="{ 'cursor-move': isDragging, }" + @keydown.enter.stop >