Edit Rich Text

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


Rich text field in the document editor

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

Configure rich text

All options (for formatting, content, and media) can be enabled, disabled, and customized in your content model's rich text field configuration.

Formatting

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

There are two main types of formatting in Prismic:

  • Block formatting applies to an entire paragraph, like a heading style or a list item.
  • Text formatting — like bold or italic — only applies to the selected text.

Add media

Along with formatting, it's possible to add images and embeds directly to a rich text field. To do so, click on the image or embed icon.

Add links

If links are enabled in your editor, you can add one by clicking the editor bar's link icon. A menu will open offering three options:

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:

n

Create a new document from the document list

esc

Close a panel

cmd + s

Save changes in the editor

cmd + k

Insert a link

cmd + b

Apply bold

cmd + i 

Apply italics


Can't find what you're looking for?

Need technical Support? Spot an error in the documentation? Get in touch with us on our Community Forum.