• 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

Luis

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

Thanks, Luis.
 

dihuta

Formerly Dinh Thanh
#3
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.
 

AndyB

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

js/xenforo/full/bb_code_edit.js

line #351

Code:
						/*spoiler:
						{
							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.