I have an issue when modifying the GALLERY BBCode in order to hide it from the Rich Text Editor. Only moderators and admins have all XenGallery permissions set to YES. Other groups' permissions are not set. I edit the GALLERY BBcode, by removing the path to the BBCode icon URL ("styles/default/xengallery/xengallery_sprite.png") then un-checking the "Sprite" option. When I go back to my forums, basic users see no issue, but my moderators and I can't see the RTE. Quick edit does not show. "More options" leaves the RTE place blank (see screenshots below). You can see below the empty space left by the RTE. There is a JS error in the console: Same error on "More options" page, as explained before: I'm currently trying to reproduce the error on a local install.