Using the text editor

Sitecore Content Hub includes a text editor (CKEditor) 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. Also, if a character limit is enabled, a word counter appears next to the field you are editing.

Toolbar itemNameDescription
Undo. UndoUndo the last action.
Redo. RedoRedo the last undone action.
Comment. CommentAdd a comment to selected text.
Text style list. Text styleChange the style of the selected text to either a paragraph or one of several heading levels.
Insert asset. Insert assetInsert 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 mediaInsert the URL of a media item (such as YouTube, Vimeo, Twitter, and Spotify). This feature is not available unles it has been enabled for your Content Hub instance.
Font size. Font SizeChoose the font size.
Font family. Font FamilyChoose the font.
Bold. BoldTurn bold formatting on or off. Add or remove bold formatting from the selected text.
Italic. ItalicTurn italic formatting on or off. Add or remove italic formatting from the selected text.
Underline. UnderlineTurn underlining on or off. Add or remove underlining from the selected text.
Remove format. Remove formatRemove all formatting from the selected text.
Highlight. HighlightAdd 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 alignmentChange the horizontal alignment of the current text element.
Decrease indent. Decrease indentDecrease the horizontal indentation of the current text element by one.
Increase indent. Increase indentIncrease the horizontal indentation of the current text element by one.
Numbered list. Numbered ListConvert the current text element into a numbered list or convert an existing numbered list item to a regular paragraph.
Bulleted list. Bulleted ListConvert the current text element into a bulleted list or convert an existing bulleted list item to a regular paragraph.
Link. LinkSelect the text you want to hyperlink and enter the URL.
Block quote. Block quoteInsert a block quote.
Strikethrough. StrikethroughTurn text strikethrough on or off. Add or remove strikethrough from the selected text.
Code. CodeTurn code formatting on or off. Add or remove code formatting from the selected text.
Subscript. SubscriptTurn subscript formatting on or off. Add or remove subscript formatting from the selected text.
Superscript. SuperscriptTurn superscript formatting on or off. Add or remove superscript formatting from the selected text.
Insert table. Insert tableInsert a table. Left-click and drag internal or external borders to adjust the table's dimensions.
Insert code block. Insert code blockInsert 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,