Commit f79e9345 authored by Mac's avatar Mac

1

parent 9c07d583
...@@ -560,10 +560,14 @@ div.edui-box { ...@@ -560,10 +560,14 @@ div.edui-box {
} }
.edui-default .edui-for-undo .edui-icon { .edui-default .edui-for-undo .edui-icon {
background-position: -160px 0; background-position: -160px 0;
background: url(../images/undo.png);
background-size: 100% 100%;
} }
.edui-default .edui-for-redo .edui-icon { .edui-default .edui-for-redo .edui-icon {
background-position: -100px 0; background-position: -100px 0;
background: url(../images/redo.png);
background-size: 100% 100%;
} }
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
//'music' //'music'
//'attachment', //附件 //'attachment', //附件
// 'source', '|', // 'source', '|',
// 'undo', 'redo', '|', 'undo', 'redo', '|',
//'fontborder', 'strikethrough', 'superscript', 'subscript', //'fontborder', 'strikethrough', 'superscript', 'subscript',
//'autotypeset', 'blockquote', 'pasteplain', '|', //'autotypeset', 'blockquote', 'pasteplain', '|',
// 'backcolor', 'insertorderedlist', 'insertunorderedlist', // 'backcolor', 'insertorderedlist', 'insertunorderedlist',
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
//'customstyle', 'paragraph', //'customstyle', 'paragraph',
//'directionalityltr', 'directionalityrtl', 'indent', '|', //'directionalityltr', 'directionalityrtl', 'indent', '|',
//'touppercase', 'tolowercase', '|', //'touppercase', 'tolowercase', '|',
// 'link', 'unlink', 'link', 'unlink',
//'anchor', '|', //'anchor', '|',
//'imagenone', 'imageleft', 'imageright', 'imagecenter', '|', //'imagenone', 'imageleft', 'imageright', 'imagecenter', '|',
//'simpleupload', //'simpleupload',
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
} }
</style> </style>
<template> <template>
<div class="addimageText"> <div class="addimageText" v-if="ishowloading">
<!-- <div class="box_l" style="display:none;"> <!-- <div class="box_l" style="display:none;">
<div class="box_l_center"> <div class="box_l_center">
<div class="appmsg_account"> <div class="appmsg_account">
...@@ -151,13 +151,15 @@ ...@@ -151,13 +151,15 @@
data() { data() {
return { return {
select: 1, select: 1,
ishowloading:false,
Name: '', Name: '',
author: '', author: '',
list: [], list: [],
config: { config: {
initialFrameWidth: null, initialFrameWidth: null,
initialFrameHeight: 500, initialFrameHeight: 500,
zIndex: 99 zIndex: 99,
}, },
importFileUrl2: this.domainManager().UploadFileUrl2, importFileUrl2: this.domainManager().UploadFileUrl2,
getImgChoice: false, getImgChoice: false,
...@@ -182,7 +184,12 @@ ...@@ -182,7 +184,12 @@
}, },
created() { created() {
if (this.$route.query && this.$route.query.type) { if (this.$route.query && this.$route.query.type) {
this.addMsg.Type = this.$route.query.type this.addMsg.Type = this.$route.query.type;
if(this.addMsg.Type == 2 || this.addMsg.Type == 3){
this.config.toolbars = [ 'undo', 'redo','link', 'unlink', 'emotion']
this.$forceUpdate()
}
this.ishowloading = true
} }
if (this.$route.query && this.$route.query.Id) {//编辑 if (this.$route.query && this.$route.query.Id) {//编辑
this.addMsg.Id = this.$route.query.Id; this.addMsg.Id = this.$route.query.Id;
...@@ -253,7 +260,6 @@ ...@@ -253,7 +260,6 @@
this.$refs.UE_cb.hyperlinks(data) this.$refs.UE_cb.hyperlinks(data)
}, },
getcontnet(data){ getcontnet(data){
console.log(data)
this.addMsg.Content = data this.addMsg.Content = data
}, },
savemove(type) { savemove(type) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment