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

Avatar

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

Avatar

Correct answer by
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

0 Replies

Avatar

Correct answer by
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