XF 2.2 Is there a way to ban GIFs in some forums?

Solution
You can remove the button from with editor with css:

CSS:
[data-container-key="node-1"],
[data-container-key="node-2"]{
    #xfInsertGif-1 {
        display: none;
    }      
}

Keep adding node entries for all the forums you want to hide it on.
GIPHY support is just images inside IMG tags so there’s no way to restrict that on a per forum basis. And even if there was a way to stop the GIF button from showing in the editor in certain forums obviously users could just share GIFs anyway.
 
And even if there was a way to stop the GIF button from showing in the editor in certain forums
that would be a very good starting point, is it not possible to do this?
I know that users will still be able to post gifs but I would really be interested in disabling the GIF button in the editor of some forums
 
Well, so how can i do this ? Removed GIF button on editor for some forums ? :D
Or maybe it will require custom development from the Froala editor so it's not a XF customization ?
 
You may be able to wrap it in conditions, but you're not really supposed to

 
Back
Top Bottom