Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

rich text resizable by user or pop up

(0) ShareShare
ReportReport
Posted on by

I have several forms that hold rich text editors.  Some of these fields, users are going to want to expand them to write as a document.  I do not believe that the rich text editor can do this - please let me know if I'm wrong

 

Are there any tricks to making these rich text editors pop up?  I'm guessing a new window with a rich editor, have the user write whatever with a function that inject that data back to the original rich text editor box?

Categories:
  • PowerNovice Profile Picture
    on at
    Re: rich text resizable by user or pop up

    Hi @gstlouis ,

     

    No problem, see below. I have done it for you. 

     

    First, create a tree that looks like this; 

     

    PowerNovice_0-1696926490982.png

     

    Secondly, you now want to set a global variable to true. You want to do this on the "onSelect" attribute for "Label1". 

    PowerNovice_1-1696926667194.png

     

    What this is doing, is setting the global variable which is sat within the "visible" attribute of the PopUpContainer to true, this will show the container, and everything it contains. The code for the container will be the following; 

    PowerNovice_2-1696926752429.png

     

    Now, within the PopUpBody, you have an Close_Icon, what we want to do here is do the opposite to what we did with the label because we want to close the popUp. In order to do this, we simply update the global variable to false. We do this within the "onSelect" attribute of the close icon. Please see below. 

    PowerNovice_3-1696926869820.png

     

    Now, in order to get the richTextEditor outside of the pop up to read and display what is contained within the pop up, we need to set the "default" attribute to look at the text. In order to do this, navigate to "TargetEditor", and select attribute dropdown, and choose "default", now for this example, we will write the type the following; 

     

    PowerNovice_4-1696926998278.png

     

    I have gave you functionality here, there is no design work, thats for your freedom. If you have any questions, please let me know. 

     

    I believe this more than answers your question, please select this as a solution so others can get the same help. 

     

    Thank you. 

  • gstlouis Profile Picture
    on at
    Re: rich text resizable by user or pop up

    I'm not sure I follow you on this, sorry.  But yes a pop up I'm thinking will be my best option 

     

  • PowerNovice Profile Picture
    on at
    Re: rich text resizable by user or pop up

    You can use .HtmlText.

     

    I would make a pop up, use onSelect, or maybe onChange if its availble to dictate which RichTextEditor appears. 

     

    As for anything else, im still pretty knew, but thats what i got in 5 minutes after playing with different attributes. 

     

    RichTextEditor1 is the editor on the right, and the editor on the left is calling its text using the default attribute.

     

    PowerNovice_1-1696608036110.png

     

     

    PowerNovice_0-1696608024846.png

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,957 Most Valuable Professional

Leaderboard