cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ftorres90
Frequent Visitor

Rich text editor into a gallery

Hi guys,

 

I'm trying to add an Rich Text Editor control into a gallery, which allows the user enter text for different items. 

It's work fine with normal text input, but when I try add the RTE control. it doesn't work, it stays out of the gallery. Is that possible add into a gallery?

1 ACCEPTED SOLUTION

Accepted Solutions
v-monli-msft
Community Support
Community Support

Hi @Ftorres90 ,

 

It is not possible to insert the rich text editor into a gallery but you can try to use it in the Form control instead. For more detailed information about how to achieve this, please refer to below thread:

https://powerusers.microsoft.com/t5/General-Discussion/Rich-Text-Editor-On-Display-and-EditForm/td-p...

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5

Hi @Ftorres90 

 

I am afraid that this is currently not doable. We cannot add rich text editor inside of a gallery control. 
 
If you think, this should be added as a functionality in future release, please raise an idea on: https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas
v-monli-msft
Community Support
Community Support

Hi @Ftorres90 ,

 

It is not possible to insert the rich text editor into a gallery but you can try to use it in the Form control instead. For more detailed information about how to achieve this, please refer to below thread:

https://powerusers.microsoft.com/t5/General-Discussion/Rich-Text-Editor-On-Display-and-EditForm/td-p...

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Why they would Rich text be the only form control not allowed into a gallery. 
Anonymous
Not applicable

I added to idea list if anyone else who searches for this and is need of it please vote
https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Rich-text-editor-in-Gallery/idi-p/880135

Anonymous
Not applicable

Hi @Ftorres90 ,

I have found a workaround for the same, we cannot add a rich text Input field inside a gallery. but there is one way around that is, we can enclose the gallery control inside 2 Container fields ( outer is a horizontal container and inner is a normal container), such that the scrolling functionality of the gallery should be taken control by the outer container(when scrolled, only the outer container should scroll accordingly, not the gallery control or inner container)
then calculate the height of the template, and assign it into a label inside the gallery and make it invisible.
Inside the gallery control, give some space( any label or something invisible, has height of 400- 500) for the Rich text field, because the rich text field is not inside the gallery but is tracking the y property of the space

Niranjan98_0-1628512581199.png

Niranjan98_1-1628513096611.png

 

Now we can create a RichText field in the inner container as given in image and specify the Y property of the RichText field to the space's Y field(the control we created inside the gallery)
so that when scrolled the RichText field also scrolls and looks like it is inside the gallery, but not. 
so we can utilise the richtext field.
Happy if accepted as solution.
Thanks

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,208)