Skip to main content
Aug 3, 2021 10:02 AM UTC
Solved

Rte Plugins for strikethrough

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?

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Ravi_Pampana
Ravi_PampanaAccepted solution
Community Advisor
Aug 3, 2021 2:43 PM UTC

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

Ravi Pampana

2 replies

Ravi_Pampana
Community Advisor
Ravi_PampanaCommunity AdvisorAccepted solution
Community Advisor
Aug 3, 2021 2:43 PM UTC

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

Translate
Ravi Pampana
manzul47Author
Aug 3, 2021 4:04 PM UTC

Thanks Ravi...Its working fine after adding extraClientlibs.

Translate