html-docx-js sets the image width and height to export the image width and height does not take effect

Export Tutorial: Export tables to Excel files or convert HTML to word documents

If the style is added through style or class, the width and height will not take effect.
Be sure to use the native attributes of img

<img width="100" height="100" />

This method works

Guess you like

Origin blog.csdn.net/lhkuxia/article/details/131801577