# Tree - Source vs DOM mode

**URL:** <https://forum.pinegrow.com/t/tree-source-vs-dom-mode/5362>\
**Category:** Questions\
**Created:** [June 21, 2021, 1:51am UTC](https://forum.pinegrow.com/t/tree-source-vs-dom-mode/5362 "2021-06-21T01:51:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TechAkayy](https://avatars.discourse-cdn.com/v4/letter/t/ce73a5/32.png) [@TechAkayy](https://forum.pinegrow.com/u/TechAkayy)\
**Post date:** [June 21, 2021, 1:51am UTC](https://forum.pinegrow.com/t/tree-source-vs-dom-mode/5362/1 "2021-06-21T01:51:17Z")

</div>

When opening a page, is there a way to always default to “Source code structure” as before? I think everyone wants to visually edit the Source as opposed to the generated DOM…

It looks like the default mode has changed after v6, isn’t it? Also would look good if you change “Source code structure” to “Source Code structure” in the dropdown, will look good 😉

> **[Introducing Pinegrow Web Editor 6 | Pinegrow Web Editor](https://pinegrow.com/blog/introducing-pinegrow-web-editor-6/#auto-collapsing-tree-structure)**
>
> Do more with less UI.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/a/aa603ed5461958c257092bd8636fd3dc8085bd02.jpeg)

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [June 21, 2021, 9:42am UTC](https://forum.pinegrow.com/t/tree-source-vs-dom-mode/5362/2 "2021-06-21T09:42:00Z")

</div>

Hi @TechAkayy,  
I believe that ‘Source code structure’ is still the default. However, if you change it, that setting is used on all other projects. It is a global “switch” rather than a project or page switch.  
With regards to capitalization - all of the Pinegrow menus have an initial capital and the rest lowercase, unless it is something that is specifically capitalized like ‘DOM’ or ‘SCSS’

Cheers,  
Bob

---

<div class="post-metadata">

**Author:** ![TechAkayy](https://avatars.discourse-cdn.com/v4/letter/t/ce73a5/32.png) [@TechAkayy](https://forum.pinegrow.com/u/TechAkayy)\
**Post date:** [June 21, 2021, 3:09pm UTC](https://forum.pinegrow.com/t/tree-source-vs-dom-mode/5362/3 "2021-06-21T15:09:23Z")

</div>

> [@RobM](#):
>
> I believe that ‘Source code structure’ is still the default. However, if you change it, that setting is used on all other projects. It is a global “switch” rather than a project or page switch.

Thanks bunch @RobM… reopening page didn’t restore the mode, but restarting Pinegrow seem to have fixed it, must be one of those rare anomalies, didn’t happen again, will revert back if it happens again…

Apologies, I should have followed the standard restart technique before posting here 😬

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [June 21, 2021, 6:09pm UTC](https://forum.pinegrow.com/t/tree-source-vs-dom-mode/5362/4 "2021-06-21T18:09:23Z")

</div>

No problem, @TechAkayy!  
I don’t think you actually need to restart. I think if you change it for one project it should change for all of them (not positive, though).  
Cheers,  
Bob
