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 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.