Page 1 of 1

Rich Text - Auto Link URL?

Posted: Wed Mar 24, 2021 6:40 pm
by aaron
Version of script: 3.2.2

Is there a setting/way to make the URLs in the rich text reply window automatically clickable links like in the plain text version? I reply with a lot of links and the time it takes to click the little link button really adds up at the end of the day :D

Re: Rich Text - Auto Link URL?

Posted: Wed Mar 24, 2021 7:02 pm
by Klemen
Good point. This should do the trick:

1. open file /inc/tiny_mce/tinymce.inc.php in a powerful text editor, such as Notepad++ (do not use Microsoft Notepad)
2. find

Code: Select all

plugins: 'charmap code codesample image link lists table',
3. change it to

Code: Select all

plugins: 'charmap code codesample image link lists table autolink',
4. if you want to open links in a new tab, also add this line below the above line:

Code: Select all

default_link_target: '_blank',
5. save, upload, refresh Hesk in your browser page, and test

Re: Rich Text - Auto Link URL?

Posted: Wed Mar 24, 2021 7:24 pm
by aaron
Awesome! Works perfectly. Have another drink! :D

Re: Rich Text - Auto Link URL?

Posted: Wed Mar 24, 2021 7:29 pm
by Klemen
Ha, thank you. I'm feeling a bit dizzy already :lol:

Re: Rich Text - Auto Link URL?

Posted: Wed Mar 24, 2021 7:41 pm
by aaron
:lol: