Skip to main content
Help us improve Python packaging – donate today!

Add emoji to StreamField.

Project Description

Wagtail Emoji :tada:
:clap: Add [NotoEmoji]( icons to StreamField. :bomb: :gun: :smoking: :knife:




pip install wagtailemoji

Then add `wagtailemoji` to your installed apps.

### StreamField
Add emoji to StreamField [the regular way](, just set `icon="emoji-something"`. Reference [the full list](

### wagtailmodeladmin
[wagtailmodeladmin]( is supported if you're using Wagtail 1.4 or above. Similar to StreamField, just set `icon="emoji-something"` on your menu item.

### Hallo plugins
You can use emoji on custom Hallo buttons by setting the `icon` option to `icon icon-emoji-something`.

label: "Skull",
icon: 'icon icon-emoji-skull',

### Other parts of the admin
You can include icons anywhere in the admin with:

<i class="icon icon-emoji-something"></i>

In Wagtail 1.3.x and below you can only use icons on the page editor screen.

### On the front-end
You can also import this on the front-end, if you want.

{% load staticfiles %}

<link rel="stylesheet" href="{% static 'wagtailemoji/css/wagtailemoji.css' %}">

Then include icons anywhere on the front-end with:

<i class="icon icon-emoji-something"></i>

### Using wagtailemoji as an optional dependency
If you want to distribute a Wagtail plugin with emoji, you can use this package as an optional dependency by checking if it's installed in Django, and falling back otherwise.

from django.conf import settings
from wagtail.wagtailcore.blocks import StructBlock

class BlockquoteBlock(StructBlock):
quote = TextBlock()
author = TextBlock()

class Meta:
if 'wagtailemoji' in settings.INSTALLED_APPS:
icon = 'emoji-skull'

(in this case, the fallback is to do nothing)

Release history Release notifications

This version
History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
wagtailemoji-1.0.2-py2.py3-none-any.whl (306.5 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Feb 4, 2018
wagtailemoji-1.0.2-py3.5.egg (305.5 kB) Copy SHA256 hash SHA256 Egg 3.5 Feb 4, 2018
wagtailemoji-1.0.2.tar.gz (305.1 kB) Copy SHA256 hash SHA256 Source None Feb 4, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page