# Dropcaps in Discourse - cannot override span tag

**URL:** <https://meta.discourse.org/t/dropcaps-in-discourse-cannot-override-span-tag/66477>\
**Category:** UX\
**Created:** [20 يوليو 2017، 12:29ص UTC](https://meta.discourse.org/t/dropcaps-in-discourse-cannot-override-span-tag/66477 "2017-07-20T00:29:23Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![norandom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/norandom/32/166825_2.png) [@norandom](https://meta.discourse.org/u/norandom)\
**Post date:** [20 يوليو 2017، 8:54ص UTC](https://meta.discourse.org/t/dropcaps-in-discourse-cannot-override-span-tag/66477/5 "2017-07-20T08:54:15Z")

</div>

That helps a lot, thanks.

I just forked your repo and edited the JS:

[https://github.com/norandom/discourse-image-tag-whitelist/blob/master/assets/javascripts/image-tag-whitelist.js](https://github.com/norandom/discourse-image-tag-whitelist/blob/master/assets/javascripts/image-tag-whitelist.js)

Doesn’t work yet.

```
plugin-third-party-9f5ae545c7453c0bb91cd02e51f991ddd61a060df40c58f468de9f1f46d2f23d.js:1 Uncaught TypeError: Cannot read property 'whiteListTag' of undefined
    at plugin-third-party-9f5ae545c7453c0bb91cd02e51f991ddd61a060df40c58f468de9f1f46d2f23d.js:1
    at plugin-third-party-9f5ae545c7453c0bb91cd02e51f991ddd61a060df40c58f468de9f1f46d2f23d.js:1

```

Not sure why. I rarely code JS. Tried an import (latest commit), but I highly doubt that I need that tbh..

---

_[View the full topic](https://meta.discourse.org/t/dropcaps-in-discourse-cannot-override-span-tag/66477)._
