0:05
Hello everyone. In this video we are
0:07
going to see how to disable hyperlinks
0:12
when we use lightning formatted rich
0:15
text tag in Salesforce lightning web
0:21
In this demo, I am making use of
0:24
lightning formatted rich text tag
0:31
display and also for this UI display.
0:37
it is not hyperlinking
0:40
the URL in the second lightning
0:44
formatted rich text tag. But in the
0:46
first lightning formatted rich text tag
0:49
I'm able to see the URL is hyperl.
0:55
So in order to disable
0:58
hyperlink for your URLs when we when you
1:02
use lightning formatted rich text tag in
1:05
the Salesforce lightning web component
1:08
you have to make use of
1:11
disable linkify attribute.
1:15
So in my lightning uh web component
1:19
I have set this attribute disable
1:22
linkify. So whenever you use this it
1:24
will by default set it to true. If you
1:28
want to set it to false you can either
1:30
remove it or you can set it to false
1:34
in the first lightning formatted rich
1:37
text tag. I'm not using this disable
1:39
link if attribute. So
1:44
in this uh first display it is
1:46
hyperlinking the URL but in the second
1:49
uh lightning formatted rich text tag I
1:52
am making use of disable linkify so the
1:56
URL is not hyperl linked.
2:05
I hope it was helpful.
2:11
Thank you for watching.