We use the editor in a blog and want all of the links to have rel="nofollow". We went to the fck_link.js file and added SetAttribute( oLink, 'rel', 'nofollow' ) ; to the listing of olink attributes (starting about line 762): // Advances Attributes SetAttribute( oLink, 'name', GetE('txtAttName').value ) ; SetAttribute( oLink, 'dir', GetE('cmbAttLangDir').value ) ; SetAttribute( oLink, 'lang', GetE('txtAttLangCode').value ) ; SetAttribute( oLink, 'accesskey', GetE('txtAttAccessKey').value ) ; SetAttribute( oLink, 'tabindex', ( GetE('txtAttTabIndex').value > 0 ? GetE('txtAttTabIndex').value : null ) ) ; SetAttribute( oLink, 'title', GetE('txtAttTitle').value ) ; SetAttribute( oLink, 'type', GetE('txtAttContentType').value ) ; SetAttribute( oLink, 'charset', GetE('txtAttCharSet').value ) ; SetAttribute( oLink, 'rel', 'nofollow' ) ;
Re: Nofollow
SetAttribute( oLink, 'rel', 'nofollow' ) ;
to the listing of olink attributes (starting about line 762):
// Advances Attributes
SetAttribute( oLink, 'name', GetE('txtAttName').value ) ;
SetAttribute( oLink, 'dir', GetE('cmbAttLangDir').value ) ;
SetAttribute( oLink, 'lang', GetE('txtAttLangCode').value ) ;
SetAttribute( oLink, 'accesskey', GetE('txtAttAccessKey').value ) ;
SetAttribute( oLink, 'tabindex', ( GetE('txtAttTabIndex').value > 0 ? GetE('txtAttTabIndex').value : null ) ) ;
SetAttribute( oLink, 'title', GetE('txtAttTitle').value ) ;
SetAttribute( oLink, 'type', GetE('txtAttContentType').value ) ;
SetAttribute( oLink, 'charset', GetE('txtAttCharSet').value ) ;
SetAttribute( oLink, 'rel', 'nofollow' ) ;