Bug Description
When the Webify editor loads with a template selected, the HTML code appears minified (all on one line) in the editor. The user has to manually click the "Format" button every time to make it readable.
Expected Behavior
The code should be automatically formatted when the page loads or when a template is selected, so it's readable from the start.
Steps to Reproduce
- Open Webify
- Select any template
- Look at the HTML editor — code is all on one line
Suggested Fix
Call the format function automatically on page load / template load.
Additional Info
- The Format button already works correctly
- This is a UX improvement — users shouldn't need to manually format every time
SCREENSHOT

Bug Description
When the Webify editor loads with a template selected, the HTML code appears minified (all on one line) in the editor. The user has to manually click the "Format" button every time to make it readable.
Expected Behavior
The code should be automatically formatted when the page loads or when a template is selected, so it's readable from the start.
Steps to Reproduce
Suggested Fix
Call the format function automatically on page load / template load.
Additional Info
SCREENSHOT