RTE - Default Typography and Text Color | Community
Skip to main content
Level 4
Apr 6, 2021 5:58 PM UTC
Solved

RTE - Default Typography and Text Color

Hi Everyone,

 

By default RTE Default typography is set to "Paragraph" and text color to "Black". Is it possible to change Default Typography and Text color?

 

Thanks in advance!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Anudeep_Garnepudi
Anudeep_GarnepudiAccepted solution
New Participant
Apr 7, 2021 4:47 AM UTC

@santhoshsrg 

add externalStyleSheets property to RTE node and give css file path as value.  Write css targeting cq-dialog class.

Ex:

 

.cq-dialog .coral-RichText-editable * { color: red; }

 

1 reply

Anudeep_Garnepudi
Anudeep_GarnepudiAccepted solution
New Participant
Apr 7, 2021 4:47 AM UTC

@santhoshsrg 

add externalStyleSheets property to RTE node and give css file path as value.  Write css targeting cq-dialog class.

Ex:

 

.cq-dialog .coral-RichText-editable * { color: red; }

 

Translate