AEM 6.5.12.0 - Extend RTE Link Plugin Command to add Icon / Info text
specifying doc type by Sreekanth Choudry Nalabotu Abstract Goal Extend
the RTE Link Command
(/libs/clientlibs/granite/coralui2/optional/rte/js/core/commands/link.js)
to automatically add html specifying document type (eg. PDF, Word etc.)
Solution Create clientlib /apps/eaem-rte-anchor-link-html/clientlib with
categories=[cq.authoring.dialog.all], add the following code.. (function
($, $document) { const RICH_TEXT_EDITABLE_SELE...