mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
that fix should have been in the emoji plugin
This commit is contained in:
@ -5,3 +5,10 @@
|
||||
|
||||
register_asset('javascripts/emoji.js.erb', :server_side)
|
||||
register_asset('stylesheets/emoji.css')
|
||||
|
||||
after_initialize do
|
||||
|
||||
# whitelist emojis so that new user can post emojis
|
||||
Post::white_listed_image_classes << "emoji"
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user