diff --git a/packages/nc-gui/components/cell/RichText.vue b/packages/nc-gui/components/cell/RichText.vue index 955d9296dc..b263004f00 100644 --- a/packages/nc-gui/components/cell/RichText.vue +++ b/packages/nc-gui/components/cell/RichText.vue @@ -187,7 +187,7 @@ watch(editorDom, () => { 'max-w-[calc(100%_-_198px)] flex justify-end rounded-tr-2xl overflow-hidden': fullMode, }" > -
diff --git a/packages/nc-gui/components/cell/TextArea.vue b/packages/nc-gui/components/cell/TextArea.vue index 42ee3a4a33..2c5e0139a7 100644 --- a/packages/nc-gui/components/cell/TextArea.vue +++ b/packages/nc-gui/components/cell/TextArea.vue @@ -173,7 +173,7 @@ const dragStart = (e: MouseEvent) => { } watch(editEnabled, () => { - if (editEnabled.value) { + if (editEnabled.value && isRichMode.value) { isVisible.value = true } }) @@ -227,7 +227,7 @@ watch(inputWrapperRef, () => { :ref="focus" v-model="vModel" :rows="isForm ? 5 : 4" - class="h-full w-full outline-none border-none nc-scrollbar-lg" + class="h-full w-full outline-none border-none nc-longtext-scrollbar" :class="{ 'p-2': editEnabled, 'py-1 h-full': isForm, @@ -270,8 +270,8 @@ watch(inputWrapperRef, () => {