# How to add custom syntax checksum highlighting in the edit box

**URL:** https://discourse.nodered.org/t/how-to-add-custom-syntax-checksum-highlighting-in-the-edit-box/13026
**Category:** General
**Created:** [8 July 2019 03:19 UTC](https://discourse.nodered.org/t/how-to-add-custom-syntax-checksum-highlighting-in-the-edit-box/13026 "2019-07-08T03:19:36Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![limengsong](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/limengsong/32/9391_2.png) [@limengsong](https://discourse.nodered.org/u/limengsong)
#### Post date: [8 July 2019 03:19 UTC](https://discourse.nodered.org/t/how-to-add-custom-syntax-checksum-highlighting-in-the-edit-box/13026/1 "2019-07-08T03:19:36Z")

</div>

Hi~：  
How to add custom syntax checksum highlighting in the edit box。

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/0/0583c608253f1341c6e73c591856e2fd3b7efd8a.png)

```auto
            this.editor = RED.editor.createEditor({
                id: 'node-input-schema-editor',
                mode: 'ace/mode/graphqlschema',
                value: $("#node-input-schema").val()
            });

```

Mode does not know how to import library files that support GraphqlSchema.

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [8 July 2019 07:52 UTC](https://discourse.nodered.org/t/how-to-add-custom-syntax-checksum-highlighting-in-the-edit-box/13026/2 "2019-07-08T07:52:06Z")

</div>

We only provide a subset of the default ace modes and there is no way to add in other ones. But we have discussed providing the whole lot (which includes `graphqlschema`) - so we can look at doing that in 1.0

---

<div class="post-metadata">

### Author: ![limengsong](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/limengsong/32/9391_2.png) [@limengsong](https://discourse.nodered.org/u/limengsong)
#### Post date: [8 July 2019 08:10 UTC](https://discourse.nodered.org/t/how-to-add-custom-syntax-checksum-highlighting-in-the-edit-box/13026/3 "2019-07-08T08:10:20Z")

</div>

1.0 What time is it going to release?

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [8 July 2019 08:13 UTC](https://discourse.nodered.org/t/how-to-add-custom-syntax-checksum-highlighting-in-the-edit-box/13026/4 "2019-07-08T08:13:56Z")

</div>

Soon. Cannot give a final date but hopefully you've seen we're already doing beta releases for it.

---

<div class="post-metadata">

### Author: ![berry4u](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/berry4u/32/18569_2.png) [@berry4u](https://discourse.nodered.org/u/berry4u)
#### Post date: [20 August 2019 10:11 UTC](https://discourse.nodered.org/t/how-to-add-custom-syntax-checksum-highlighting-in-the-edit-box/13026/5 "2019-08-20T10:11:38Z")

</div>

Hi.  
Where can I find some doc about the edit box?

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [20 August 2019 10:12 UTC](https://discourse.nodered.org/t/how-to-add-custom-syntax-checksum-highlighting-in-the-edit-box/13026/6 "2019-08-20T10:12:47Z")

</div>

What sort of documentation are you looking for? What do you want to do?

---

<div class="post-metadata">

### Author: ![berry4u](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/berry4u/32/18569_2.png) [@berry4u](https://discourse.nodered.org/u/berry4u)
#### Post date: [20 August 2019 10:34 UTC](https://discourse.nodered.org/t/how-to-add-custom-syntax-checksum-highlighting-in-the-edit-box/13026/7 "2019-08-20T10:34:37Z")

</div>

I'm implementing a set of nodes to interact with ArangodB graph database.  
So I would like to write queries in an edit box (similar to that used in the function node) of the node which is connected with my db.  
Firstly I tryied to use textarea with some issues.  
Now I'm trying to use the same editor of function and template nodes but with no documentation support (i.e. about the schemas, the globals, the create parameters, ... ).  
So I'm wondering if some even unofficial documentation is available about it.
