Skip to content

Commit

Permalink
Fix error: Property or method "editorData" is not defined on the inst…
Browse files Browse the repository at this point in the history
…ance 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.
  • Loading branch information
Jan Polonsky committed Sep 6, 2024
1 parent 5e53da8 commit fb25281
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/src/components/assess/NewsItemAggregateDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
},
data: () => ({
content: null,
editorData: '<p></p>',
editorOptionVue2: {
theme: 'snow',
placeholder: "insert text here ...",
Expand Down
1 change: 1 addition & 0 deletions src/gui/src/components/assess/NewsItemSingleDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@
},
data: () => ({
content: null,
editorData: '<p></p>',
editorOptionVue2: {
theme: 'snow',
placeholder: "insert text here ...",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
data: () => ({
visible: false,
edit: false,
editorData: '<p></p>',
editorOptionVue2: {
theme: 'snow',
modules: {
Expand Down

0 comments on commit fb25281

Please sign in to comment.