The Toolbar
When you select a block in the editor, a contextual toolbar appears above. It adapts its options based on the active block type.
Text formatting
Blocks that support inline formatting (paragraphs, quotes, lists, FAQ answers) display the following buttons:
| Button | Shortcut | Description |
|---|---|---|
| Bold | Ctrl+B / Cmd+B | Makes the selected text bold. |
| Italic | Ctrl+I / Cmd+I | Italicizes the text. |
| Underline | Ctrl+U / Cmd+U | Underlines the text. |
| Strikethrough | — | Applies a strikethrough style to the text. |
Additional options (menu “...”)
By clicking on the … (more options) button, you access:
- Superscript: text in superscript
- Subscript: text in subscript
- Inline Code: formats the text as code
- Remove formatting: removes all formatting from the selected text
Links
How to add a link
- Select the text to link.
- Click on the Link button or press
Ctrl+K/Cmd+K. - A popover opens with the following fields:
URL: the destination address.
Title: tooltip text on hover (optional).
Sponsored: check if the link is a commercial/sponsored link. - Confirm to apply the link.
Link to a Butterfly article
In the link popover, you can search for a Butterfly article:
- Enter the article title in the search field.
- Results are displayed.
- Click on an article to automatically insert its permanent URL.
Recently published articles automatically appear when the link popover is opened.
Inline quote
- Select the text to quote.
- Click on the Quote button in the toolbar.
- A popover opens to add a
citeattribute (source URL). - The text is enclosed by a
<q>tag.
Abbreviation
- Select the text corresponding to the abbreviation.
- Click on the Abbreviation button in the toolbar.
- A popover opens to enter the full title of the abbreviation.
- The text is enclosed by an
<abbr>tag with atitleattribute.
Block type selector
To the left of the toolbar, a button displays the icon and name of the current block type. Click it to transform the block into another compatible type.
Possible transformations
- Paragraph: Title, Quote, List, FAQ
- Title: Paragraph, another level of title (h2–h6)
- List: Paragraph, another type of list (bullets, numbered, reverse)
- Quote: Paragraph
During a transformation, the content is smartly converted. For example, list items are merged into a single paragraph separated by line breaks.
Specific options per block
Code block
- Language Selector: choose from over 20 languages to activate the appropriate syntax highlighting.
Media blocks (image, video, audio)
- Replace: opens the media selector to choose another file.
- Edit on Butterfly: opens the media sheet in Butterfly CMS (if the media is linked).
Table block
See the dedicated guide: Tables.
Block statistics
In the toolbar, you can see in real-time:
- The number of words in the block.
- The number of characters in the block.
- The indicator color changes based on the number of words:
Green: 40 words or more
Orange: 15 to 39 words
Red: less than 15 words
AI Button
To the right of the toolbar, an AI button (spark icon) allows for automatic correction of SEO and writing errors in the selected block. Check out the dedicated guide for more details.