Home  >  Article  >  Backend Development  >  百度UEditor编辑器如何让使用图片时自动加上宽度和高度的属性?

百度UEditor编辑器如何让使用图片时自动加上宽度和高度的属性?

WBOY
WBOYOriginal
2016-06-23 13:53:051365browse

默认上传图片的时候,对应的html代码是这样的
百度UEditor编辑器如何让使用图片时自动加上宽度和高度的属性?

我想让它这样,
百度UEditor编辑器如何让使用图片时自动加上宽度和高度的属性?

就是宽度和高度的属性我想它自动加上,怎么做啊?文档没看到。


回复讨论(解决方案)

http://ueditor.baidu.com/doc/#COMMAND::insertimage

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn