matrix-react-sdk
matrix-react-sdk copied to clipboard
SlashCommands#spoiler: add a way to specify warnings
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.