# Vue-Komponente "sw-text-editor" und buttonConfig

**URL:** <https://forum.shopware.com/t/vue-komponente-sw-text-editor-und-buttonconfig/91944>\
**Category:** Programmierung\
**Created:** [13. Dezember 2021 um 10:55 UTC](https://forum.shopware.com/t/vue-komponente-sw-text-editor-und-buttonconfig/91944 "2021-12-13T10:55:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gbmedia](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/gbmedia/32/8606_2.png) [@gbmedia](https://forum.shopware.com/u/gbmedia)\
**Post date:** [13. Dezember 2021 um 10:55 UTC](https://forum.shopware.com/t/vue-komponente-sw-text-editor-und-buttonconfig/91944/1 "2021-12-13T10:55:50Z")

</div>

Tach zusammen,

anhand der Property „buttonConfig“ kann ich die Buttons der Komponente „sw-text-editor“ konfigurieren.  
Soweit kein problem:

```auto
<sw-text-editor
    :buttonConfig="buttonConfig"
    ...
/>

```

Ich frag mich nun, warum wird mir immer der „Table“ Button angeziegt, was ich nicht möchte?

`platform/src/Administration/Resources/app/administration/src/app/component/form/sw-text-editor/index.js:389`

```auto
if (!this.$options.buttonConfig) {
    this.buttonConfig.push({
        type: 'table',
        title: this.$tc('sw-text-editor-toolbar.title.insert-table'),
        icon: 'default-text-editor-table',
        tag: 'table',
        expanded: false,
        handler: this.handleInsertTable,
    });
   ...

```

`this.$options.buttonConfig` ist immer `undefined` und somit wird mir der „Table“ Button angeziegt.  
Wie entferne ich `table`?
