---
title: "Edit PageSource"
description: "Work directly with the canonical HTML, CSS, and JavaScript for a Page revision."
---

> Documentation Index
> Fetch the complete documentation index at: https://rshift.helpcent.re/llms.txt
> Use this file to discover all available pages before exploring further.

# Edit PageSource

## Steps

1. Open full source editing for the Page.
2. Edit only the HTML, CSS, or JavaScript needed for the requested behavior.
3. Keep external secrets and private data out of PageSource.
4. Save, validate, and review the Gateway preview across relevant viewport sizes.

## Important notes

- PageSource is the only page truth. Generated previews and conversational drafts must converge back to it.

## If you still need help

Search this Help Center using the exact feature or visible error. If the issue continues, use **Call Rshift support** from the Help Center navigation. Include any public reference and the approximate timestamp, but never include passwords, access tokens, provider credentials, or raw webhook payloads.

Source: https://rshift.helpcent.re/edit-pagesource/index.mdx
