Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Rte Plugins for strikethrough

Avatar

Level 1

I have added CSS for strikethrough in styles. But issue is When editing, the strike line is not rendered, but it is rendered when we left the editor. can anyone help regarding this?

 

Capture.PNG

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

 

For styles to apply in the rich text editor, we have to add the styles in the clientlibs which loads for cq:dialog. You can add the styles in a stylesheet and add clientlib to "extraClientlibs" property of the dialog for styles to apply in cq:dialog

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi,

 

For styles to apply in the rich text editor, we have to add the styles in the clientlibs which loads for cq:dialog. You can add the styles in a stylesheet and add clientlib to "extraClientlibs" property of the dialog for styles to apply in cq:dialog

Avatar

Level 1

Capture1.PNGThanks Ravi...Its working fine after adding extraClientlibs.