Moving Element in App Structure and DOM Also Move Comment Above

LIke many of us, I switch between the menu system and source code… that is what I LOVE about Wappler.

Being a tidy soul (which app development forces upon us!), I have various comments in my HTML source code, epecially just above a key structure such as field input:

<!-- *************** Mobile Phone ***************** -->
<div class="container container_field" id="c_contact_mobile_phone">
... and 20 more lines of code

<!-- *************** Address ***************** -->
<div class="container container_field" id="c_contact_address">
... and 20 more lines of code

and I often find myself moving these structures around in the App Structure/DOM interface. It is a great way to re-order things really rapidly…

… except that the comments just above don’t get moved at the same time, so my source code ends up with just a bunch of comments hanging around commenting the wrong thing.

So this is a feature request that when elements are moved in App Structure/DOM windows, they take with them any comment found on the line above.

Community Page
Last updated: