web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested answer

Unable to set default font on the Rich Text Editor control in Dynamics 365 Online

(0) ShareShare
ReportReport
Posted on by 190

Hello,

I am trying to add a new font to the RTE control in Dynamics 365 form and make that new font as a default. I have followed the below URL and implemented same exact steps. I notice that the font I newly added to the list is displaying however it is not being set as a default.

https://docs.microsoft.com/en-us/power-apps/maker/model-driven-apps/rich-text-editor-control

Section Referred: 

Add a new font list and set Brush Script MT as the default font with a default size of 20 px

The user needs to manually select that new font and then enter data, otherwise it is defaulting to a different font. Below is the custom config file I created as a Web Resource. I am not sure what is that i am missing and if there is any other property I need to set. 

Hope someone can help me find the issue here. I am not sure if I need to add any other source file related to this 'Avenir Next LT Pro'.

RTE Custome config code snippet below: 

{
"defaultSupportedProps": {
"enterMode": 2,
"font_names": "Avenir Next LT Pro/'Avenir Next LT Pro Regular',sans-serif;",
"font_defaultLabel": "Avenir Next LT Pro Regular",
"fontSize_sizes": "16/16px",
"fontSize_defaultLabel": "16",
"stickyStyle": {
"font-size": "16px",
"font-family": "Avenir Next LT Pro/'Avenir Next LT Pro Regular',sans-serif"
}
}
"showHtml": false,
}

Default-Font-update-in-D365-RTE-control.png

I have the same question (0)
  • CU30051108-0 Profile Picture
    2 on at
    Unable to set default font on the Rich Text Editor control in Dynamics 365 Online
    How can I add a custom font?
    I don't understand how the font from the example can work, except if the font is already known somewhere (local?)
  • Suggested answer
    Brekh Profile Picture
    190 on at
    RE: Unable to set default font on the Rich Text Editor control in Dynamics 365 Online

    I got this resolved by updating the RTEGlobalConfiguration.json file and added the new font in that file and removed the custom json file attached to the RTE control on the entity form. For now this change is working across the platform and working for anywhere we have the RTE controls.

  • Brekh Profile Picture
    190 on at
    RE: Unable to set default font on the Rich Text Editor control in Dynamics 365 Online

    Thanks Vardhan for your response. I was trying to apply this change on only one of the entities and a specific form. It was loading the font but it was changing  only after we explicity select it from drop down options. By default it was setting it to global default font.

    However, I got this resolved now by updating the RTEGlobalConfiguration.json file and added the new font in that file and removed the custom json form from the entity form. For now this change is working across the platform and working for anywhere we have the RTE controls.

  • Suggested answer
    CRMJetty Profile Picture
    3,512 on at
    RE: Unable to set default font on the Rich Text Editor control in Dynamics 365 Online

    Hello,

    Pls refer this article and follow the steps,

    https://support.microsoft.com/en-us/office/enable-or-disable-full-rich-text-formatting-in-a-rich-text-box-d3c71c1d-8c88-41e9-9ee5-2ca6a3d0ea67

    I hope it helps,

    Thanks.

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365.

  • Suggested answer
    Vardhan Profile Picture
    65 User Group Leader on at
    RE: Unable to set default font on the Rich Text Editor control in Dynamics 365 Online

    Hi Bhagya, 

    you have followed correct steps !!

    Are you applying this change on email entity ? Also, Can you confirm that the form you applied changes and the form you are testing both are same. 

    BR,

    Vardhan.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 76

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 30 Super User 2025 Season 2

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 15 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans