Code editor bug
When creating a div outside of the code window. The div doesn't show inside the code. If you look on the left of the attached image, you can see a div is in the body and is displayed in the preview but not in the code.
Please check in recent build available at http://adobe.ly/dw_beta2 and if still this problem occurs please send the video recording of it.