html file extension
On macOS it is very easy to save an HTML file without the .html extension. DW isn't smart enough to correct this oversight.
If you create a new HTML by File > New then choose the first document type HTML and then finalise with Create you are placed into a new untitled HTML document.
When you attempt to save on macOS you will first see the text field for the file name with selection highlighting. The default filename and extension is highlighted. Immediately typing anything will overwrite both the file name and the extension. So you might type, "cool-site" hoping to save as cool-site.html.
However, the save dialog is passive and doesn't actively pick up the fact that you haven't added a file extension.
But the file should realise from the original template that it is an HTML file. The file is added to the project but because it has no file extension, DW then thinks it can't be edited.
Solution. Don't fully highlight the entire file name when the Save Panel is opened, instead highlight the base name and not the extension.
But also play nicely with the built in NSSavePanel, it knows how to hide file extensions properly.
Pu Koh commented
THIS IS SO INFURIATING. and it's the same with all the adobe programs from 2 or 3 updates ago.
The file extension SHOULD NOT be highlighted.
No other programs on the Mac does this, BECAUSE IT'S STUPID.
Thanks for providing the details. We are able to recreate this issue internally on mac OS 10.15 and are investigating the same. Thank you for trying the work-around, along-with the work-around you have provided, we can also perform either of the below for saving files.
1. Save the file by providing file extension along-with the filename in the File Save dialog.
2. Edit only the filename or remove the selection of the file extension (.html) in the filename textbox in File Save window
We will update this ticket once we have the fix available in future Dw updates.
Have a pleasant day.
macOS 10.15.5 (19F101)
Thanks for writing to us. We are unable to recreate this issue internally. On file save dialog, we see the selection is highlighted for filename and extension but on saving the file, the file is saved with the required .html extension(for a new html page). Hence could you please help us by providing the OS configuration and Dw version with which you are seeing this behavior. We can investigate the issue accordingly.