<h3>Congratulations!</h3>
<h4>Your message has been successfully sent.</h4>
<h4>We will get back to you as soon as possible.</h4>
When this is rendered it ends up as
<p id="contactFormNotification"></p>
<h3>Congratulations!</h3>
<h4>Your message has been successfully sent.</h4>
<h4>We will get back to you as soon as possible.</h4>
<p></p>
Umbraco has closed the enclosing paragraph elements. Does anyone know why and how I can correct this?
I tried following the advice on this post about editing the tiny mce file but it didn't help.
Calling a Rich Text Editor field closes containing element.
Hi,
In my document type I have added a Rich Text Editor field called successMessage. In my template I have this
The content of the field is
When this is rendered it ends up as
Umbraco has closed the enclosing paragraph elements. Does anyone know why and how I can correct this?
I tried following the advice on this post about editing the tiny mce file but it didn't help.
Hi Alistair
It acts up because the html tags from the rich text editor is wrapped inside the
tag.
Try wrapping the Rich text content inside a
Since you have have whatever output from the RTE it's better to render it inside a div instead of a
tag always. So you can also remove the removeParagraphTags parameter. Then it should read
Hope this makes sense.
/Jan
Yes, Jan, That sorted it. Many thanks.
is working on a reply...