|
@@ -29,7 +29,7 @@ import { buildShortUUID } from "@/utils/uuid";
|
|
|
import { bindHandlers } from "./helper";
|
|
|
import lineHeight from "./lineHeight";
|
|
|
import { onMountedOrActivated } from "@/hooks/onMountedOrActivated";
|
|
|
-const tinymceScriptSrc = "http://zwcontent.oss-cn-hangzhou.aliyuncs.com/editor_manage/front/js/tinymce/tinymce.min.js";
|
|
|
+const tinymceScriptSrc = "https://zwcontent.oss-cn-hangzhou.aliyuncs.com/editor_manage/front/js/tinymce/tinymce.min.js";
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: "Tinymce",
|
|
@@ -57,14 +57,14 @@ export default defineComponent({
|
|
|
const { height, options } = props;
|
|
|
return {
|
|
|
selector: `#${unref(tinymceId)}`,
|
|
|
- base_url: 'http://zwcontent.oss-cn-hangzhou.aliyuncs.com/editor_manage/front/js/tinymce/',
|
|
|
+ base_url: 'https://zwcontent.oss-cn-hangzhou.aliyuncs.com/editor_manage/front/js/tinymce/',
|
|
|
suffix: '.min',
|
|
|
height: height,
|
|
|
toolbar: toolbar,
|
|
|
menubar: "file edit insert view format table",
|
|
|
plugins: plugins,
|
|
|
// 语言包
|
|
|
- language_url: "http://zwcontent.oss-cn-hangzhou.aliyuncs.com/public/zh_CN.js",
|
|
|
+ language_url: "https://zwcontent.oss-cn-hangzhou.aliyuncs.com/public/zh_CN.js",
|
|
|
// 中文
|
|
|
language: "zh_CN",
|
|
|
default_link_target: "_blank",
|