Commit f79e9345 authored by Mac's avatar Mac

1

parent 9c07d583
......@@ -560,10 +560,14 @@ div.edui-box {
}
.edui-default .edui-for-undo .edui-icon {
background-position: -160px 0;
background: url(../images/undo.png);
background-size: 100% 100%;
}
.edui-default .edui-for-redo .edui-icon {
background-position: -100px 0;
background: url(../images/redo.png);
background-size: 100% 100%;
}
......
......@@ -51,7 +51,7 @@
//'music'
//'attachment', //附件
// 'source', '|',
// 'undo', 'redo', '|',
'undo', 'redo', '|',
//'fontborder', 'strikethrough', 'superscript', 'subscript',
//'autotypeset', 'blockquote', 'pasteplain', '|',
// 'backcolor', 'insertorderedlist', 'insertunorderedlist',
......@@ -61,7 +61,7 @@
//'customstyle', 'paragraph',
//'directionalityltr', 'directionalityrtl', 'indent', '|',
//'touppercase', 'tolowercase', '|',
// 'link', 'unlink',
'link', 'unlink',
//'anchor', '|',
//'imagenone', 'imageleft', 'imageright', 'imagecenter', '|',
//'simpleupload',
......
......@@ -52,7 +52,7 @@
}
</style>
<template>
<div class="addimageText">
<div class="addimageText" v-if="ishowloading">
<!-- <div class="box_l" style="display:none;">
<div class="box_l_center">
<div class="appmsg_account">
......@@ -151,13 +151,15 @@
data() {
return {
select: 1,
ishowloading:false,
Name: '',
author: '',
list: [],
config: {
initialFrameWidth: null,
initialFrameHeight: 500,
zIndex: 99
zIndex: 99,
},
importFileUrl2: this.domainManager().UploadFileUrl2,
getImgChoice: false,
......@@ -182,7 +184,12 @@
},
created() {
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) {//编辑
this.addMsg.Id = this.$route.query.Id;
......@@ -253,7 +260,6 @@
this.$refs.UE_cb.hyperlinks(data)
},
getcontnet(data){
console.log(data)
this.addMsg.Content = data
},
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