Rte Plugins for strikethrough | Community
Skip to main content
August 3, 2021
Solved

Rte Plugins for strikethrough

  • August 3, 2021
  • 1 reply
  • 1054 views

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.
Best answer by Ravi_Pampana

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

1 reply

Ravi_Pampana
Community Advisor
Ravi_PampanaCommunity AdvisorAccepted solution
Community Advisor
August 3, 2021

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

manzul47Author
August 3, 2021

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