Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

RTE - Default Typography and Text Color

santhoshsrg
Level 4
Level 4

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!

1 Accepted Solution
Anudeep_Garnepudi
Correct answer by
Community Advisor
Community Advisor

@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;
}

 

Screenshot 2021-04-07 at 10.07.20 AM.png

View solution in original post

1 Reply
Anudeep_Garnepudi
Correct answer by
Community Advisor
Community Advisor

@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;
}

 

Screenshot 2021-04-07 at 10.07.20 AM.png