---
title: "Text, links and buttons"
description: "Write and format text in the litetile editor, highlight words in a title, link to a page, a section, a phone number, an email address or a web address."
url: "https://www.litetile.io/docs/editor/text-and-links"
lang: "en"
---

At the end of this guide you can write and format the text of your blocks (the sections of a page), add links and set up buttons.

## Type your text

You can type in two places:

- **On the canvas**: click a title, a paragraph or a label and type. The text changes in place.
- **In the settings panel**: select the block and use its fields on the right.

Both edit the same text, and both save by themselves. A field with a length limit says so when you go over it: "Keep this text to" a number of characters.

## Format body text

Body text fields, such as the text of a **Text** block, are rich text. Select some words to see the toolbar.

1. Select the words.
2. Choose bold, italic or code, or turn the paragraph into a bulleted or numbered list.

![The editor: text selected in a Text block, toolbar visible.](https://media.litetile.app/media/6eee3550-99b4-4494-8fc5-d588d1e67e1e/4631541c-4e79-4a19-802d-5ec4a84c7814.png)

Headings, colours, alignment and font sizes are not set in the text. They come from the block's design and your Brand screen, so every page stays consistent.

Pasted text keeps its paragraphs, lists, bold, italic and links; other formatting from the source is dropped.

## Highlight words in a title

Block titles have one formatting option: **Highlight selection**. It marks the selected words as the title's accent, styled by the block's design.

1. Select a word or two in the title.
2. Choose **Highlight selection**.

Press Enter in a title to start a new line.

## Add a link in text

1. Select the words to link.
2. Choose **Link**.
3. In **Link the selected text**, type the **Link address**.
4. Choose **Apply**.

To take a link off, select it, choose **Link** and choose **Remove the link**.

A link address starts with https://, mailto: or tel:, or is an address on your own site such as /contact. Anything else shows "Links use https, mailto, tel or a site-relative path."

## Link fields

Buttons, cards and menu items use a link field with a **Link to** choice.

Link fields

- Link to
- You fill in
- Example

- A page Page, and optionally Section (optional) to land on one block of it Services, at the Prices block
- A section of the page Section: a block on the page you are editing The contact block further down
- A phone number Phone number, in digits with an optional leading + \+33 1 23 45 67 89
- An email address Email address hello@rueverte.example
- A web address Web address https://www.example.com

Some link fields also offer **No link**. Tick **Open in a new tab** to open the link in a new browser tab.

![The editor: link field open with the kinds listed.](https://media.litetile.app/media/6eee3550-99b4-4494-8fc5-d588d1e67e1e/c17d24c1-bac9-4902-9689-a98cc2bdee62.png)

The section list shows the top-level blocks of the page, by the name you gave them or by their block name. Hidden blocks are not listed. If you remove a block a link points to, the field says "This section is no longer on the page. Choose another one."

Tip

Link to a page rather than typing its address. If you later change the page's slug, the link follows.

## Buttons

Blocks that have buttons list them under **Buttons**. Each button has:

Buttons

- Field
- What it does

- Label The words on the button, up to 32 characters
- Link Where it goes, with the same Link to choices as above
- Style Primary, Secondary, Dark, White, Outline, Light outline or Ghost, drawn in your brand colours
- Icon An optional icon
- Icon position After the label or Before the label

To add a button, choose **Add Button**. To reorder or remove one, open its actions and choose **Move up**, **Move down** or **Remove**.

![The Buttons fields of a block in the editor settings panel.](https://media.litetile.app/media/6eee3550-99b4-4494-8fc5-d588d1e67e1e/616d5126-c645-4193-aafc-a1b581a7f6e1.png)

Tip

Give each block one **Primary** button for the one thing you want visitors to do, and make any second button **Secondary** or **Outline**.

The shape of every button (pill, rounded or square) is set once for the whole site on the Brand screen. See [Corners, buttons and spacing](https://www.litetile.io/docs/brand/style).

## Let AI write

AI can rewrite a block's copy or fill a single field from a short instruction. See [Rewrite and fill with AI](https://www.litetile.io/docs/ai/rewrite).
