Disable auto-formating when i paste a link
Asked by Florian Bachinger:

Hello!

In our Company we'd like to define our project solutions in Confluence. The pages that contain these informations are then reviewed in a status meeting.   
In the meeting notes we then want to insert a link to that specific version of the page, that was discussed in that meeting.

image2016-1-20 16:5:18.png  

The link to that specific version is generated from Confluences-Page Metadata following the guide of Jon Schneider. We create a "copy to Clipboard" element (HTML macro) at the top of our pages. (<http://blog.jonschneider.com/2010/02/confluence-wiki-linking-to-diff-against.html>)

copyToClipboard.png

In the end a link in the following format is generated:  
[http://\<ourServer\>/pages/viewpage.action?pageId=3014687\&pageVersion=29](http://logicxlnz07:8282/pages/viewpage.action?pageId=3014687&pageVersion=29)

That works very well. **However** when i copy that link to my clipboard and paste it into the edit-page control the pageVersion Parameter of the URL gets automatically removed.

The links gets inserted correctly but after a short amount of time it gets auto-formatted. (I provided some screenshots at the end of this Question.  
This of course can be resolved by changing the type of the link to "Link to Website" but for that i need 3 additional actions and i have to paste the link once more.

We like what Confluence does with a link through auto-formatting but we want it to keep the pageVersion Parameter. Is der any way to resolve this?   
or What are the "standard" practices when one wants to achieve that kind of behaviour.

Original {#toc-hId-1623493005}
------------------------------

2016-01-20_15-58-54.png

Formatted {#toc-hId--928663956}
-------------------------------

2016-01-20_15-59-31.png

Actual target of the formatted Link {#toc-hId-814146379}
--------------------------------------------------------

2016-01-20_15-59-52.png

We are using Confluence 5.8.14.

Best Regards.  
[](https://community.atlassian.com/t5/Confluence-questions/Disable-auto-formating-when-i-paste-a-link/qaq-p/185418?attachment-id=11330){#link_11876fb97f1ba1}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/31061/1/2016-01-20_15-59-31.png){#display_11876fb97f1ba1_0}  
[](https://community.atlassian.com/t5/Confluence-questions/Disable-auto-formating-when-i-paste-a-link/qaq-p/185418?attachment-id=11331){#link_11876fb97f1ba1_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/31061/2/2016-01-21_08-11-58.png){#display_11876fb97f1ba1_2}  
[](https://community.atlassian.com/t5/Confluence-questions/Disable-auto-formating-when-i-paste-a-link/qaq-p/185418?attachment-id=11332){#link_11876fb97f1ba1_1}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/31061/3/2016-01-20_15-58-54.png){#display_11876fb97f1ba1_4}  
[](https://community.atlassian.com/t5/Confluence-questions/Disable-auto-formating-when-i-paste-a-link/qaq-p/185418?attachment-id=11333){#link_11876fb97f1ba1_2}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/31061/4/2016-01-21_08-13-11.png){#display_11876fb97f1ba1_6}  
[](https://community.atlassian.com/t5/Confluence-questions/Disable-auto-formating-when-i-paste-a-link/qaq-p/185418?attachment-id=11334){#link_11876fb97f1ba1_3}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/31061/5/image2016-1-20%2016%3A5%3A18.png){#display_11876fb97f1ba1_8}  
[](https://community.atlassian.com/t5/Confluence-questions/Disable-auto-formating-when-i-paste-a-link/qaq-p/185418?attachment-id=11335){#link_11876fb97f1ba1_4}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/31061/6/copyToClipboard.png){#display_11876fb97f1ba1_10}  
[](https://community.atlassian.com/t5/Confluence-questions/Disable-auto-formating-when-i-paste-a-link/qaq-p/185418?attachment-id=11336){#link_11876fb97f1ba1_5}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/31061/7/2016-01-20_15-59-52.png){#display_11876fb97f1ba1_12}


Answers:
author: Florian Bachinger
body: We could not resolve the discribed behaviour but we now use the generated URL in a different way. So this needs no more resolving for us.


author: Eduardo Nunes
body: Hi Florian,

This functionality (Auto formatting) is provided by Confluence Editor. You can disable the editor's autocomplete and autoformatting functions, by editing the settings in your user profile.

In summary:

1. Choose**your **profile picture**** at top right of the screen, then choose **Settings**.
2. Choose **Editor** under 'Your Settings' in the left-hand panel.

For more details, see [Editing User Settings](https://confluence.atlassian.com/conf54/confluence-user-s-guide/customising-confluence/personal-customisations/user-profile-overview/editing-user-settings).

Cheers,

ENunes

comments: author: Florian Bachinger
body: Hi ENunes  

Thank you for your answer.

I found those settings thanks to your description. I deactivated both autocomplete and autoformatting function but when i paste a link i gets formatted on most of the pages and not formatted on some fewer pages in my space.

The two screenshots were made on two different sites today after i deactivated both features and logged off and on. In both cases i pressed the copy to clipboard button (to copy the link [http://\<ourServer\>/pages/viewpage.action?pageId=1769817\&pageVersion=31](http://logicxlnz07:8282/pages/viewpage.action?pageId=1769817&pageVersion=31)) and inserted it using CTRL+V.

2016-01-21_08-11-58.png2016-01-21_08-13-11.png

I tried logging on and off with my user. Do i have to restart the server? Or am i missing something?

Best Regards


Tags: issue-link