# Copying custom html components

**URL:** <https://forums.realmacsoftware.com/t/copying-custom-html-components/44190>\
**Category:** Elements API\
**Created:** [August 8, 2024, 1:51pm UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190 "2024-08-08T13:51:29Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [August 8, 2024, 1:51pm UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190/1 "2024-08-08T13:51:29Z")

</div>

narrowed down my issues with no html components disappearing

if I copy a html component straight from one project page to another, it works until I close all down and then reopen the new file in a different directory  
how to you copy the html custom component from one project to another but not page to page but in the components section on the left

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [August 8, 2024, 1:57pm UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190/2 "2024-08-08T13:57:49Z")

</div>

try again then I give up different project

[https://we.tl/t-ruAww5AFVt](https://we.tl/t-ruAww5AFVt)

think that now works, not finished yet  
As I wrote most of these for practice rather than thinking ahead, I learnt quite a lot now

I tried putting my 3d spinning cube in the animation border component, one is percent the other pixels, need to change them both

First time I have tried grids so not finished that part

So put sinning cube with Elements logo inside at bottom

there are box circle triangle and multi clip path components as well

---

<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 8, 2024, 2:26pm UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190/3 "2024-08-08T14:26:47Z")

</div>

> [@upssjw](#):
>
> if I copy a html component straight from one project page to another, it works until I close all down and then reopen the new file in a different directory  
> how to you copy the html custom component from one project to another but not page to page but in the components section on the left

This is a known issue, copying Custom Components/Globals will not work between projects — they’ll break when you re-open the project, as it’s still referencing the other project.

This will be fixed in an upcoming beta. Stay tuned!

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [August 8, 2024, 3:05pm UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190/4 "2024-08-08T15:05:43Z")

</div>

Good to know thought it was me

---

<div class="post-metadata">

**Author:** ![Bill](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bill/32/107_2.png) [@Bill](https://forums.realmacsoftware.com/u/Bill)\
**Post date:** [September 28, 2024, 10:42pm UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190/5 "2024-09-28T22:42:52Z")

</div>

@dan I know you guys have a lot going on, but it has been almost 2 months on this issue and I really have a lot of components/ideas started and need to move components to separate projects, so I can have a clean ‘playground’ for each idea. Pretty please. 🙏

---

<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 30, 2024, 7:29pm UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190/6 "2024-09-30T19:29:46Z")

</div>

Thanks for bumping this up the list, we’ll see what we can do 😉

---

<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 1, 2024, 4:20pm UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190/7 "2024-10-01T16:20:28Z")

</div>

@Bill we’ve implemented this and it’ll be in Beta 13 🎉

I gave a quick demo today, towards the end of the [Dev Diary Ep39](https://forums.realmacsoftware.com/t/dev-diary-ep39-introducing-portals-for-custom-components/44811/3)!

---

<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 4, 2024, 10:20pm UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190/8 "2024-10-04T22:20:50Z")

</div>

@Bill Beta 14 adds support for copy and pasting between documents. Enjoy!

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [October 4, 2024, 10:25pm UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190/9 "2024-10-04T22:25:08Z")

</div>

MISSING ELEMENT 3750AFA6-5AE4-474E-ACC4-3754D1DCD2F0

Dan I copied and got this message

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [October 4, 2024, 10:37pm UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190/10 "2024-10-04T22:37:45Z")

</div>

[https://share.cleanshot.com/Ld6FCx9Y](https://share.cleanshot.com/Ld6FCx9Y)

---

<div class="post-metadata">

**Author:** ![Godber](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/godber/32/26521_2.png) [@Godber](https://forums.realmacsoftware.com/u/Godber)\
**Post date:** [October 4, 2024, 10:49pm UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190/12 "2024-10-04T22:49:12Z")

</div>

me too

---

<div class="post-metadata">

**Author:** ![Godber](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/godber/32/26521_2.png) [@Godber](https://forums.realmacsoftware.com/u/Godber)\
**Post date:** [October 5, 2024, 6:55am UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190/13 "2024-10-05T06:55:49Z")

</div>

![Screenshot 2024-10-05 at 7.53.10 am](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/0/6/06fec5f770b93b2d87b6a76a6c29b133f46e3dc9.jpeg)  
 ![Screenshot 2024-10-05 at 7.53.21 am](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/2/f/2fda2895127dc0e62e65f42968f0babecaa43cf4.jpeg)

ok in edit mode gone in preview,was ok after beta 13 then beta 14 screws it up…im not copying tho just editing the site ive been building…if I create new page with a new html same thing

---

<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 5, 2024, 9:37am UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190/14 "2024-10-05T09:37:32Z")

</div>

Sorry, this bug has slipped into the build because of the work we were doing under the hood. The workaround for now is to launch Elements first, then load the document (i.e don’t double click the project from the Finder to launch Elements).

We’ll get this fixed up for the next beta!

---

<div class="post-metadata">

**Author:** ![Godber](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/godber/32/26521_2.png) [@Godber](https://forums.realmacsoftware.com/u/Godber)\
**Post date:** [October 5, 2024, 9:45am UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190/15 "2024-10-05T09:45:09Z")

</div>

maybe im doing something wrong but that still doesn’t seem to work but as long as I dont have to re enter all the data ive put in I will wait till its 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 5, 2024, 11:46am UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190/16 "2024-10-05T11:46:29Z")

</div>

Okay, another day, another beta…

Beta 15 should fix your preview issue 😅

> [@Elements Beta 15 (build 22935)](https://forums.realmacsoftware.com/t/elements-beta-15-build-22935/44861):
>
> Sometimes beta builds are like busses, you wait for ages, then suddenly several coming along at once! What’s New in Beta 15? Fixed an issue with Custom Components not appear in Preview Fixed an issue with the Component Inspector appearing empty Update to the latest Beta Elements should prompt you while it’s running to let you know there’s an update, if it doesn’t you can select the “Check for Updates…” menu option from the “Elements” app menu. Please note: Sometimes it takes a while for the …

---

<div class="post-metadata">

**Author:** ![Godber](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/godber/32/26521_2.png) [@Godber](https://forums.realmacsoftware.com/u/Godber)\
**Post date:** [October 5, 2024, 12:01pm UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190/17 "2024-10-05T12:01:23Z")

</div>

thanks…blinding response fro you guys

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [October 5, 2024, 12:25pm UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190/18 "2024-10-05T12:25:28Z")

</div>

still not working for me, with hover I placed in the properties, makes it hard to read in the template area unless your naming is good

---

<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 5, 2024, 4:44pm UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190/19 "2024-10-05T16:44:20Z")

</div>

bah, this is a bug again! Try using Command-C and Command-V into the new document…

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [October 5, 2024, 4:56pm UTC](https://forums.realmacsoftware.com/t/copying-custom-html-components/44190/20 "2024-10-05T16:56:14Z")

</div>

@dan works
