Hi All,
Is there any way to strip out all tags from a table to leave only the following (basic) example structure:
<table>
<thead><tr><th>Lorem Ipsum</th></tr></thead>
<tbody><tr><td>Lorem Ipsum</td></tr></tbody>
</table>
I do not want any styling to be copied in from Excel/Word etc and even if you force users to paste in to the paste from word function it still leaves in a lot of styling code that I just don't want. I want to style the table using CSS on a site wide basis and not allow table level styling.
If this isn't possible natively can someone point me to the right place to write my own code to do this?
Thanks
Is there any way to strip out all tags from a table to leave only the following (basic) example structure:
<table>
<thead><tr><th>Lorem Ipsum</th></tr></thead>
<tbody><tr><td>Lorem Ipsum</td></tr></tbody>
</table>
I do not want any styling to be copied in from Excel/Word etc and even if you force users to paste in to the paste from word function it still leaves in a lot of styling code that I just don't want. I want to style the table using CSS on a site wide basis and not allow table level styling.
If this isn't possible natively can someone point me to the right place to write my own code to do this?
Thanks