Component - demo
1. Component Dialog has a field with xtype="richtext", name="./text"
JS file(demo.js)
use(function(){
var text = properties.get("text","");
return{
text:text
}
});
3. component html file
<div data-sly-use.demo="demo.js"> ${demo.text@context='html'}</div>
Drag this component on one page. And in component dialog paste below HTML code:
<ul>
<li>Line 1</li>
<li><a href="http://www.google.com">Google Link</a></li>
<li>Line 3</li>
</ul>
When this link is displayed on webpage, it just shows Google Link label instead of hyperlink.