I am trying to paste a document from word into the RAD Editor.
I have tried all the options available to me , i.e. paste from word, paste from word - strip font etc etc.
The issue is that the tables come up with really wierd extra style attributes which makes the rendering of the table in html totally messed up.
For example, below is a snippet of the HTML generated of one cell.
"border:1pt solid windowtext;width: 77.25pt; padding-top: 0in; padding-right: 5.4pt; padding-bottom: 0in; padding-left: 5.4pt;"
"margin-top: 2pt; margin-right: 0in; margin-bottom: 2pt; margin-left: 0in; text-align: center;"
Notice the stuff in the style attribute for the <td>
So my question is:
a) Can this be fixed at the time of pasting?
b) If not, can there be some call back mechanism that I can use to strip the style tags manually?
Let me know if you want me to attach the original file as well.