Fandom Developers Wiki
Advertisement

NukeInlineStyles adds a button to the toolbar that removes all inline styles (excluding display: none by default) when clicked.

Installation

Configuration

Variables must be added before the script is imported to be properly applied.

Variable Description Accepted values Default value
nukeInlineStylesRemoveDisplayNone Enables removal of the display: none CSS property. Setting this to true will break any collapsibles set to be hidden by default. true, false false
nukeInlineStylesSimpleCSS Applies simple CSS to elements such as tables to help differentiate separate table cells. true, false false

The default configuration is:

window.nukeInlineStylesRemoveDisplayNone = false;
window.nukeInlineStylesSimpleCSS = false;

To enable the removal of display: none:

window.nukeInlineStylesRemoveDisplayNone = true;

To add the CSS:

window.nukeInlineStylesSimpleCSS = true;

Changelog

1.0.0
Initial release.
1.1.0
Cleanup and add support for UCP wikis
Text above can be found here (edit)
Advertisement