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. Under the Editor Type, select Custom, and choose the formatting options you want to include in the RTE field.In the Edit Properties section of the RTE field, under Editor Version, select Latest.In the Content Type Builder page, add the Rich Text Editor (RTE) field to it.To customize the HTML-based RTE field, log in to your Contentstack account, and perform the following steps: Note: Only the stack owner, admins, and users assigned “ Developer” roles have the right to customize the RTE field. The Custom editor allows you to choose from the various formatting options, and control what will be available in the HTML-based RTE toolbar for content managers. Customized HTML-based Rich Text EditorĪpart from choosing between the Basic and Advanced editors, developers can also choose the Custom editor, while adding the HTML-based RTE field to content types. Read more about our JSON Rich Text Editor and migration guide. You can also migrate content from your HTML-based RTE to the new JSON RTE using our CLI. Note: We now have a JSON Rich Text Editor that stores content in structured JSON blocks and returns clean data in the response body. 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). When you add a HTML-based RTE field in a content type, it displays a text area with editing and formatting options in the entry page. The HTML-based Rich Text Editor ( RTE) field enables users to input different types of content such as text, image, videos, and so on.
0 Comments
Leave a Reply. |