> From the [Strife user guide](https://strife.app/docs/user-guide/working-with-content/rich-text-editor). Every page is listed in [llms.txt](https://strife.app/docs/llms.txt).

# Rich text editor

Write and format text in a rich text field: the menu over selected text with its AI tools and links, and the / menu for headings, lists, pictures, videos and tables.

Text fields with formatting, such as the body text of a page, use the rich text editor. Your website decides how the text looks, so the editor shows its structure: headings, lists, links and so on.

### Format text

Select some text, and a menu appears above it:

* **AI tools**: simplify, summarize or rephrase the text, fix spelling and grammar, make it shorter or longer, change its tone, translate it, or complete the sentence.
* **Text style**: normal text, or **Heading 1**, **Heading 2** or **Heading 3**.
* **Bold**, **italic**, **underline** and **strikethrough**.
* **Link**: opens **Add link**. Type a web address, or search for a page or file in Strife. The arrow button next to the address makes the link open in a new tab.
* **Quote**: turns the paragraph into a quote.
* **Lists**: a bulleted list, a numbered list or a checklist, which has check marks instead of bullets.
* **Details**: a section that your readers can open and close.

<figure><img src="https://strife.app/docs/assets/rich-text-selection-menu.webp" alt="Selected text in a rich text field, with the menu above it: AI tools, text style, bold, italic, underline, strikethrough, link, quote, lists and details."><figcaption><p>The menu over selected text</p></figcaption></figure>

Some fields also have a brush button with styles your developer has set up. Picking one or more puts the selected text in a box, a callout, with those styles. Clear them all to take the text out of the box.

### Insert headings, lists, pictures and tables

On an empty line, type **/** to open a menu of things to insert: **Heading 1**, **Heading 2**, **Heading 3**, **List**, **Ordered list**, **Checklist**, **Insert image...**, **Insert video...** and **Table**. Click the one you want, or press **Esc** to close the menu.

<figure><img src="https://strife.app/docs/assets/rich-text-insert-menu.webp" alt="The menu that opens when you type a slash on an empty line: Heading 1 to 3, List, Ordered list, Checklist, Insert image..., Insert video... and Table."><figcaption><p>The / menu on an empty line</p></figcaption></figure>

* **Insert image...** opens the media library. Pick a picture to put it in the text.
* **Insert video...** opens the media library's videos. Pick one, and it is shown as a video player in the text.
* **Table** inserts a table. Click the grip at the start of a row or the top of a column for its menu: insert a row or column before or after, move it, or delete it. A row can also be made a header row with **Toggle header**.

Your developer can add components of your own to the menu, and can choose which heading levels a field offers.

### Paste a video link

Paste a link to a video on YouTube or Vimeo, and Studio asks whether to **Embed video**, which shows the video in the text, or **Keep as link**.

### Links in the new interface

> [!NOTE]
> This section describes Studio's new interface, which is not yet available to everyone. If your Studio looks like the rest of this guide, the sections above apply to you.

Select some text and click **Link** in the menu above it, or press **Command+K** (Ctrl+K on Windows). The link's settings open next to the text. They are the same as for a [link field](https://strife.app/docs/user-guide/working-with-content/fields.md#links-in-the-new-interface), except that there is no **Text** setting: the text you selected becomes the link's text.

* For a page, click **Choose page…**. **Link to page** opens beside the editor panel. Search for the page there, and click it.
* For a file from the media library, such as a PDF, choose **File** and click **Choose file…**. **Link to file** opens beside the editor panel, with the library's documents. Find the file in its folder, search for its name, or filter by **Format** (PDF, Word, Excel, PowerPoint or Other), and click it.
* For a web address, choose **External**, then **URL**, and type the address. For an email address, choose **Email**.
* **Remove link** removes the link and keeps the text.

The link changes as you edit it. **Esc**, the **x** or a click outside closes the settings and keeps the link. **Command+Z** (Ctrl+Z) undoes everything you changed in the settings, in one step. To change a link later, select some of its text and click **Link** again, or put the cursor in it and press **Command+K**.

You can also make links without opening the settings:

* Paste an address over selected text, and the text becomes a link.
* Type a web address, then a space, and the address becomes a link.
* Paste the address of one of your team's pages, such as /about, and the link goes to that page in Strife, just as if you had chosen it with **Choose page…**. An address with an anchor (#) or a query (?), or the address of a page in another language than the one you're editing, stays a web address. The address of a file from your team's media library goes to that file in the same way.

Some files need an internet connection to be linked. Offline, Strife tells you when a file can't be linked yet.

### Callouts in the new interface

> [!NOTE]
> This section describes Studio's new interface, which is not yet available to everyone. If your Studio looks like the rest of this guide, the sections above apply to you.

A callout is a box around paragraphs, lists or other blocks, for things such as a tip or a warning. In fields that allow callouts, **Callout** is in the / menu, and under **Turn into** in the menu over selected text. Choose it, then a type: **Info**, **Tip**, **Warning** or **Important**, or a type your developer has added for the field. You can also type a type's name after the slash: **/warning** finds **Callout › Warning**.

To change a callout's type, click the icon in the box and pick another. **Remove callout** in the same menu takes the box away and keeps the text.

**Info**, **Tip**, **Warning** and **Important** each have their own colour in Studio; a type your developer added has none. Your website decides how callouts look, so the types can look the same there until your developer has styled them.
