I create a document type with a RichText field. Into the richtext there are some images. How to render the images plus html in the remote NextJs application?
"markup": "<p style=\"font-weight: 400;\"><strong><em>Rimborso spese sanitarie</em></strong></p>\n<p style=\"font-weight: 400;\"><em>Per il rimborso delle spese sanitarie è sufficiente registrarsi al portale dei sinistri al seguente indirizzo <a rel=\"noopener\" href=\"http://www.blueassistance.it/\" target=\"_blank\">www.blueassistance.it</a> cliccando sul pulsante Registrati per l'Area Riservata.</em></p>\n<p style=\"font-weight: 400;\"><em>La <strong>Username</strong> è l'indirizzo email comunicato dall'Azienda </em></p>\n<p style=\"font-weight: 400;\"><em>E' disponibile tra i Documenti la:</em></p>\n<ul style=\"font-weight: 400;\">\n<li><em>Guida alla Registrazione e la </em></li>\n<li><em>Guida per l'Apertura di una pratica di rimborso</em></li>\n</ul>\n<p style=\"font-weight: 400;\"><em>È sempre possibile contattare direttamente la <strong>Centrale Salute</strong>:</em></p>\n<ul style=\"font-weight: 400;\">\n<li><em>dall’ITALIA Numero Verde 800 042 042</em></li>\n<li><em>dall’ESTERO +39 011 742 57 33</em></li>\n</ul>\n<p> </p>\n<p><em>Se sei <strong>già Registrato</strong> al sito blueassistance.it clicca <a href=\"https://realegroup.ice.ibmcloud.com/authsvc/mtfim/sps/authsvc?PolicyId=urn:ibm:security:authentication:asf:basicldapuser&identity_source_id=5fc3fdfa-a868-4108-97c0-42a325adae31&Target=https%3A%2F%2Frealegroup.ice.ibmcloud.com%2Fsaml%2Fsps%2Fappauth%3FidSources%3D5fc3fdfa-a868-4108-97c0-42a325adae31\" title=\"blueassistance\" data-anchor=\"?PolicyId=urn:ibm:security:authentication:asf:basicldapuser&identity_source_id=5fc3fdfa-a868-4108-97c0-42a325adae31&Target=https%3A%2F%2Frealegroup.ice.ibmcloud.com%2Fsaml%2Fsps%2Fappauth%3FidSources%3D5fc3fdfa-a868-4108-97c0-42a325adae31\">qui</a></em></p>",
I sanityze it into NextJS...but the URL of images or other link are relative to Umbraco server installation and not with FULL Url.
Content Delivery API and RichText with image
I create a document type with a RichText field. Into the richtext there are some images. How to render the images plus html in the remote NextJs application?
Hi Biagio,
What does the HTML string look like in your case?
I get the html from RichText like:
I sanityze it into NextJS...but the URL of images or other link are relative to Umbraco server installation and not with FULL Url.
is working on a reply...