Re: Editing HTML with Rich Text Editor in PowerApps for Teams
@Future_Vision ,
Actually the control types selections in the Form are used for editing Apps, users will not be able to switch the control types between RTE and HTML text box when using the App.
As for you requirement, please follow below steps:
1\ Unlock the Data Card, remove the default TextInput box, add a RTE into the Card.
2\ Add an extra TextInput inside the Card.
3\ Set Default of the TextInput box to:
RichTextEditor.HtmlText
4\ Set OnChange of the TextInput box to:
Set(RT, Self.Text);Set(varChanged, 1)
5\ Set Default of the RTE to:
If(varChanged <> 1, Parent.Default, RT)
6\ Update of the Data Card:
RichTextEditor.HtmlText
So, RTE default value is from data source, once texts in the input box are changed, RTE will be populated with the variable set from text input.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.