---
title: "Edit a block's text on the canvas"
description: "Double-click a text or button block to activate the rich-text editor right on the canvas and edit its content in place."
url: https://docs.vivlab.com/en/editor/interaction/block-text
---

# Text editing

To edit the content of a [Text](https://docs.vivlab.com/en/editor/menu/text.md) or [Button](https://docs.vivlab.com/en/editor/menu/button.md) block, **double-click** on it on the canvas (a single click on an already-selected block works too). The text editor with formatting options activates directly in place of the block. For an [Animated text](https://docs.vivlab.com/en/editor/menu/text-animated.md), editing starts from the text list in its side panel.

<DocsScreenshot name="editor-text-toolbar" alt="The formatting toolbar for the selected text." :width="702" :height="60" />

## Rich-text editor

Once in edit mode, you can:

- Type text **directly where it will appear**, with all the fonts and colors of the block.
- Format the selection with the **toolbar** shown at the top of the canvas. It offers bold, italic, underline, strikethrough, color, font, links, lists, headings, alignment and the AI proofreader.
- Paste content from another site or document: Vivlab automatically cleans up unwanted formatting.

## Capabilities by type

The available actions depend on the block type:

- On a **Text**, you have access to all options (bold, italic, lists, headings, links, fonts, alignment…).
- On a **Button**, only minimal enhancements are active (the button is meant to contain a short tagline, not a full paragraph).
- On an **Animated text**, the content is edited directly, but without headings or lists (animations expect plain text).

## Initial cursor

If you double-click on a specific word, the cursor starts at that location. If you activate editing another way (for example by adding a new text to an [animated text](https://docs.vivlab.com/en/editor/menu/text-animated.md)), the entire content is selected by default, ready to be replaced by typing.

## Exit edit mode

Click outside the block or select another element to exit the editor. The content is saved automatically.

## Auto-correction

The **AI Stars** icon in the floating bar offers spelling and style proofreading of your text. Click to analyze, then accept or reject the suggestions.
