Editing

Edit text on the canvas

You type into headings, paragraphs and lists right on the page, the way your readers will see them. On Windows, use Ctrl wherever this article says ⌘.

Type into a block

  1. Open your project in Fantasma.
  2. On the canvas, click the text once. The section around it is selected and gets a blue outline.
  3. Click the text again. The cursor appears where you clicked, and the toolbar over the block shows the text buttons.
  4. Type. The change shows at once, and Fantasma saves it in your project. Your Ghost site changes when you publish the theme.
  5. To stop editing, press Esc or click outside the text.

You can type into headings, paragraphs, list items, the text of a Collapse block, image captions and the labels of form fields. Other text, such as a button's Label, is in the right sidebar under General.

Start a new line or a new block

Key What it does
Enter Splits the block at the cursor. In a paragraph or a heading, the text after the cursor becomes a new paragraph. In a list, it becomes a new item.
Enter in an empty list item Ends the list and starts a paragraph under it.
Shift Enter Starts a new line inside the same block.
⌫ (Backspace) at the start of a paragraph or list item Joins it to the paragraph or item right above it. In an empty block, deletes the block.

⌘ Z undoes your typing and these changes too.

Format text

  1. While you edit, select the words you want to format.
  2. In the toolbar, click Bold or Italic.
  3. For other styles, click the arrow next to the link button, More formatting, and select Underline, Strikethrough, Uppercase, Inline code or Highlight.

To remove a style, select the same words and click or select the style again.

A paragraph being edited, with the word passionate selected and the bold, italic, link, more formatting and insert data buttons in the toolbar above it

Uppercase shows the words in capitals but keeps them as you typed them.

Style

Shortcut

Bold

⌘ B

Italic

⌘ I

Underline

⌘ U

Strikethrough

⇧ ⌘ S

Inline code

⌘ E

Highlight

⇧ ⌘ H

The size and color of the whole block are settings in the right sidebar under Typography and Colors, not in the text toolbar.

  1. Select the words you want to link.
  2. In the toolbar, click the chain icon, Link. A field opens.
  3. Enter the address, such as /contact, #faq or https://example.com. A path that starts with / opens a page of your own site. One that starts with # jumps to the block whose HTML anchor, under Advanced, has that name.
  4. Click Add link.

A link to another site opens in a new tab, and a link to your own site opens in the same tab. To change or remove a link, click in the linked words, click Link, then change the address and click Update link, or click Remove.

Insert data from Ghost

The Insert data button, with two curly brackets, adds a value that Ghost fills in on your site, such as the site title or the current year.

  1. Put the cursor where the value goes.
  2. In the toolbar, click Insert data. A list opens with a search field.
  3. Select the value. It shows in the text as it will look on your site.

The list offers Site title, Site description, Site URL, Current year and Current date. Templates other than Error also offer Current page URL. Error templates offer Status code and Error message instead. Post, tag and author values are not in the list. To show one, add a data block such as Title, Excerpt or Author. To mix a value into your own sentence, type its name in curly brackets. Show the post title and other page data explains both. Page data variables lists every value.

Was this article helpful?