Skip to main content
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
September 17, 2021

Hi,

 

Instead of creating new button, you can handle it using the same option by selecting the text and if title is empty

 

You can refer /libs/clientlibs/granite/richtext/js/rte/plugins/StylesPlugin.js (styles plugin) which will be add/remove with same selection

 

Hope this helps 

Ravi Pampana

1 reply

Ravi_Pampana
Community Advisor
Ravi_PampanaCommunity AdvisorAccepted solution
Community Advisor
September 17, 2021

Hi,

 

Instead of creating new button, you can handle it using the same option by selecting the text and if title is empty

 

You can refer /libs/clientlibs/granite/richtext/js/rte/plugins/StylesPlugin.js (styles plugin) which will be add/remove with same selection

 

Hope this helps 

Translate
Ravi Pampana