修复JEditor上传图片无法回显的问题
This commit is contained in:
@@ -79,15 +79,14 @@ export default {
|
|||||||
const img = 'data:image/jpeg;base64,' + blobInfo.base64()
|
const img = 'data:image/jpeg;base64,' + blobInfo.base64()
|
||||||
success(img)
|
success(img)
|
||||||
} else {
|
} else {
|
||||||
const img = getFileAccessHttpUrl(res.message)
|
const img = getFileAccessHttpUrl(res.result.id)
|
||||||
success(img)
|
success(img)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
paste_postprocess: function(plugin, args) {
|
paste_postprocess: function(plugin, args) {
|
||||||
console.log(args.node,"kkkkkk");
|
args.node.setAttribute('id', 'hello')
|
||||||
args.node.setAttribute('id', 'hello');
|
|
||||||
},
|
},
|
||||||
init_instance_callback: editor => {
|
init_instance_callback: editor => {
|
||||||
if (this.value) {
|
if (this.value) {
|
||||||
|
|||||||
Reference in New Issue
Block a user