This commit is contained in:
parent
d5a8da438a
commit
0d0327f956
|
@ -114,12 +114,13 @@ const tinymceId = ref(
|
|||
"vue-tinymce-" + +new Date() + ((Math.random() * 1000).toFixed(0) + "")
|
||||
);
|
||||
|
||||
|
||||
//定义一个对象 init初始化
|
||||
const init = reactive({
|
||||
selector: "#" + tinymceId.value, //富文本编辑器的id,
|
||||
skin_url: "/tinymce/skins/ui/oxide", // skin路径,具体路径看自己的项目
|
||||
content_css: "/tinymce/skins/content/default/content.css", //以css文件方式自定义可编辑区域的css样式,css文件需自己创建并引入
|
||||
language_url: "/tinymce/langs/zh_CN.js", // 语言包的路径,具体路径看自己的项目
|
||||
skin_url: "../../../public/tinymce/skins/ui/oxide", // skin路径,具体路径看自己的项目
|
||||
content_css: "../../../public/tinymce/skins/content/default/content.css", //以css文件方式自定义可编辑区域的css样式,css文件需自己创建并引入
|
||||
language_url: "../../../public/tinymce/langs/zh_CN.js", // 语言包的路径,具体路径看自己的项目
|
||||
language: "zh_CN",
|
||||
|
||||
editable_root: props.editable_root,
|
||||
|
|
Loading…
Reference in New Issue