# Remove Parent Category from Inline Category Mentions

**URL:** <https://meta.discourse.org/t/remove-parent-category-from-inline-category-mentions/413795>\
**Category:** Theme component\
**Tags:** mentions\
**Created:** [October 2, 2026, 1:57pm UTC](https://meta.discourse.org/t/remove-parent-category-from-inline-category-mentions/413795 "2026-10-02T13:57:46Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![putty](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/putty/32/370902_2.png) [@putty](https://meta.discourse.org/u/putty)\
**Post date:** [October 2, 2026, 4:29pm UTC](https://meta.discourse.org/t/remove-parent-category-from-inline-category-mentions/413795/4 "2026-10-02T16:29:58Z")

</div>

Thanks again for the heads-up on the observer. I was unaware it’s not recommended.

I removed it everywhere except the composer (the live preview and the # dropdown), since no hook is available for those. And instead of watching the whole page, each one now just watches its own little area.

If a Discourse update ever changes things and it stops working, the composer would just show the full “Parent \> Child” name like it normally does. 🙂

---

_[View the full topic](https://meta.discourse.org/t/remove-parent-category-from-inline-category-mentions/413795)._
