How can I disable the Spoiler addon added to Vanilla 2.3 by default?
If you are referring to the Spoiler option in the advanced editor, you can comment out the relevant lines in class.editor.plugin in the editor folder in plugins.
Bear in mind, this change will be overwritten any time you update Vanilla.
No, commenting out won't remove any files. If you don't understand what commenting out will do, then I would suggest you don't do it.
Which files do you want to get rid of, and why?
If we are talking about the same thing, the Spoiler option is one part of the advanced editor. It doesn't have its own css or js files, afaIk.
Rather than dish out information bit by bit, adding questions as you go, it would be better if you started with the rationale for why you want to do things.
Explain why you want to get rid of the relevant files, and why you want to get rid of the Spoiler option, and it will be easier to give you the answer you are looking for.
The spoiler js and css files are located separate from Advanced Editor, am I right?
I guess it is better to sacrifice Spoiler addon in other to improve the speed of vanilla forum.
They are a total of 4kb.
If your site is slow, there are a lot of things you should check before you get down to reducing js and css files loading.
I know you are always concerned about bandwidth, Prosper. Please read about caching. If that is enabled all your users have to download those files only once. If they are visiting your forum more than once, those files doesn't need to be downloaded again.
@R_J and @whu606 - thank you.