Skip to main content

Notifications

Community site session details

Community site session details

Session Id : B8NmhzIVJIinpnLmJvkypD
Power Apps - Building Power Apps
Unanswered

Rich Text Editor size issue of Model-Driven form in new look

Like (1) ShareShare
ReportReport
Posted on 4 Jun 2024 05:48:34 by 202

Hi Community,
In a Model-Driven App, I use the Rich Text editor in one of my forms from a custom table to let the user edit a multi-line text field of the table. 

The component height is set to 17 lines / use all available space:

carl1to_2-1717480015647.png

 

When you switch to the "New Look", the component height shown is only like 8 lines. Is this a bug or do I miss some configuration settings?

 

Old Design:

carl1to_0-1717479933676.png

New Design:

carl1to_1-1717479968078.png

 

  • lynfin Profile Picture
    8 on 03 Dec 2024 at 18:22:31
    Rich Text Editor size issue of Model-Driven form in new look
    I ran into this same problem.  The discussion here led me to a solution, sharing details here for anyone else that may stumble on this thread.

    Microsoft documents the rich text editor control, and 'customizing' it here: Add the rich text editor control to a model-driven app - Power Apps | Microsoft Learn

    The customization that is relevant to this issue is Allow the editor to use the full screen.  Following this configuration fixed my RTE fields, in that they now display full content without scrollbar.  I tried following the instructions for a global fix but had no luck.  Applying the fix to each Rich Text Editor component did fix the issue for me. 

    These are the steps I took:
    1. Create a file called 'rteaccountformnotes.js' with the following content:
    {
        "defaultSupportedProps": {  
            "toolbarLocation": "top"
        },
        "showAsTabControl": true,
        "showFullScreenExpander": true
    }
    2. Create a new Web Resource in my solution and upload the file.  Note that the file contains JSON-formatted data, but must be saved/uploaded as a Javascript file

    For each field that uses the Rich Text Editor, update the Rich Text Editor Control to use custom configuration, using a relative path to your web resource:

    Static value:  /WebResources/cra55_rteaccountformnotes
  • BS-12092303-0 Profile Picture
    2 on 12 Sep 2024 at 23:04:39
    Rich Text Editor size issue of Model-Driven form in new look
    I am wracking my brain over the same issue. I need my main text entry fields in record form to be much taller.
  • Redbird Profile Picture
    57 on 30 Jul 2024 at 18:05:32
    Rich Text Editor size issue of Model-Driven form in new look
    The Modern editor default settings don't come with autogrow enabled like the "classic" editor does.
     
     
    But no success as yet.
     
    BTW, if you go down this route, I found you can't upload a file with a .json extension.  I changed my filename to RTEGlobalConfiguration.js, and uploaded it to the RTEGlobalConfiguration.json WebResource.

     

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 298 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 169

#3
stampcoin Profile Picture

stampcoin 130

Overall leaderboard
Loading started