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 / In power apps gallery...
Power Apps
Suggested Answer

In power apps gallery - how to add rich text control inside the gallery

(0) ShareShare
ReportReport
Posted on by
In  power apps gallery - how to add rich text control inside the gallery. I couldn't bale to add inside the Gallery. Please help it out. Thank you
Categories:
I have the same question (0)
  • Suggested answer
    MParikh Profile Picture
    480 Super User 2026 Season 1 on at
    As far as I know In Power Apps, you cannot drop a Rich Text Editor control directly inside a Gallery because it is a complex input control and galleries only support simple controls that can repeat across rows.
    What you can do depends on what you need:
    1. Display formatted text in a Gallery
    • Add a Label inside the gallery.
    • Set the label’s property HtmlText instead of Text.
    • Example:
       
      ThisItem.RichTextColumn
    • This will render your stored HTML (from Dataverse, SharePoint, SQL, etc.) as formatted text.
    • The label behaves like a read-only rich text viewer.
    2. Edit rich text per gallery row
    Direct editing with a Rich Text Editor control is not supported inside the repeating gallery template. Options:
    • Place the Rich Text Editor outside the gallery.
    • On gallery row select, set a variable:
       
      Set(varSelectedRow, ThisItem)
    • Bind the Rich Text Editor’s Default property to:
       
      varSelectedRow.RichTextColumn
       
       
    • When the user edits, patch the value back:
       
      Patch(YourDataSource,varSelectedRow,{ RichTextColumn: RichTextEditor1.HtmlText })
    3. Workaround if you need inline edit
    • Instead of a gallery, use a Data Table or Form where Rich Text Editor can be placed.
    • Or create a custom gallery experience: display items in a gallery, and when a row is expanded or selected, show a Rich Text Editor for that row below.

    •  

     
  • Suggested answer
    Youssef_Arouay Profile Picture
    194 on at

    If your intent is to display rich text (not edit it), insert an HTML Text control inside the gallery. Set its HTMLText property to ThisItem.Comments (or whatever rich text field you’re using). This allows each gallery item to render formatted content such as bold text, colors, and links correctly.
    ==> This option is best if you only need to display formatted text for each record without allowing users to edit it.

     

    If you need to edit rich text, place a Rich Text Editor control outside the gallery. Set its Default property to Gallery1.Selected.Comments, so it shows the selected item’s text. Then use a Patch() formula (for example, on a Save button) to update the record:

    Patch(
       TimeEntries,
       Gallery1.Selected,
       { Comments: RichTextEditor1.HtmlText }
    )

    ===> This approach is best when you want to edit the rich text of one selected record at a time.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard