MediaWiki:Gadget-spoilersineditor

Highlight spoiler sections in editor – creates an outline around elements that have  class in edit preview.