# Introducing a new "Post Type" Composer actions dropdown

**URL:** https://meta.discourse.org/t/introducing-a-new-post-type-composer-actions-dropdown/403635
**Category:** Announcements
**Created:** [June 1, 2026, 8:07pm UTC](https://meta.discourse.org/t/introducing-a-new-post-type-composer-actions-dropdown/403635 "2026-06-01T20:07:07Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [June 23, 2026, 7:49pm UTC](https://meta.discourse.org/t/introducing-a-new-post-type-composer-actions-dropdown/403635/8 "2026-06-23T19:49:34Z")

</div>

The good news is that in the meantime we have to hooks to allow this in a theme component… this works in an initializer to only show the toggle in an ideas category:

```js
import { withPluginApi } from "discourse/lib/plugin-api";

export default {
    name: "hide-post-voting-toggle",
    after: "extend-composer-actions", 

    initialize() {
      withPluginApi((api) => {
        api.registerValueTransformer(
          "composer-actions-content",
          ({ value, context }) => {
            const category = context.composerModel?.category;
    
            if (!category?.isType("ideas")) {
              return value.filter((item) => item.id !== "togglePostVoting");
            }
    
            return value;
          }
        );
      });
    }
};

```

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/b/d/ebde0257b1ad175000f9f08705a700e86f0cf622.png)

---

_[View the full topic](https://meta.discourse.org/t/introducing-a-new-post-type-composer-actions-dropdown/403635)._
