Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I paste text without formatting or hyperlink?

David Tyler June 30, 2023

Whenever I paste URLs into a Confluence page I am editing, they are hyperlinked.  I work in cybersecurity and sometimes the URLs are potentially malicious.  I *NEVER* want them to be hyperlinked.  However, even if I defang them (e.g., domain[.]com) AND choose "Paste as plain text" from the right-click menu (since Ctrl+Shift+V doesn't work), Confluence still hyperlinks them.

I appreciate any help you can provide.

2 answers

1 vote
Benjamin
Community Champion
June 30, 2023

HI @David Tyler ,

 

When in the editor, you can right click and there's should be an option for unlink. This will remove the hyperlink. 

 

This should work similar whether you are using on-prem or cloud platform. 

 

Hope this helps.

David Tyler June 30, 2023

Thank you.  Yes, that is what I have to do, but it's painful when I have a long list which requires clicking on each one individually and then clicking on unlink.  Is there a setting that permits me to make paste-without-hyperlink (and any formatting at all) the default?

Benjamin
Community Champion
June 30, 2023

You welcome. I haven't come across a way. A workaround is place prepend or append a character to the URL. 

 

For example,

 

.www.google.com

www.google.com-

 

As long as it doesn't meet the parameter rules of a website URL, confluence will not convert it. 

David Tyler June 30, 2023

Thanks again Benjamin.  Bummer.  Sounds like it'll take work on the front end or the back end for each URL no matter what I do.  Ugh. 

Any ideas how to request a new feature like paste without formatting?  Sounds silly even asking for it.  :-)

Benjamin
Community Champion
June 30, 2023

No problem. First check with Atlassian Support. There maybe some thing coming or a tip they are aware of. 

 

https://support.atlassian.com/contact/#/

 

Here's where to raise or vote on a suggestion:

 

https://jira.atlassian.com/secure/Dashboard.jspa

 

The more votes and comments...generally would get the most attention. :)

David Tyler June 30, 2023

Wow, that was painful, but it finally let me create a ticket.  Thanks again for your assistance.  Have a good weekend.

Like Benjamin likes this
0 votes
Aron Gombas _Midori_
Community Champion
July 3, 2023

@David Tyler Actually, you can configure if links should auto-converted or not under Link Preferences.

See: https://support.atlassian.com/confluence-cloud/docs/insert-links-and-anchors/#Link-preferences

David Tyler July 3, 2023

Hi Aron,

Link Preferences doesn't allow me to turn off auto-hyperlinking.  It only allows me to 1) change how a URL is displayed and 2) set exceptions for specific domains.

All I want to do is paste a URL in plain text without a hyperlink.  Any ideas?

Thanks!

Aron Gombas _Midori_
Community Champion
July 4, 2023

OK, I mis-understood it.

What I usually do is that after pasting something that is converted to hyperlink, you can hit CTRL+Z (on PC) immediately and it will "unlink" it. On Mac, there is an analogue key combo exist.

It works, at least for for single links, and it isn't very inconvenient.

David Tyler July 4, 2023

I appreciate the suggestion, but CTRL+Z doesn't undo the hyperlink either.  I wish I knew why these keyboard shortcuts don't work in Confluence for me.  It's almost like Windows and Windows browsers have good shortcuts for pasting as text or undoing formatting, but then Confluence breaks them.  :-(

But I do appreciate the time and effort to help me diagnose this.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events