Allow setting spoiler styles via image URL

This commit is contained in:
daudix
2024-09-11 15:52:22 +03:00
parent 1f613d70ab
commit 0eecabb271
2 changed files with 9 additions and 5 deletions

View File

@ -613,6 +613,8 @@ When set on an image:
<img class="spoiler" src="https://i1.theportalwiki.net/img/2/23/Ashpd_blueprint.jpg" />
URL anchor `#spoiler` can be used for this as well.
With `solid` class:
```html
@ -621,6 +623,8 @@ With `solid` class:
<img class="spoiler solid" src="https://i1.theportalwiki.net/img/2/23/Ashpd_blueprint.jpg" />
URL anchor `#solid` can be used for this as well.
### Buttons Dialog
```html.j2