# Coded Component Works Perfect in Dev Mode, Cannot Drag into Editor in Normal Mode

**URL:** <https://community.weweb.io/t/coded-component-works-perfect-in-dev-mode-cannot-drag-into-editor-in-normal-mode/20330>\
**Category:** Developer corner\
**Created:** [November 5, 2025, 8:59pm UTC](https://community.weweb.io/t/coded-component-works-perfect-in-dev-mode-cannot-drag-into-editor-in-normal-mode/20330 "2025-11-05T20:59:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZakkeryBock](https://avatars.discourse-cdn.com/v4/letter/z/8e8cbc/32.png) [@ZakkeryBock](https://community.weweb.io/u/ZakkeryBock)\
**Post date:** [November 5, 2025, 8:59pm UTC](https://community.weweb.io/t/coded-component-works-perfect-in-dev-mode-cannot-drag-into-editor-in-normal-mode/20330/1 "2025-11-05T20:59:43Z")

</div>

> **[GitHub - ZakkeryBock/Weweb-AgGrid: A custom coded component for weweb, making use of...](https://github.com/ZakkeryBock/Weweb-AgGrid)**
>
> A custom coded component for weweb, making use of AG Grid.

Attached is my repository for the code, it works fine in dev mode but I am unable to drag it in, in the regular editor.

---

<div class="post-metadata">

**Author:** ![ZakkeryBock](https://avatars.discourse-cdn.com/v4/letter/z/8e8cbc/32.png) [@ZakkeryBock](https://community.weweb.io/u/ZakkeryBock)\
**Post date:** [November 5, 2025, 9:51pm UTC](https://community.weweb.io/t/coded-component-works-perfect-in-dev-mode-cannot-drag-into-editor-in-normal-mode/20330/2 "2025-11-05T21:51:57Z")

</div>

Fixed:

Here is the solution:

“scripts”: {  
“build”: “weweb build”,  
“serve”: “weweb serve”  
},

This was set to include parameters with it however, it needs to be exactly stated above for the editor to grab it.

---

<div class="post-metadata">

**Author:** ![Agustin\_Carozo](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/agustin_carozo/32/13231_2.png) [@Agustin\_Carozo](https://community.weweb.io/u/Agustin_Carozo)\
**Post date:** [November 6, 2025, 3:52pm UTC](https://community.weweb.io/t/coded-component-works-perfect-in-dev-mode-cannot-drag-into-editor-in-normal-mode/20330/3 "2025-11-06T15:52:01Z")

</div>

Hey Zakkery 👋

I’m glad you managed to solve it, and thanks for sharing your solution!
