Skip to main content
Participant
August 8, 2020
Répondu

Dreamweaver code formatting

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

 

 

    Ce sujet a été fermé aux réponses.
    Meilleure réponse par 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 commentaire

    BenPleysier
    Community Expert
    BenPleysierCommunity ExpertRéponse
    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!