RTE Tooltip: remove tooltip | Community
Skip to main content
Level 6
September 13, 2021
Solved

RTE Tooltip: remove tooltip

  • September 13, 2021
  • 1 reply
  • 715 views

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-plugin-creating-tooltips.html

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?

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,

 

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 

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