Expand my Community achievements bar.

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

1 Reply

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