Skip to content

好像不支持配置纸张大小和纸张方向 #4

@vxhly

Description

@vxhly

"data:application/vnd.ms-word;charset=utf-8," + encodeURIComponent(html);

亲试该方法非常完美,但是可能会丢失一些样式,所以我的的想法是先用 html2canvas 先转成图片,在将图片使用该方法导出 doc,但是在实际使用中有需要设置纸张大小设置纸张方向的需求,google 过很多方案但是并没有找到适合的,请问作者有何方案

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions