We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
May 10, 2022 7:09 AM - edited May 10, 2022 7:11 AM
we would like to Force Content Creators to use particular fonts we want them to use. we want to have our own confined typography.
Configuring the Rich Text Editor (hubspot.com)
I also have stumbled upon this documentation, which explains how to disable certain features. Bt it's not useful in our case since we do not want to remove features.
Solved! Go to Solution.
May 11, 2022 9:01 AM
Hi @RShaik3,
Without modifing the rich-text(only possible with an custom rich-text module) you can't force users to not to use the font-selector in a rich-text (besides educating them why not to use it).
technical background: even if you set the fonts in your CSS with the sledgehammer method to "!important" (not recommended) all settings in a rich-text are implemented as inline-styling(worst possible way to style things). Since inline-styling will be rendered after the CSS it will always override it.
So you have two options in my opinion:
Sometimes giving users less options is a better solution.
Hope this helps
best,
Anton
May 11, 2022 9:01 AM
Hi @RShaik3,
Without modifing the rich-text(only possible with an custom rich-text module) you can't force users to not to use the font-selector in a rich-text (besides educating them why not to use it).
technical background: even if you set the fonts in your CSS with the sledgehammer method to "!important" (not recommended) all settings in a rich-text are implemented as inline-styling(worst possible way to style things). Since inline-styling will be rendered after the CSS it will always override it.
So you have two options in my opinion:
Sometimes giving users less options is a better solution.
Hope this helps
best,
Anton
May 10, 2022 12:36 PM
Hey, @RShaik3 Thank you for the interesting question. @Anton and @Stephanie-OG do you have any experience with what @RShaik3 is trying to accomplish?
Thank you very much! – Jaycee