diff --git a/snowy-admin-web/package.json b/snowy-admin-web/package.json index 5f730508..60073da2 100644 --- a/snowy-admin-web/package.json +++ b/snowy-admin-web/package.json @@ -40,7 +40,7 @@ "sm-crypto": "^0.3.11", "snowflake-id": "^1.1.0", "sortablejs": "^1.15.0", - "tinymce": "^6.2.0", + "tinymce": "6.2.0", "vue": "3.2.44", "vue-cropper": "^1.0.1", "vue-i18n": "^9.2.2", diff --git a/snowy-admin-web/src/components/Editor/index.vue b/snowy-admin-web/src/components/Editor/index.vue index b7b11cc2..4cc081ad 100644 --- a/snowy-admin-web/src/components/Editor/index.vue +++ b/snowy-admin-web/src/components/Editor/index.vue @@ -10,7 +10,7 @@ import tinymce from 'tinymce/tinymce' import 'tinymce/themes/silver' import 'tinymce/icons/default' - + import 'tinymce/models/dom' // 引入编辑器插件 import 'tinymce/plugins/code' // 编辑源码 import 'tinymce/plugins/image' // 插入编辑图片