Skip to content
On this page

#toolbar

Use #toolbar slot to create your own custom toolbar

  • Example

    vue
    <template>
      <QuillEditor toolbar="#my-toolbar" ...>
        <template #toolbar>
          <div id="my-toolbar">
            <!-- Add buttons as you would before -->
            <button class="ql-bold"></button>
            <button class="ql-italic"></button>
    
            <!-- But you can also add your own -->
            <button id="custom-button"></button>
          </div>
        </template>
      </QuillEditor>
    </template>

Released under the MIT License.