Skip to main content
deepak3344
Adobe Champion and User Group Leader
Adobe Champion and User Group Leader
Sep 25, 2016 4:53 PM UTC
Solved

In classic UI not able to create hyperlink in RTE

Hi All ,

I am using 

<links        jcr:primaryType="nt:unstructured"        features="*"/>

plugin to create hyperlink in RTE , but in console it's showing me error "cannot read property length of null"  .      All other RTE plugins are working except link plugin  and I am not able to create hyperlink .

 

Can anyone suggest what I am missing .

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
kautuk_sahni
kautuk_sahniAccepted solution
Level 9
Sep 27, 2016 9:38 AM UTC

Hi 

Reference link:- http://www.wemblog.com/2011/10/how-to-make-sure-that-links-are-always.html

//

You can add x-cq-linkchecker="valid" parameter in the <a> tag to make sure that links are always mark as valid by CQ. In this case link checker will check the link but will mark it valid.

You can optionally use x-cq-linkchecker="skip" in the <a> as well. In this case link checker will not even check for validity for link.

Option 2: You can disable external link checker entirely by going to felix console

Option 3: Additionally you can add override pattern to disable link checking for certain domain

~kautuk

Kautuk Sahni

3 replies

Adobe Employee
Sep 26, 2016 11:52 PM UTC

Add x-cq-linkchecker="valid" parameter in the <a> tag to make sure that links are always mark as valid by CQ.

Translate
kautuk_sahni
kautuk_sahniAccepted solution
Level 9
Sep 27, 2016 9:38 AM UTC

Hi 

Reference link:- http://www.wemblog.com/2011/10/how-to-make-sure-that-links-are-always.html

//

You can add x-cq-linkchecker="valid" parameter in the <a> tag to make sure that links are always mark as valid by CQ. In this case link checker will check the link but will mark it valid.

You can optionally use x-cq-linkchecker="skip" in the <a> as well. In this case link checker will not even check for validity for link.

Option 2: You can disable external link checker entirely by going to felix console

Option 3: Additionally you can add override pattern to disable link checking for certain domain

~kautuk

Translate
Kautuk Sahni
deepak3344
Adobe Champion and User Group Leader
Adobe Champion and User Group Leader
Oct 1, 2016 6:25 PM UTC

Kanika Gera wrote...

Add x-cq-linkchecker="valid" parameter in the <a> tag to make sure that links are always mark as valid by CQ.

 

Hi Guys , 

 Thanks for your responses .I know of x-cq-linkchecker="skip" .

 It seems `my question is misunderstood . I was earlier having issue that hyperlink which I created using RTE plugin was not working and plugin not able to create hyperlink .  Then I initialized plugins in different way and then it worked .
Translate