web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Editing Rich Text in Form
Power Apps
Answered

Editing Rich Text in Form

(1) ShareShare
ReportReport
Posted on by 70
Hello! I currently have an app that utilizes a rich text editor to create narratives for events. My original "Event Creation" page just uses a Rich Text field and adds it to the dataverse entry through a power automate flow. However, later on, I allow the user to edit the event using the Form item. When they do this, the narrative appears with all of the HTML tags inside a regular text box instead of in a Rich Text editor. Is there any way to make it so that the card in the form is a Rich Text editor instead of just a text editor? Or do I have to create a separate editor and tie it to the submit button somehow. Any help is appreciated, thanks!
Categories:
I have the same question (0)
  • Verified answer
    TechFreak Profile Picture
    149 on at

    Hi,

    Yeah, this is a pretty common situation when working with rich text in Microsoft Dataverse through Power Apps.

    What’s happening is your data is being stored correctly as HTML (since it came from a Rich Text Editor), but when you open it in the Edit Form, the default control in the DataCard is just a normal text input. That control doesn’t render HTML, so you end up seeing all the tags like <p>, <br>, etc.

    To fix this, you don’t need a separate screen or custom submit logic. You can just replace the control inside the form:


    • Unlock the DataCard for your narrative field

    • Remove (or hide) the default Text Input

    • Insert a Rich Text Editor control inside that same DataCard
     

    Then set:


    • Default (Rich Text Editor) → Parent.Default

    • Update (DataCard) → RichTextEditor1.HtmlText
     

    That way:


    • Existing content will render properly as formatted text

    • Any edits will save back correctly to Dataverse
     

    So essentially, you’re just swapping the “viewer” from a plain text box to something that understands HTML.

    No need to build a separate editor unless you want more customization.


    Hope this helps! Feel free to mark it as accepted ✅ and drop a like ❤️ to support the community 😊

  • Vish WR Profile Picture
    3,748 on at

    you app is saving text with HTML tags like <p> and <br> but when editing, it shows those tags instead of the formatted text because the form is using a plain text box that cannot read HTML.

    Fix it by swapping that plain text box inside the form card with a Rich Text Editor control. It knows how to read and display HTML properly.  

  • Suggested answer
    Haque Profile Picture
    3,653 on at
    Hi @AB-03121629-0,
     
    To have a Rich Text Editor experience inside a form for editing narratives stored as rich text (HTML), you have two main options:

    Replace the Default Text Input Card with a Rich Text Editor Control

    • Remove or unlock the data card for the narrative field in your form.
    • Delete the default text input control inside that card.
    • Insert a Rich Text Editor control (available in Power Apps) inside the card.
    • Set the Rich Text Editor’s Default property to the narrative field’s value, e.g.: ThisItem.NarrativeField
    • On form submission, patch or update the record with the Rich Text Editor’s .HtmlText property, e.g.: RichTextEditor1.HtmlText
    • We will need to customize the card’s Update property to return the Rich Text Editor’s .HtmlText instead of the default text input’s .Text.

    Use a Separate Rich Text Editor Outside the Form

    • Keep your form for other fields.
    • Use a standalone Rich Text Editor control bound to the narrative field.
    • On save, patch or submit the narrative field separately using the Rich Text Editor’s .HtmlText.
    • This approach gives you more control but requires manual patching or flow integration.
     

    I am sure some clues I tried to give. If these clues help to resolve the issue brought you by here, please don't forget to check the box Does this answer your question? At the same time, I am pretty sure you have liked the response!
  • Suggested answer
    Kalathiya Profile Picture
    2,456 Super User 2026 Season 1 on at

    Yes, you can handle this within the form itself. Instead of removing the card, you can unlock the DataCard and add a Rich Text Editor inside it.

    Then update the properties like this:

    Default Property of the RichText box should like this:

    Parent.Default
    DataCard Update Property:
    RichTextEditor1.HtmlText
    
    
    //RichTextEditor1 - Replace with your control name

    This way, the form will display the content in rich format and save it correctly back to Dataverse.

     
    If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
    ---------------------------------------------------------------------------------

    📩 Need more help? Just mention @Kalathiya and I’ll be happy to assist.

    ✔️ If this answer helped you, please tick “Does this answer your question?” so it can be marked as the Verified Answer.

    💛 A Like always motivates me to keep contributing!

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard