I'm not as evil as I seem, but saying that you're 'almost certain' I wouldn't be able to help was rude - I hope you're suitably ashamed. It was actually the working example I used to test with. I'm sure you wouldn't create a website in hard code and send it to the client without testing it in a browser!?!
Well I'm no expert
, but this is a good work around. Just add this line of code to the end of the function.
Code:
function makeWhizzyWig(txtArea, controls){ // make a WhizzyWig from the textarea
idTa = txtArea;
whizzies[whizzies.length]=idTa;
....
....
idTa=null;
oW.document.body.innerHTML="<P style=\"MARGIN: 0cm 0cm 0pt\"> </P>"
} //end makeWhizzyWig
Solution.
I had a look at the sample from MS and it had the same problem, hence the problem was inherent to the editable content in designMode. When I pasted a test piece from MSword the extra line problem disappeared. I simply read what was being pasted and copied it to the innerHTML and the problem was solved.
Bookmarks