Commit 202c28d0 authored by 吴春's avatar 吴春

编辑器图片之间有间隔

parent cb52ac32
...@@ -64,11 +64,11 @@ ...@@ -64,11 +64,11 @@
if (this.IsMultiple) { if (this.IsMultiple) {
if (resultMsg.length > 0) { if (resultMsg.length > 0) {
resultMsg.forEach(item => { resultMsg.forEach(item => {
html += '<img src="' + this.getIconLink(item.url) + '" style="max-width: 100%;" />'; html += '<img src="' + this.getIconLink(item.url) + '" style="max-width: 100%;display: block;" />';
}) })
} }
} else { } else {
html = '<img src="' + this.getIconLink(resultMsg.url) + '" style="max-width: 100%;" />'; html = '<img src="' + this.getIconLink(resultMsg.url) + '" style="max-width: 100%;display: block;" />';
} }
this.ue.execCommand('inserthtml', html); this.ue.execCommand('inserthtml', html);
} }
......
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