Hi All,
I am putting the below html code in Source editor of Richtext, but it is removing the href attribute. Can anyone please tell me if I need to add any context while displaying the RTE. I am already using @context=''html'
<div class="back-button">
<div class="container">
<a href="javascript:history.back();"><i class="fas fa-chevron-left"></i> Back Button</a>
</div>
</div>
Views
Replies
Total Likes
Hi,
you may need to add a rule to preserve href if starts with javascript
Thanks
Arun
Views
Replies
Total Likes
If you want logic in AEM that fires JS - why use the RTE as opposed to a component?
Views
Replies
Total Likes
You need to HTML source editor to put HTML Code & Javascript. RTE Component has this.
Views
Replies
Total Likes
have you configured this service for http://localhost:4502/system/console/configMgr/com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl
?
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies
Views
Likes
Replies