Skip to main content

Notifications

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 194

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
    lynfin 6 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
    BS-12092303-0 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
    Redbird 49 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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,316

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,290

Leaderboard
Loading started
Loading complete