Skip to main content
Known Participant
February 10, 2021
Question

DW 2019 macOS: "Apply Source Formatting" has no effect

  • February 10, 2021
  • 1 reply
  • 1311 views

When I use the command "Edit > Code > Apply Source Formatting"*  in a HTML or CSS file it has no effect.

 

Is there a way to use this command?

 

Thanks.

This topic has been closed for replies.

1 reply

Jon Fritz
Community Expert
Community Expert
February 10, 2021

Is the code free of structural errors?

Run it through the validator at http://validator.w3.org/nu and repair any issues that are listed.

Errors in the source code can cause DW to get confused and break a lot of the features in the program.

Known Participant
February 11, 2021

Yes, the code is free of errors.
I used a minimal HTML5 testcase, freshly created.

<p>foo</p><p>bar</p>

 

Jon Fritz
Community Expert
Community Expert
February 11, 2021

What file type are you working with?