编辑器插入图片默认增加100%宽度

This commit is contained in:
hupeng
2020-07-24 16:33:00 +08:00
parent a1fc3587b6
commit c458be4219

View File

@ -464,7 +464,7 @@ export default {
sureUrls() {
let str = '';
this.urls.forEach(item => {
str += '<img src="' + item + '">'
str += '<img width="100%" src="' + item + '">'
//this.$set(this.value, this.value.length, item)
nowEditor.dialog.close(true);
nowEditor.editor.setContent(str, true);