From fb2528159a8ea1eda555746467735943663faa6a Mon Sep 17 00:00:00 2001 From: Jan Polonsky Date: Fri, 6 Sep 2024 08:55:09 +0200 Subject: [PATCH] Fix error: Property or method "editorData" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. --- src/gui/src/components/assess/NewsItemAggregateDetail.vue | 1 + src/gui/src/components/assess/NewsItemSingleDetail.vue | 1 + src/gui/src/components/config/assets/NewNotificationTemplate.vue | 1 + 3 files changed, 3 insertions(+) diff --git a/src/gui/src/components/assess/NewsItemAggregateDetail.vue b/src/gui/src/components/assess/NewsItemAggregateDetail.vue index 1914d3342..4f5365404 100644 --- a/src/gui/src/components/assess/NewsItemAggregateDetail.vue +++ b/src/gui/src/components/assess/NewsItemAggregateDetail.vue @@ -133,6 +133,7 @@ }, data: () => ({ content: null, + editorData: '

', editorOptionVue2: { theme: 'snow', placeholder: "insert text here ...", diff --git a/src/gui/src/components/assess/NewsItemSingleDetail.vue b/src/gui/src/components/assess/NewsItemSingleDetail.vue index 0ea77f8a5..1d0a73bef 100644 --- a/src/gui/src/components/assess/NewsItemSingleDetail.vue +++ b/src/gui/src/components/assess/NewsItemSingleDetail.vue @@ -178,6 +178,7 @@ }, data: () => ({ content: null, + editorData: '

', editorOptionVue2: { theme: 'snow', placeholder: "insert text here ...", diff --git a/src/gui/src/components/config/assets/NewNotificationTemplate.vue b/src/gui/src/components/config/assets/NewNotificationTemplate.vue index 696ae5036..207e875ba 100644 --- a/src/gui/src/components/config/assets/NewNotificationTemplate.vue +++ b/src/gui/src/components/config/assets/NewNotificationTemplate.vue @@ -111,6 +111,7 @@ data: () => ({ visible: false, edit: false, + editorData: '

', editorOptionVue2: { theme: 'snow', modules: {