Using the text editor

Sitecore Content Hub includes a text editor with media insertion and collaborative editing functionality, so that you can write text and insert media into your content items.

The following table describes the items available on the editing toolbar.

Note

The first three items (Undo, Redo, and Comment) are available for all text fields. The remaining buttons are only available for rich text fields. A word counter appears beneath the field you are editing if validation rules have been defined on the content type.

Toolbar button

Name

Description

undo

Undo

Undo the last action.

redo

Redo

Redo the last undone action.

comment

Comment

Add a comment to selected text.

text style list

Text style

Change the style of the selected text to either a paragraph or one of several heading levels.

insert asset

Insert asset

Insert a specific asset, either by selecting it from a list or creating a public link. If you insert a public link to a file with an unsupported image file type (such as ai), Content Hub displays the public link instead of rendering the image. To ensure the image renders, use either the Medium rendition or the Preview rendition of the asset.

insert media

Insert media

Insert the URL of a media item (such as YouTube, Vimeo, Twitter, and Spotify). This feature is not available unless it has been enabled for your Content Hub instance.

font size

Font Size

Choose the font size.

font family

Font Family

Choose the font.

bold

Bold

Turn bold formatting on or off. Add or remove bold formatting from the selected text.

italic

Italic

Turn italic formatting on or off. Add or remove italic formatting from the selected text.

underline

Underline

Turn underlining on or off. Add or remove underlining from the selected text.

remove format

Remove format

Remove all formatting from the selected text.

highlight

Highlight

Add a highlight to the selected text. You can click the arrow next to this button to open a menu that lets you change the highlight color or remove existing highlighting.

text alignment

Text alignment

Change the horizontal alignment of the current text element.

decrease indent

Decrease indent

Decrease the horizontal indentation of the current text element by one.

increase indent

Increase indent

Increase the horizontal indentation of the current text element by one.

numbered list

Numbered List

Convert the current text element into a numbered list or convert an existing numbered list item to a regular paragraph.

bulleted list

Bulleted List

Convert the current text element into a bulleted list or convert an existing bulleted list item to a regular paragraph.

link

Link

Select the text you want to hyperlink and enter the URL.

block quote

Block quote

Insert a block quote.

strikethrough

Strikethrough

Turn text strikethrough on or off. Add or remove strikethrough from the selected text.

code

Code

Turn code formatting on or off. Add or remove code formatting from the selected text.

subscript

Subscript

Turn subscript formatting on or off. Add or remove subscript formatting from the selected text.

superscript

Superscript

Turn superscript formatting on or off. Add or remove superscript formatting from the selected text.

insert table

Insert table

Insert a table. Left-click and drag internal or external borders to adjust the table's dimensions.

insert code block

Insert code block

Insert a text block that has special formatting for displaying code samples. Use the block's arrow selector to change the code language as needed.

Note

To add the option for embedding media to the rich text editor toolbar, set the MediaEmbed setting for ContentGroups to true .

Do you have some feedback for us?

If you have suggestions for improving this article,