How to get copy and paste-able tables accross browsers for export to word-processors?

130 Views Asked by At

When I copy and paste a table styled with CSS from a browser to a word processor I get very different results: Firefox neglects CSS styles, Chrome copies only the content of the table, and Safari works only with Pages. Is there a way to copy paste cross browser, ideally with CSS?

    #css {
      border-collapse: collapse;
    }

    #css td {
      border: 1px solid;
    }
<table id="css">
      <tbody>
        <tr>
          <td>Test1</td>
          <td>Test2</td>
        </tr>
      </tbody>
    </table>

https://codepen.io/anon/pen/ZrVXdG

0

There are 0 best solutions below