# Editor extension

**URL:** <https://forum.makecode.com/t/editor-extension/27384>\
**Category:** micro:bit extensions\
**Created:** [February 29, 2024, 5:51pm UTC](https://forum.makecode.com/t/editor-extension/27384 "2024-02-29T17:51:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pythom](https://avatars.discourse-cdn.com/v4/letter/p/54ee81/32.png) [@pythom](https://forum.makecode.com/u/pythom)\
**Post date:** [February 29, 2024, 5:51pm UTC](https://forum.makecode.com/t/editor-extension/27384/1 "2024-02-29T17:51:11Z")

</div>

Hi, I’m making an extension where you could configure blocks using a button in the namespace, but when I click the button I get a `Sorry, this extensionis not allowed` error.

 ![obrazek](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/f/f5b665ec2ae5d70283a35d88c4d8331f0793eb8a.png)

file pxt.json:

```auto
{
    "name": "imageio",
    "description": "",
    "dependencies": {
        "core": "*",
        "microphone": "*"
    },
    "files": [
        "main.ts",
        "README.md"
    ],
    "testFiles": [],
    "public": true,
    "targetVersions": {
        "target": "6.0.25",
        "targetId": "microbit"
    },
    "supportedTargets": [
        "microbit"
    ],
    "preferredEditor": "tsprj",
    "extension": {
        "namespace": "imageio",
        "label": "Configure",
        "localUrl": "http://127.0.0.1:8080/index.html"
    }
}

```

Anyone know how to fix this?
