# SOLVED: Duplicating a component block in the block editor copies blockId, breaking the original element

**URL:** <https://forum.bricksbuilder.io/t/solved-duplicating-a-component-block-in-the-block-editor-copies-blockid-breaking-the-original-element/40464>\
**Category:** Bugs\
**Tags:** v2-4-2\
**Created:** [October 1, 2026, 9:58am UTC](https://forum.bricksbuilder.io/t/solved-duplicating-a-component-block-in-the-block-editor-copies-blockid-breaking-the-original-element/40464 "2026-10-01T09:58:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wplit](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/wplit/32/2730_2.png) [@wplit](https://forum.bricksbuilder.io/u/wplit)\
**Post date:** [October 1, 2026, 9:58am UTC](https://forum.bricksbuilder.io/t/solved-duplicating-a-component-block-in-the-block-editor-copies-blockid-breaking-the-original-element/40464/1 "2026-10-01T09:58:09Z")

</div>

When using Bricks’ components in the block editor, it works fine if we keep adding blocks individually but if we ever duplicate one it causes the blockId to be the same, which can break the original block.

This is on both inside the editor and on the front end. The duplicated block will have the same ‘data-script-id’, so if you test with something like the slider, you see it prevents the original duplicated slider from initialising.

> **[Duplicating Bricks block breaks existing block](https://kommodo.ai/recordings/BSlrYxJPLxZwfbylWkrm)**
>
> Duplicating Bricks block breaks existing block

(i put v2.4.2 as the tag, as that’s what I was using, but I don’t know if it’s a new issue)

---

<div class="post-metadata">

**Author:** ![Matej](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/matej/32/20184_2.png) [@Matej](https://forum.bricksbuilder.io/u/Matej)\
**Post date:** [October 2, 2026, 6:07am UTC](https://forum.bricksbuilder.io/t/solved-duplicating-a-component-block-in-the-block-editor-copies-blockid-breaking-the-original-element/40464/3 "2026-10-02T06:07:46Z")

</div>

HI @wplit,

thank you for the bug report. I was able to replicate it and I’ve added it to our internal bug tracker.

Thanks,  
Matej

---

<div class="post-metadata">

**Author:** ![bricks.assistant](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/bricks.assistant/32/32537_2.png) [@bricks.assistant](https://forum.bricksbuilder.io/u/bricks.assistant)\
**Post date:** [November 3, 2026, 10:46am UTC](https://forum.bricksbuilder.io/t/solved-duplicating-a-component-block-in-the-block-editor-copies-blockid-breaking-the-original-element/40464/4 "2026-11-03T10:46:27Z")

</div>

We’ve addressed this in Bricks 2.4.5, now available as a one-click update in your WordPress Dashboard.

Please read the [changelog entry](https://bricksbuilder.io/release/bricks-2-4-5/) before updating, and let us know if you experience any issues.
