• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 Disable spoiler


Well-known member
How I can disable the spoiler or alternatively use a conditional statement so that only certain usergroups can use it.

Thanks, Luis.


Formerly Dinh Thanh
You also use temporary solution:

Add this line to your extras.css:
.redactor_dropdown a.spoiler {display:none}

And go to Censoring: replace spoiler with quote.


Well-known member
You can remove it from the editor toolbar using this hack:


line #351

							title: this.getText('spoiler'),
							callback: $.context(this, 'getSpoilerModal'),
							className: 'icon spoiler'
You will want to enable debug mode and select "Use uncompressed files from js/xenforo/full/" in the Debug Options page.