Well... you can kind-of do it but without the reveal on clicking. I tried combining the redacted bbcode with a tooltip which does work. ████████████████████████ With access to the section bbcode and CSS editing you could also make a code that looks redacted but reveals the text on mouseover as previously stated. I know both methods are not what you are really asking, but they might be a useful workaround.
Sounds useful - however, I'm worried that the first option would be hard to distinguish from the existing "redacted" BBCode. I can already see myself clicking on anything that looks blacked out on the off chance that it might be an inline spoiler, only to realize that it's just plain redacted. And with custom CSS, this could get even more confusing. The second option, replacing it with a text that hints at the spoiler, appears more reader-friendly.
There's a way to do this with CSS, but it requires editing the "small" text tag, which means you can't ever have small text. It is also inaccessible to freemen.
While a tag would be great, you can create an inline spoiler with CSS (if you have access to custom CSS) already:/* Creates an in-line spoiler. */
/* Wrap content in . */
/* Credits go to Rinaldo Bijker. */
.user-css-presentation .inline-spoiler { background-color: black; color: transparent; margin: 0; cursor: default; } .user-css-presentation .inline-spoiler:hover { background-color: transparent; color: #050120; }