Insert Link ( Bug ) auto changes to "target="_blank"

Hello X,

I discovered an annoying bug. When you create a link in a [TEXT] element and select “Target:none”, it’s fine. But, when you continue to edit any other text, it automatically switches/adds the link code “target=”_blank" rel=“noopener” to any/all other links you created in that text element.

Can you replicate this and see what I’m talking about?
Using Cornerstone 3.2.5 X 6.2.2

Thank you.

Hi @Horschel_Brothers,

Thanks for reaching out.

Where do you set the target none? Each links aren’t related to each other and you’ll have to manually change your links setting at a time.

Video recording will be helpful :slight_smile:

Thanks!

Hello Rad,

Here are some screenshots to show you what’s happening.
Thank you.

Hi @Horschel_Brothers,

I see it now. Like I said each link aren’t connected to each other. Setting the target is only applicable to the current link you’re inserting and it’s different to the other links you will insert. You’ll have to manually change the target every time you’ll insert a new link.

Thanks!

I know that each link is separate and you can set the target differently for each. The problem that is happening is the code is automatically changing all the links in that Text Block to “target=_blank” even though it was not set that way every time you edit any text in the block.

example. I have 4 links in a paragraph all set with No Targets (plain links). Save it, works fine. Come back to that same paragraph, add a sentence/change a word and each of those 4 links are auto-rewritten with “target=_blank.”

Even if I hand-code a link directly… ie: <a href="URL">CLICK HERE</a> for info.
Once you get back in the visual text editor and make any changes, that link code changes to <a href="URL" target="_blank" rel="noopener">CLICK HERE</a> and then your link is opening in a new tab/window.

Something is causing it to default re-write all links with “_blank” rel=“noopener”

Thank you.

Hi @Horschel_Brothers,

Thanks for the clarification. I could confirm that in inline editing mode of the text and it always default to New Window. But the codes remain the same as it was added without target="_blank" rel="noopener". That’s what on my installation, perhaps you could provide a video recording so I could do it in identical procedures?

Thanks!

Here’s a video…

Hi @Horschel_Brothers,

Thanks, I’m able to see it now. It happens when you’re editing on both inline editing and the text window. I’ll add this to our issue tracker.

For the meantime, please don’t use them at the same time. It’s either inline or the actual text window.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.