Suneditor: Add options, follow or nofollow for links

Created on 22 Dec 2020  ·  7Comments  ·  Source: JiHong88/SunEditor

@JiHong88 I think it is very good if it is possible to determine whether the link is a follow or nofollow when importing the links.
This point is important in SEO.

feature

Most helpful comment

@JiHong88 Please consider the following:

  1. There's no 'follow' or 'default' or 'empty' value. Whatever is the first option in the array, it gets added.
  2. There's no option to select multiple options. Ex: Whenever we use target=_blank on tag, it is recommended to include rel="noreferrer noopener". So currently,

All 7 comments

@JiHong88
Kindly add option for rel="noreferrer noopener"

The 2.35.0 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.

@JiHong88 Please consider the following:

  1. There's no 'follow' or 'default' or 'empty' value. Whatever is the first option in the array, it gets added.
  2. There's no option to select multiple options. Ex: Whenever we use target=_blank on tag, it is recommended to include rel="noreferrer noopener". So currently,

The 2.36.0 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.

Thank you @JiHong88 but I don't see the option to select link attributes
Screenshot 2021-03-13 at 11 42 47 AM

@s-kris Please define the linkRel option.
Default value of the linkRel opion is empty array.

Sorry, I missed the linkrel option. Thank you :)

Was this page helpful?
0 / 5 - 0 ratings