Post creation WYSIWYG field with nofollow links

I have an issue that took me some time to notice.
I’m using advanced post creation with the WYSIWYG field for the content input.
When a user includes a link in his content text, this link will automatically be marked as rel=“nofollow”. This must come from Gravity Forms.
When I check the new post in the backend editor (Gutenberg) the link is indeed marked as nofollow. When I create a new text link in Gutenberg, this link is not automatically marked as nofollow.

How do I turn the automatic nofollow off in the Advanced Post Creation’s content editor?

Gravity Forms and the Advanced Post Creation Add-On aren’t adding that attribute to the links.

The TinyMCE wpLink script, triggered when you use the “Open link in a new tab” option in the link options modal to add or edit the link, does add the rel="noopener" attribute. There isn’t a way for Gravity Forms to prevent it being added.

If you wanted to prevent that attribute being saved with the value to the entry, you could use the gform_save_field_value filter to remove it e.g.

add_filter( 'gform_save_field_value', function ( $value, $entry, $field ) {
	if ( ! empty( $value ) && $field instanceof GF_Field_Textarea && $field->useRichTextEditor ) {
		$value = str_replace( 'rel="noopener"', '', $value );
	}

	return $value;
}, 10, 3 );

As for the rel=“nofollow” attribute, that could be added by your theme or another plugin. You might want to run through a conflict test.

I’m not sure I can follow, or if you misunderstood my request for help.
This is not about “noopener”, but about “nofollow”.
And it doesn’t matter if I open the edit link window, or not.

The normal flow is like this:

  • a user submits a new post on the frontend (using APC with the WYSIWYG content editor), the post is created in status “pending”
  • I receive a notification about a new post, and decide to publish it

In 90% of all new post I don’t edit anything about that post. However every post that has external links in the content will get published with the links having the rel=“nofollow” attribute.

If I decide to check the link in the pending post (before publishing) then it certainly has the checkbox “nofollow” checked in the link settings.

So where else should it come from if not from GF?

Seems like you missed this part of my reply: