# Aggiungere un menu a tendina alla barra degli strumenti

**URL:** <https://meta.discourse.org/t/adding-a-pulldown-to-the-toolbar/85208>\
**Category:** Development\
**Created:** [13 Aprile 2018, 2:31am UTC](https://meta.discourse.org/t/adding-a-pulldown-to-the-toolbar/85208 "2018-04-13T02:31:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)\
**Post date:** [13 Aprile 2018, 11:34am UTC](https://meta.discourse.org/t/adding-a-pulldown-to-the-toolbar/85208/2 "2018-04-13T11:34:57Z")

</div>

1. Yep it’s doable in a theme. See how it’s done here:

[https://github.com/discourse/discourse/blob/master/plugins/poll/assets/javascripts/initializers/add-poll-ui-builder.js.es6#L24-L31](https://github.com/discourse/discourse/blob/master/plugins/poll/assets/javascripts/initializers/add-poll-ui-builder.js.es6#L24-L31)

1. You can specify which of the three groups of buttons you want to your button to belong to. It seems your button is showing up in the middle because the code you used sets the button’s group to ‘insertions’, which is the middle group. So if you want your button to be on the right hand side of the toolbar, you’ll need to set the button’s group to ‘extras’. See the list of group names here:

[https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/components/d-editor.js.es6#L52-L56](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/components/d-editor.js.es6#L52-L56)

---

_[View the full topic](https://meta.discourse.org/t/adding-a-pulldown-to-the-toolbar/85208)._
