diff --git a/frontend/package.json b/frontend/package.json index 280710df..74721ee1 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -22,7 +22,7 @@ "@eslint/js": "^9.28.0", "@highlightjs/vue-plugin": "^2.1.0", "@npkg/tinymce-plugins": "^0.0.7", - "@tinymce/tinymce-vue": "^5.1.0", + "@tinymce/tinymce-vue": "^4.0.7", "@vueuse/core": "^14.1.0", "core-js": "^3.49.0", "dayjs": "^1.11.13", @@ -38,7 +38,7 @@ "markdown-it": "^14.1.0", "mitt": "^3.0.1", "snowflake-id": "^1.1.0", - "tinymce": "^7.9.1", + "tinymce": "6.8.6", "vue": "^3.5.13", "vue-dompurify-html": "^5.3.0", "vue-i18n": "^9.14.4", diff --git a/frontend/src/views/dashboard/components/component-list.ts b/frontend/src/views/dashboard/components/component-list.ts index 43264c20..a5f7b1ba 100644 --- a/frontend/src/views/dashboard/components/component-list.ts +++ b/frontend/src/views/dashboard/components/component-list.ts @@ -49,7 +49,7 @@ const COMPONENT_LIST = [ component: 'SQText', name: 'new text', locked: false, - propValue: null, + propValue: '', editing: false, x: 1, y: 1, diff --git a/frontend/src/views/dashboard/components/sq-text/index.vue b/frontend/src/views/dashboard/components/sq-text/index.vue index ad091c46..7bb73071 100644 --- a/frontend/src/views/dashboard/components/sq-text/index.vue +++ b/frontend/src/views/dashboard/components/sq-text/index.vue @@ -31,6 +31,7 @@