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 5 months ago committed by GitHub
parent
commit
c4dc2ac163
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 12
      packages/nc-gui/components/cell/RichText.vue

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

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

Loading…
Cancel
Save