Edit Rich Text

Learn how to write and edit content in Prismic's rich text editor.

Depending on how your rich text fields are configured, you might see many different editing options. Here we’ll describe a few key features that you might encounter.

Formatting

Text editors in Prismic won’t necessarily have any formatting options enabled. When they do, they can have formats like headings, italics, bold, lists, and more.

There are two main types of formatting in Prismic:

  • Block formatting applies to an entire paragraph, like a heading style or a list item. Type ’/’ in your rich text field to see the list of available commands.
  • Text formatting — like bold or italic — only applies to the selected text. Select the text you want to format, and a toolbar with different options will appear.

Add media

Along with formatting, it’s possible to add images and embeds directly to a rich text field. To do so, type ’/’ in your rich field. You will see a list of options appear. Select image or embed.

If links are enabled in your editor, you can add one by selecting text you want linked, and clicking the link icon on the toolbar. The default option is a link to the web. If you want more linking options, click on the arrow next to the link icon and select a different link type.

A link to the web lets you enter a URL to another webpage, email address, or phone number. To link to an email address, remove https:// from the link field and input mailto: followed by the email address. For example, mailto:exampleuser@example.com. To link to a phone number, remove https:// from the link field and input tel: followed by the full phone number including the country code. For example, tel:+15054849046.

A link to a document lets you create a link to another document in Prismic.

A link to a media item lets you link to an item in your Media Library.

Keyboard shortcuts

Here’s a list of available key bindings:

escClose a panel
cmd + sSave changes in the editor
cmd + bApply bold
cmd + i Apply italics