# Customizing html field toolbar

**URL:** <https://discourse.getcockpit.com/t/customizing-html-field-toolbar/1987>\
**Category:** Support\
**Created:** [July 5, 2021, 3:06pm UTC](https://discourse.getcockpit.com/t/customizing-html-field-toolbar/1987 "2021-07-05T15:06:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![barzech](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@barzech](https://discourse.getcockpit.com/u/barzech)\
**Post date:** [July 5, 2021, 3:06pm UTC](https://discourse.getcockpit.com/t/customizing-html-field-toolbar/1987/1 "2021-07-05T15:06:47Z")

</div>

Hello, I’ve customized an html field (inside a repeater) as below - I removed the “image” button. I would also like to remove the “Finder”, “Asset”, and “Collection link” buttons but I haven’t seen those options in the documentation.

Thanks for any pointers

```auto
{
  "fields": [
    {
      "type": "html",
      "label": "Html Content",
      "options": {
        "toolbar": [
          "bold",
          "italic",
          "strike",
          "link",
          "blockquote",
          "listUl",
          "listOl"
        ]
      }
    }
  ]
}

```

---

<div class="post-metadata">

**Author:** ![abernh](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/abernh/32/859_2.png) [@abernh](https://discourse.getcockpit.com/u/abernh)\
**Post date:** [July 6, 2021, 9:22pm UTC](https://discourse.getcockpit.com/t/customizing-html-field-toolbar/1987/2 "2021-07-06T21:22:46Z")

</div>

It seems as if these buttons are not adjustable via the config.

The buttons

- Finder: added if the users group has Finder-privileges
- Assets: always added

are initially specified in `/modules/Cockpit/assets/components/field-html.tag`.

The button

- CollectionLink: always added

is added in `/modules/Collections/assets/link-collectionitem.js`

```auto
App.$(document).on('init-html-editor', function (e, editor) {

```

One solution would be, to [create your own custom field type](https://discourse.getcockpit.com/t/costum-field-types/485/2) ( use the `field-html.tag` file as base, edit it to your liking and copy it into `config/tags/`).
