# Site Settings \> Code \> Prefix - Paste

**URL:** <https://forums.realmacsoftware.com/t/site-settings-code-prefix-paste/44117>\
**Category:** RapidWeaver Elements\
**Created:** [August 6, 2024, 3:15pm UTC](https://forums.realmacsoftware.com/t/site-settings-code-prefix-paste/44117 "2024-08-06T15:15:25Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![logrunner](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Post date:** [August 6, 2024, 3:15pm UTC](https://forums.realmacsoftware.com/t/site-settings-code-prefix-paste/44117/1 "2024-08-06T15:15:25Z")

</div>

Paste doesn’t seem to work in Site Settings \> Code \> Prefix. It just puts up a box with Paste in it as shown in the image below. I was trying to paste in some PHP code which I was able to paste into an editor OK but wouldn’t paste in Elements.

 ![site_settings_code_prefix_paste](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/9/a/9adbc07db0d22326b25ca7b3dfa1cc6308f605ef.jpeg)

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [August 6, 2024, 3:29pm UTC](https://forums.realmacsoftware.com/t/site-settings-code-prefix-paste/44117/2 "2024-08-06T15:29:48Z")

</div>

Ah yes, we can reproduce that issue here. We’ll get it fixed. Weirdly if you click the second “Paste” that appears, it’ll paste the text in 🤪

In the meantime, a better solution is to press “command-v” to paste in your code.

---

<div class="post-metadata">

**Author:** ![logrunner](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Post date:** [August 6, 2024, 3:45pm UTC](https://forums.realmacsoftware.com/t/site-settings-code-prefix-paste/44117/3 "2024-08-06T15:45:00Z")

</div>

The double-paste works for me but not cmd-V - I get a warning sound.

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [August 6, 2024, 3:57pm UTC](https://forums.realmacsoftware.com/t/site-settings-code-prefix-paste/44117/4 "2024-08-06T15:57:04Z")

</div>

Thanks, we’ll get this all fixed up!

---

<div class="post-metadata">

**Author:** ![logrunner](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Post date:** [August 6, 2024, 4:40pm UTC](https://forums.realmacsoftware.com/t/site-settings-code-prefix-paste/44117/5 "2024-08-06T16:40:00Z")

</div>

Just discovered that the same applies to the HTML Custom Component \> Template when pasting code. The double paste works but CMD-V doesn’t.

---

<div class="post-metadata">

**Author:** ![logrunner](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Post date:** [September 8, 2024, 11:04am UTC](https://forums.realmacsoftware.com/t/site-settings-code-prefix-paste/44117/6 "2024-09-08T11:04:57Z")

</div>

This issue is still present (i.e. not fixed) in beta version 22880. Is the fix working its way to the top of the fix list? Just wondering. 🙂

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [September 8, 2024, 2:01pm UTC](https://forums.realmacsoftware.com/t/site-settings-code-prefix-paste/44117/7 "2024-09-08T14:01:56Z")

</div>

Hang in there, it’s on the list!

---

<div class="post-metadata">

**Author:** ![logrunner](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Post date:** [October 5, 2024, 10:13am UTC](https://forums.realmacsoftware.com/t/site-settings-code-prefix-paste/44117/8 "2024-10-05T10:13:15Z")

</div>

_bump_

Just in case it dropped down the list? 😉

Apart from the double-paste, CMD-V doesn’t work but CMD-C does.

It definitely slows down Custom Component editing, not having this fixed. ☹

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [October 7, 2024, 9:16am UTC](https://forums.realmacsoftware.com/t/site-settings-code-prefix-paste/44117/9 "2024-10-07T09:16:59Z")

</div>

I’ve just tested this and the keyboard shortcuts; command-c and command-v seems to work perfectly in all the code areas 🤔

---

<div class="post-metadata">

**Author:** ![logrunner](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Post date:** [October 7, 2024, 9:35am UTC](https://forums.realmacsoftware.com/t/site-settings-code-prefix-paste/44117/10 "2024-10-07T09:35:55Z")

</div>

This is the Elements (b15) menu:

![CleanShot 2024-10-07 at 10.27.20](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/6/b/6b4b159d9a8648cbe4f9c7df788a8e80241096c7.png)

There is no keyboard shortcut shown against Paste?

I have noticed CMD-V is against Paste and Match Style?

I can’t see anything in my Mac’s settings that is modifying the Keyboard shortcuts but I guess there could be. I am using a Logitech MX Master keyboard

The Paste as Plain Text keyboard shortcut does work.

---

<div class="post-metadata">

**Author:** ![logrunner](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Post date:** [October 7, 2024, 9:43am UTC](https://forums.realmacsoftware.com/t/site-settings-code-prefix-paste/44117/11 "2024-10-07T09:43:00Z")

</div>

Update: I have found where it is modified on my system in Settings \> Keyboard \> Keyboard Shortcuts.

I will have take a look at that to see if I can sort it out.

---

<div class="post-metadata">

**Author:** ![logrunner](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Post date:** [October 7, 2024, 11:00am UTC](https://forums.realmacsoftware.com/t/site-settings-code-prefix-paste/44117/12 "2024-10-07T11:00:44Z")

</div>

OK, tracked it down and added in a special setting for the RapidWeaver Elements App:

 ![CleanShot 2024-10-07 at 11.55.05](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/4/6/46a17314bf5e4b2ec5597b16ee8dccb25324ae50.png)

I had obviously set **CMD-V** to **Paste and Match Style** sometime ago.

Maybe, Elements should handle **Paste and Match Style** as **Paste**?

Anyway, @dan thanks for testing it out and prompting me to investigate further. I did wonder why no one else was raising this as an issue. 😉

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [October 7, 2024, 2:26pm UTC](https://forums.realmacsoftware.com/t/site-settings-code-prefix-paste/44117/13 "2024-10-07T14:26:18Z")

</div>

Ah, thanks for digging into this! 😅
