# How to create custom pages and policies in your community

{% embed url="<https://www.youtube.com/watch?index=49&list=PLWB9ROSX-JSjbSyx9Hutrzi9Wk6B0WtRS&v=rGG5n-4Q1Ys>" %}

Community admins can now create rich, visually engaging pages using the enhanced Page Builder on Commudle. The latest update introduces support for image attachments and direct HTML editing, giving you more flexibility and control over your content.

**Steps to Create a Custom Page or Policy**

1. **Go to the Community Dashboard**\
   Access your community dashboard as an admin.
2. **Navigate to the Page Builder Tab**\
   Click on **Page Builder** in the left sidebar under the Content section.
3. **Add the Required Fields**
   * **Title**: Enter the page title.
   * **Page Type**: Select the appropriate type (e.g., General, Policy).
   * **Description**: Provide a brief description of the page.
   * **Content**: Use the rich text editor to add and format your content.

**New Features: Image Attachments & HTML Editing**

### Image Attachments

You can now insert images directly into your page content:

* Click the **Insert/Edit Image** button in the editor toolbar.
* Upload an image by dragging it into the dialog or by clicking **Browse for an image**.
* Once uploaded, the image will be embedded in your content at the cursor position.
* You can also edit or replace images at any time.

*Example:*

<figure><img src="/files/jcjHixOfm70xLh58d5lU" alt=""><figcaption></figcaption></figure>

### HTML Editing

<figure><img src="/files/UJyeFRZTf47dmGKkkcP9" alt=""><figcaption></figcaption></figure>

For advanced customization, you can edit the HTML source of your page:

* Click the **Source Code** button (< >) in the editor toolbar.
* A modal will open where you can directly edit the HTML of your content.
* After making changes, click **Save** to apply the updates.

### Rich Content Editing

The editor supports:

* Text formatting (headings, bold, italics, lists)
* Hyperlinks and tables
* Image embedding
* Custom HTML for advanced layouts

{% hint style="info" %}
You can also use the drag n drop editor instead of the rich text editor
{% endhint %}

**Saving and Publishing**

* Click **Save** to publish your page.
* Your page will be live immediately.
* You can unpublish it at any time if needed.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.commudle.com/page-builder/how-to-create-custom-pages-and-policies-in-your-community.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
