# UFM for rich text editor

**URL:** <https://forum.umbraco.com/t/ufm-for-rich-text-editor/6750>\
**Category:** Questions\
**Tags:** v16\
**Created:** [November 25, 2025, 8:49am UTC](https://forum.umbraco.com/t/ufm-for-rich-text-editor/6750 "2025-11-25T08:49:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![skttl](https://forum.umbraco.com/user_avatar/forum.umbraco.com/skttl/32/260_2.png) [@skttl](https://forum.umbraco.com/u/skttl)\
**Post date:** [November 25, 2025, 8:49am UTC](https://forum.umbraco.com/t/ufm-for-rich-text-editor/6750/1 "2025-11-25T08:49:21Z")

</div>

What is the correct way to use a rich text editor in a label template?

I’ve tried the normal way like `{=myRteProperty}` but that just returns `[object Object]`

I also tried with an expression like `${myRte.markup}`. That returned the html also, eg. `<p>Hello</p>`. I then changed to `${myRte.markup | strip-html}`, but then it returned nothing.

---

<div class="post-metadata">

**Author:** ![jacob](https://forum.umbraco.com/user_avatar/forum.umbraco.com/jacob/32/145_2.png) [@jacob](https://forum.umbraco.com/u/jacob)\
**Post date:** [November 25, 2025, 11:54am UTC](https://forum.umbraco.com/t/ufm-for-rich-text-editor/6750/2 "2025-11-25T11:54:02Z")

</div>

Your last example is getting close!

UFM:

```auto
{=myRte | stripHtml}

```

Without the .markup, because that is handled by stripHtml.

Also works with UFMJS:

```auto
${myRte | stripHtml}

```

Also note how I’m using “stripHtml” over “strip-html”, because the Heximal Expressions library underneath does not like those dashes.

---

<div class="post-metadata">

**Author:** ![skttl](https://forum.umbraco.com/user_avatar/forum.umbraco.com/skttl/32/260_2.png) [@skttl](https://forum.umbraco.com/u/skttl)\
**Post date:** [November 25, 2025, 12:55pm UTC](https://forum.umbraco.com/t/ufm-for-rich-text-editor/6750/3 "2025-11-25T12:55:57Z")

</div>

Cool, thanks!

Should we update the documentation at [Umbraco Flavored Markdown | Umbraco CMS](https://docs.umbraco.com/umbraco-cms/reference/umbraco-flavored-markdown#filters) then?

---

<div class="post-metadata">

**Author:** ![jacob](https://forum.umbraco.com/user_avatar/forum.umbraco.com/jacob/32/145_2.png) [@jacob](https://forum.umbraco.com/u/jacob)\
**Post date:** [November 25, 2025, 1:16pm UTC](https://forum.umbraco.com/t/ufm-for-rich-text-editor/6750/4 "2025-11-25T13:16:33Z")

</div>

I keep forgetting that the camel-case filters are part of 16.4 which is not out yet. It releases tomorrow, then we can update the documentation. Before then you have to use the dashes (strip-html) which only works with UFM, not UFMJS.

---

<div class="post-metadata">

**Author:** ![skttl](https://forum.umbraco.com/user_avatar/forum.umbraco.com/skttl/32/260_2.png) [@skttl](https://forum.umbraco.com/u/skttl)\
**Post date:** [November 25, 2025, 1:28pm UTC](https://forum.umbraco.com/t/ufm-for-rich-text-editor/6750/5 "2025-11-25T13:28:12Z")

</div>

No worries, I’m using 16.4-rc already 🙂

---

<div class="post-metadata">

**Author:** ![system](https://forum.umbraco.com/uploads/default/original/1X/624adeddd330a3d0268a184db47946ca7e82c676.png) [@system](https://forum.umbraco.com/u/system)\
**Post date:** [December 25, 2025, 1:29pm UTC](https://forum.umbraco.com/t/ufm-for-rich-text-editor/6750/6 "2025-12-25T13:29:09Z")

</div>

Closed on December 25, 2025, 1:29pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
