# تجاهل مكون Emoji

**URL:** <https://meta.discourse.org/t/omit-emoji-component/119562>\
**Category:** Theme component\
**Tags:** emoji, broken\
**Created:** [5 يونيو 2019، 9:50ص UTC](https://meta.discourse.org/t/omit-emoji-component/119562 "2019-06-05T09:50:46Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)\
**Post date:** [5 يونيو 2019، 9:50ص UTC](https://meta.discourse.org/t/omit-emoji-component/119562/1 "2019-06-05T09:50:46Z")

</div>

This theme component will allow you to specify a set of emoji and/or emoji groups to omit from the emoji picker.

 ![20%20AM](https://global.discourse-cdn.com/meta/original/3X/3/8/3815795299f80dd9f075df2133653d784a16b522.png)

There are several levels of omission you can achieve. These are outlined below along with the related settings:

#### 1. Remove emoji groups from the picker

This configuration is for those that want to reduce the clutter in the emoji picker. There’s a lot to scroll through, so if certain emoji groups don’t make sense for your community, this allows you to remove them. The omitted emoji can still be discovered through the emoji picker search or emoji auto complete features.

- **omitted emoji groups** - Remove the groups you wish to keep, leave the ones you want to omit

#### 2. Prevent emoji from showing up in the emoji picker search or emoji auto-complete feature

Users will never be presented these emoji. They would only ever be posted if the user explicitly added emoji code like `:slight_smile:`

- **omitted emoji** - Add the names of the emoji you wish to remove from all manners of discovery

#### 3. Block emoji from being posted

As a final measure, you can add any emoji you wish to block from being posted to the “Watched Words” setting found at `/admin/logs/watched_words/action/block`. Be sure to use the full emoji code like `:slight_smile:`. Watched words allows you to upload a list, but it needs to be one emoji on each line.

### Installation

[Repository Link](https://github.com/tshenry/discourse-omit-emoji)  
`https://github.com/tshenry/discourse-omit-emoji`

If you are unfamiliar with theme components and how to install them, check out the [theme installation guide](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682). And if you’d like to learn more about Discourse themes, take a look at [this guide](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966).

If you have any ideas for improvement, or issues to report please don’t hesitate to share. Note that there are limitations with theme components, so I can’t promise every proposed improvement will be possible 🙂

---

_[View the full topic](https://meta.discourse.org/t/omit-emoji-component/119562)._
