Contentstack End User Training (EUT)
HTML-based Rich Text Editor Field
The HTML Rich Text Editor (RTE) field enables users to input different types of content, such as text, images, videos, and so on. Adding an HTML-based RTE field in a content type displays a text area with editing and formatting options on the entry page.




Understanding with an example
If you want to capture and format a description that includes text and images for the definition of a Blog Page or any Article, you can use HTML-based Rich Text Editor.
The HTML-based Rich Text Editor (RTE) stores content as strings in HTML format.
This field allows you to edit and format content entered in the field without using HTML tags (however, you can use HTML tags in the HTML mode, if needed).
Besides choosing between the Basic and Advanced editors, developers can choose the Custom editor when adding the HTML-based RTE field to content types.
The Custom editor allows you to choose from various formatting options and control what will be available in the HTML-based RTE toolbar for content managers.
Best Practices To Use
Use this to embed entries and assets within the HTML-based Rich Text Editor, which are automatically updated within the Rich Text Editor field whenever the source entry or asset is updated. You can do this by checking the ‘Embed Objects’ in the ‘Advanced’ section of the HTML-based Rich Textor Editor.
Embed entry inline - To pass in some value from a linked entry that might be dynamic, such as a working title or a link that opens a modal popup.
Embed entry as a block - To add descriptive image carousels, survey forms, or product listings.
Embed entry as a hyperlink - To add a hyperlink in the RTE that changes dynamically whenever any updates are made.
Displayable embedded images - Such assets are dynamically updated in the front end whenever you change the source item in the asset manager.
Downloadable Images or Files - Such items are usually PDFs or other reference file formats with a handy download link.
At any given time, you can combine a total of 100 entries and assets to be embedded inside a single RTE field.
A maximum default count of 10 content types can be selected for a Single RTE as a reference including embedded assets.
Any references within the embedded entry will not be resolved.