Expand my Community achievements bar.

SOLVED

RTE Tooltip: remove tooltip

Avatar

Level 6

Im using the package from the below link :

http://experience-aem.blogspot.com/2019/04/aem-65-touch-ui-rte-rich-text-editor-structured-content-p...

I need another button to remove the tooltip of not needed. I updated the dialog in the page level. What updates should I make in the JS?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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