Dreamweaver won't save my code. After I create a new page, if I select all, deleted the basic HTML generated and paste in another page I've created's HTML into it, after I save, close and reopen, the entire code (EXCEPT for the first two characters <! ) are missing. Very strange.
I'm on a MacBook Pro using Mojave and Adobe CC, DW version 19.2.1 (the latest release). I was on a call with Adobe support for almost an hour today with no resolution or fix. I had to take off to head to a work meeting. Any help/ideas would be much appreciated.
I've attached two images. The BEFORE shows the pasted HTML code in the file in DW. I saved and reopened and what you see in the AFTER image attached here shows the issue I'm experiencing. As you can see, only the first two HTML characters were saved in the file.
Copy link to clipboard
What happens if you update the doctype to HTML5, and then comment out that hidden span tag that starts with the %%[ code?
To update the doctype...
1. Click Page Properties in the Properties Window (make sure the HTML button is active on the left of the window)
2. Click Title/Encoding
3. For Document type (DTD) choose HTML5
4. Click Apply then OK
To comment out the <span> tag
1. Add <!-- in front of the opening <span> and then --> at the end of the </span>
Save As test.html and reopen
I seem to remember CC2018 having issues like this caused by code it couldn't recognize. Maybe the bug continued into CC2019.