Gif icon not displaying and showing error

Just letting everyone know that if you revert this whole commit, the icon gets back in place in the editor.

I now wonder why no more people report this bug and why isn’t it being reproduced here at meta?

We’re going to update to v2.8.3 +2 this week and I will double check if it’s compatible with current state of GitHub - discourse/discourse-gifs · GitHub repository