It's because MS Word puts paragraph breaks between most lines when you copy over. Try this workaround:
- Type things up in MS Word as you would normally
- Use the Paste from MS Word feature
- Wherever you have code to the end of the line and press the delete key. This will make the editor convert it from a paragraph break (<p>) to a line break (<br>) which it knows how to handle.
E.g. if your code was:
this.code = true;
//hopefully it shows up right
But it was showing up in the live preview as as:
this.code = true;</p>
<p>//hopefully it shows up right</p>
Or similar, you should be able to put your cursor after the "true;" and press delete once. You will notice the line jumps up a bit in the editor, then when you preview it should be OK...
Let me know how that goes.
Please don't email or PM
me Flash questions, that's what the Forums are for!
Please don't rely on me reading my PMs either. Email me about important stuff.