This commit is contained in:
“zouyf” 2024-11-20 16:20:09 +08:00
parent d5a8da438a
commit 0d0327f956
1 changed files with 4 additions and 3 deletions

View File

@ -113,13 +113,14 @@ const loading = ref(false);
const tinymceId = ref( const tinymceId = ref(
"vue-tinymce-" + +new Date() + ((Math.random() * 1000).toFixed(0) + "") "vue-tinymce-" + +new Date() + ((Math.random() * 1000).toFixed(0) + "")
); );
// init // init
const init = reactive({ const init = reactive({
selector: "#" + tinymceId.value, //id, selector: "#" + tinymceId.value, //id,
skin_url: "/tinymce/skins/ui/oxide", // skin skin_url: "../../../public/tinymce/skins/ui/oxide", // skin
content_css: "/tinymce/skins/content/default/content.css", //csscsscss content_css: "../../../public/tinymce/skins/content/default/content.css", //csscsscss
language_url: "/tinymce/langs/zh_CN.js", // language_url: "../../../public/tinymce/langs/zh_CN.js", //
language: "zh_CN", language: "zh_CN",
editable_root: props.editable_root, editable_root: props.editable_root,