Paste a HTML table into Excel, how to keep the line break in cell

前端 未结 5 974
梦谈多话
梦谈多话 2021-02-12 12:08

I have a simple html table, for example, just one cell, but when I copy the dom node, and paste it into excel, it will be recognize as two rows, How to make Excel get the correc

5条回答
  •  孤城傲影
    2021-02-12 13:04

    It looks like Firefox entirely ignores the mso-data-placement directive; it doesn't appear in the Firebug style panel. Perhaps that's why it won't paste as you expect?

提交回复
热议问题