matrix-react-sdk icon indicating copy to clipboard operation
matrix-react-sdk copied to clipboard

SlashCommands#spoiler: add a way to specify warnings

Open ckiee opened this issue 3 years ago • 0 comments

If !a content warning! is present in the /spoiler command it will parse it and set the value of the data-mx-spoiler attribute.


element-web notes: Allow specifying !warnings! in spoilers. Type: enhancement cc @robintown for original implementation.


Here's what your changelog entry will look like:

✨ Features

  • SlashCommands#spoiler: add a way to specify warnings (#8898). Contributed by @ckiee.

ckiee avatar Jun 25 '22 23:06 ckiee