| 6 | | '''Paste the tags (properties) of the contents of the clipboard to the current selection.''' |
| | 6 | **Paste the [wikitr:/Help/Concepts/Object#Tags tags (properties)] of the contents of the clipboard to the current selection.** |
| | 7 | |
| | 8 | * If the clipboard contains some JOSM objects copied by [wikitr:/Help/Action/Copy Copy] (**`Ctrl+C`**), then the tags of these copied objects will be added to selected objects. |
| | 9 | * If the buffer contains text, it will be parsed to find key-value pairs. (Since r5738) |
| | 10 | |
| | 11 | In both cases if value conflicts are found a [wikitr:/Help/Action/CombineWay#TagsMembershipsConflictDialog Tags/Memberships conflict dialog] will open to choose the correct values. |
| | 12 | |
| | 13 | === Text formats === |
| | 14 | Supported text formats are: |
| | 15 | TAB-format:: key1`<tab>`value1`<line break>`key2`<tab>`value2`<line break>` |
| | 16 | A=B-format, copied by properties table:: key1=value key2="long value" tag3="hotel \"Quote\"" |
| | 17 | JSON-like:: { "a":"1", "b":"2" } |
| | 18 | Free format:: a 1 b=2 c="hello world" |
| | 19 | |
| | 20 | See [attachment:ticket:8384:tags.txt tags.txt] for some more complex examples. |
| 9 | | |
| 10 | | * [[Image(source:/trunk/images/copy.png,20)]] [wiki:/Help/Action/Copy Copy] |
| 11 | | * [[Image(source:/trunk/images/paste.png,20)]] [wiki:Help/Action/Paste Paste] |
| 12 | | * [[Image(source:/trunk/images/duplicate.png,20)]] [wiki:/Help/Action/Duplicate Duplicate] |
| 13 | | * [wiki:/Help/Concepts/Object Objects] |
| | 23 | * [[JOSMImage(copy,link=,24,middle)]] [wikitr:/Help/Action/Copy Copy] |
| | 24 | * [[JOSMImage(copy,link=,24,middle)]] [wikitr:/Help/Action/CopyAllKeyValue Copy Tags] |
| | 25 | * [[JOSMImage(paste,link=,24,middle)]] [wikitr:/Help/Action/Paste Paste] |
| | 26 | * [[JOSMImage(duplicate)]] [wikitr:/Help/Action/Duplicate Duplicate] |
| | 27 | * [wikitr:/Help/Concepts/Object Objects] |