Redactor / Documentation / Settings

Links

linkNofollow #

When set to 'true', all links inside of Redactor will get a 'nofollow' attribute. This attribute restricts search engines indexing for these links.

$('#redactor').redactor({
   linkNofollow: true
});

linkSize #

Set to '50' characters by default.

This setting allows to automatically truncate link text.

$('#redactor').redactor({
   linkSize: 100
});

linkTooltip #

Set to 'true' by default.

Shows link tooltip with Edit and Unlink buttons on click.

$('#redactor').redactor({
   linkTooltip: false
});

linkify #

This setting turns off the default conversion of video and image URLs into embedded videos and images, and turns off automatic conversion of text URLs into clickable links.

Whenever a user specifically chooses to Unlink a URL, this URL will not be converted automatically into a link by linkify features. This URL will be ignored until a user doesn't specifically make it a link using Link toolbar menu or a keyboard shortcut

$('#redactor').redactor({
    linkify: false
});

linkNewTab #

linkValidation #

Set to 'true' by default.

If 'false' the setting turns off the validation when inserting links.

$('#redactor').redactor({
   linkValidation: false
});