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 / Reset the rich text ed...
Power Apps
Unanswered

Reset the rich text editor (experimental)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi everybody!

 

It's great that the rich text editor is now available in PowerApps (even if its still experimental)! But is there any possibility to reset the editor? I want to reset the editor when another screen shows up. For other controls it's no problem by having "Reset(Name of the control)" in the OnVisible function of the screen. But unfortunatelly, with the rich text editor the reset function does not work.

 

Are there any workarounds or is it planned to enable the reset function for the rich text editor?

 

Thanks for your help!

 

Best regards

Mark

Categories:
  • CarlosFigueira Profile Picture
    Microsoft Employee on at

    The reset functionality for that control is planned, and should be implemented in an upcoming release.

     

    Currently, a possible workaround is to define the default value for the control in a variable, and update the value of that variable when you want to reset the control - any time a variable value is changed, it will trigger the data flow that will let the control know that it needs to re-evaluate that value. So if you set the Default property of the RichTextEditor to 'myDefault', you can set the following expression in the screen's OnVisible control:

    UpdateContext({ myDefault: "" });
    UpdateContext({
     myDefault:
     "<p>This is the <b>default</b> value.</p>" &
     "<p>And it has <span style="color: red;">two lines</span>.</p>" })

    The attached app shows this expression in action.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for your help, Carlos!

    Do you also know if the Padding is also coming for the rich text editor? And is there maybe also a workaround?

     

    Best regards,

    Mark

  • orkavic Profile Picture
    4 on at

    Are there any updates on this functionality?

  • CarlosFigueira Profile Picture
    Microsoft Employee on at

    This is working now - you can call Reset on a Rich Text Editor control:

    ResetRichTextEditor.gif

  • shamwoox Profile Picture
    5 on at

    This feature still doesn't seem to work. I have a button with an OnSelect property of Reset(RichTextEditor1) and it doesn't do anything when clicked. The button is also in the same form as the rich text editor. No errors show up either.

  • sonam1996sahoo Profile Picture
    143 on at

    Remove that button from the app and again add a button. Insert the below code on the OnSelect property to reset. I hope it will help you.

     

    Reset(<Your Rich text editor control name>)

     

     

     

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard