Under Options, checkmark the Embed Object(s) option.In the Properties window of the RTE field, go to the Advanced section, and select the Advanced radio button under Editor Type.In the Content Type Builder page, add the Rich Text Editor (RTE) field to the content type.To enable the option to embed entries and assets inside the HTML-based Rich Text Editor field, log in to your Contentstack account and perform the following steps: Enable the Embed Items Option within the HTML-based RTE The Basic type of Rich Text Editor does not have this option. Note: The option to embed entries and assets within rich text content is available only for Advanced and Custom Rich Text Editor fields. Downloadable Images or Files: Such items are usually usually PDFs or other reference file formats that come with a handy download link.Displayable embedded images: Such assets are dynamically updated in the frontend whenever you make any changes to the source item in the asset manager.Here are some real-world scenarios where we use embedded assets: In the case of assets, they can be embedded in the HTML-based Rich Text Editor in two ways, either as a displayable component or as a downloadable file. Embed entry as hyperlink: To add a hyperlink in the RTE that changes dynamically whenever any updates are made.Embed entry as block: To add descriptive image carousels, survey forms, or product listings.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.Here are some real-world scenarios where we use embedded entries: The HTML-based RTE field lets you embed entries inline within the flow of text, as a separate content block, or as a dynamic hyperlink. Embedded entries and assets are automatically updated within the Rich Text Editor field whenever the source entry or asset is updated. Embed Entries or Assets within HTML-based Rich Text EditorĬontentstack allows you to embed entries and assets within the HTML-based Rich Text Editor field. Now, when the content managers edit or create an entry of this content type, they will see the HTML-based RTE with the formatting/inserting options that you selected in the above step.Īdditional Resource: You can read more about Field Visibility Rules in our documentation where we have covered it extensively. After adding and configuring the fields, click on either Save or Save and Close button to save your content type. To select all the formatting options, check the Select All box.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |