removing hyperlink button from tinyMCE editor

Im looking to remove the hyperlink button in the tinyMCE editor, 

ideally, only in the 'mini' version of the editor that displays on the profile edit page.

 

I want to restrict profiles from easily posting a hyperlink to external websites if possible, while still allowing hyperlinking from within other modules.

 

Is there a way to do this, or is it a case or removing the hyperlink button completely from tinyMCE sitewide?

If so, anyone know where to do this in code?

 

Thanks 

Quote · 29 Feb 2012

Hello

You may only hide these buttons completely. But this mod will be apllied to all TiniMCE on your site. If it's OK with you, you need to go to templates/base/scripts/ folder and edit BxBaseConfig.php file. You may find TinyMCE initialization code in BxBaseConfig function. Look for the lines similar to the following

theme_advanced_buttons2 : "forecolor,backcolor,|,bullist,numlist,|,outdent,indent,|,link,unlink,image,hr,|,sub,sup,|,insertdate,inserttime,|,styleprops",

And remove link,unlink from them.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 29 Feb 2012

Great, thanks Anton.

Quote · 1 Mar 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.