Leiste mit Community-Erfolgen erweitern.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

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 Akzeptierte Lösung

Avatar

Korrekte Antwort von
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

Lösung in ursprünglichem Beitrag anzeigen

1 Antwort

Avatar

Korrekte Antwort von
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