Notifications
Announcements
Hi, Folks,
Any idea on copying content from an HTML control to the clipboard to paste elsewhere, formatting and all? We're using TBag's PCF component
which states that in the API, MIME-type is by default text/html to copy as html. But feeding it HTML outputs everything in plain text tags (we simply installed the component without modifying it ourselves.) We looked into Power Automate options but haven't come across anything that would send the content to the clipboard and preserve formatting. Thanks!
Hi @coredumped
As per my knowledge, no OOB functionality. I had a similar requirement but not tried the PCF control either. Please vote for this feature and here is the link to vote.
https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Copy-to-Clipboard/idi-p/32975
Please do not forget to give kudos if you find the suggestion helpful or Accept it as a solution if works fine to help other users to find it useful.
Voted for the idea and thank you for the reply! Not surprised, but definitely hope this will be supported in the near future.
Hello budy, how are you?
Did you manage to solve your problem, if so, can you help me? I wish I could copy to clipboard html
Hi, sorry, no. There's still no direct solution and the Power Apps idea quote above is in "escalated" status. Our use case was recreating an app to let users create their content in HTML in Power Apps, and then copy to clipboard via a button to paste into their Outlook (that was their app functionality at the time). Since we couldn't do it directly, we just sent the HTML output to a Power Automate flow to send it in an email to them. So you may be able to work around it similarly, depending on where the output is supposed to land, by using a flow connector that takes in HTML and delivers it to the landing app/service. Good luck!
Copy(PlainText(HtmlText1.HtmlText))
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268