Skip to main content
Participant
August 8, 2020
Answered

Dreamweaver code formatting

  • August 8, 2020
  • 1 reply
  • 366 views

Hi there!

I have a silly question about how the code is displayed. I expected thet, when writting something like 

 

<div></div>

 

 And then hit the intro key, i expect to look like

but it shows like

 

 

    This topic has been closed for replies.
    Correct answer BenPleysier

    HTML tags in a PHP document are formatted as per preferences in tag libraries.  You can format the code within PHP blocks with below instructions.

     

    You can customize the CSS, JS, and PHP code formatting by adding formatting rules in .jsbeautifyrc file in your site root folder.

     

    1 reply

    BenPleysier
    Community Expert
    BenPleysierCommunity ExpertCorrect answer
    Community Expert
    August 8, 2020

    HTML tags in a PHP document are formatted as per preferences in tag libraries.  You can format the code within PHP blocks with below instructions.

     

    You can customize the CSS, JS, and PHP code formatting by adding formatting rules in .jsbeautifyrc file in your site root folder.

     

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!