![]() Include custom routing logic for managing links to other Content Fragments when implementing a Single Page Application, like using React Router or Next.js.The JSON response gives developers full control of how to render the references or links instead of having to deal with opinionated HTML. ![]() The JSON response includes a separate _references object that lists these extra properties. The GraphQL API enables developers to create a query that includes additional properties about any references inserted in a multi-line field. The types of Content Fragments that can be inserted into field is controlled by the Allowed Content Fragment Models configuration in the multi-line data type in the Content Fragment Model. ![]() The above screenshot depicts another Content Fragment, Ultimate Guide to LA Skate Parks, being inserted into the multi-line field. References to other Content Fragments can also be linked or inserted in the multi-line field using the Insert Content Fragment button. The above screenshot depicts an image inserted in the multi-line field using the Insert asset button. The Mutliline field allows authors to insert images or other digital assets from AEM Assets in the flow of the rich text. The component uses the mapJsonRichText utility to render the rich text and any references.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |