Browse Source

fix(nc-gui): form desciption update issue (#8454)

Co-authored-by: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com>
pull/8470/head
Raju Udava 6 months ago committed by GitHub
parent
commit
c4dc2ac163
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      packages/nc-gui/components/cell/RichText.vue

6
packages/nc-gui/components/cell/RichText.vue

@ -220,15 +220,15 @@ if (isFormField.value) {
} }
onMounted(() => { onMounted(() => {
if (fullMode.value) { if (fullMode.value || isFormField.value || isForm.value) {
setEditorContent(vModel.value, true) setEditorContent(vModel.value, true)
if ((isForm.value && !isSurveyForm.value) || isFormField.value) return if (fullMode.value || isSurveyForm.value) {
nextTick(() => { nextTick(() => {
editor.value?.chain().focus().run() editor.value?.chain().focus().run()
}) })
} }
}
}) })
useEventListener( useEventListener(

Loading…
Cancel
Save