Documentation
Link
linkNewTab
Type: Boolean
Default: true
This setting allows you to hide the "Open in new tab" checkbox in the link inserting window.
$R('#content', {
linkNewTab: false
});
linkTarget
Type: Boolean
String
Default: false
When set to _blank
, all inserted links will get a target
attribute and be able to open in the new tab.
$R('#content', {
linkTarget: '_blank'
});
linkTitle
Type: Boolean
Default: false
This setting allows you to show the link title field in the link inserting window.
$R('#content', {
linkTitle: true
});
linkNofollow
Type: Boolean
Default: false
When set to true
, all links inside of Redactor will get a nofollow
attribute. This attribute restricts search engines indexing for these links.
$R('#content', {
linkNofollow: true
});
linkSize
Type: Number
Default: 30
This setting allows to automatically truncate link text.
$R('#content', {
linkSize: 100
});
linkValidation
Type: Boolean
Default: true
This setting allows you to turn off the validation when links inserting.
$R('#content', {
linkValidation: false
});
dkjgvo65776inru43654