baigl #46

Merged
baigl merged 21 commits from baigl into main 2024-11-21 10:38:10 +08:00
1 changed files with 8 additions and 3 deletions
Showing only changes of commit 96f25ab987 - Show all commits

View File

@ -45,6 +45,7 @@ import "tinymce/plugins/fullscreen"; //全屏
import "tinymce/plugins/anchor"; //
import { ref, reactive, defineProps, defineEmits, nextTick, onMounted, computed, watch } from 'vue'
import { getStaticUrl } from '@/utils/tool'
//import { listUploadfile, getUploadFile, delUploadFile, addUploadFile, saveUploadFile } from "@/api/comm/uploadfile";
const emits = defineEmits(["update:modelValue", "setHtml"]);
@ -118,9 +119,13 @@ const tinymceId = ref(
// init
const init = reactive({
selector: "#" + tinymceId.value, //id,
skin_url: "../../../public/tinymce/skins/ui/oxide", // skin
content_css: "../../../public/tinymce/skins/content/default/content.css", //csscsscss
language_url: "../../../public/tinymce/langs/zh_CN.js", //
skin_url: getStaticUrl('/tinymce/skins/ui/oxide'),
content_css: getStaticUrl('tinymce/skins/content/default/content.css'), //csscsscss
language_url: getStaticUrl('/tinymce/langs/zh_CN.js'), //
//skin_url: "/tinymce/skins/ui/oxide", // skin
//content_css: "/tinymce/skins/content/default/content.css", //csscsscss
//language_url: "/tinymce/langs/zh_CN.js", //
language: "zh_CN",
editable_root: props.editable_root,