Skip to main content

Notifications

Community site session details

Community site session details

Session Id : zQFkwAoPsJcf6OwrEWhu8F
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
    53 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

🌸 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,518 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,692 Most Valuable Professional

Leaderboard
Loading complete