Merge pull request #10888 from MrPetovan/task/10887-bbcode-style-block

Add conditional block output for BBCode tag [style]
This commit is contained in:
Michael Vogel 2021-10-18 20:19:53 +02:00 committed by GitHub
commit df99ca8d82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 6 deletions

View file

@ -644,10 +644,16 @@ On Mastodon this field is used for the content warning.
</td>
<td>;-) :-O</td>
</tr>
<tr>
<td>Custom block styles<br>
<br>
[style=text-shadow: 0 0 4px #CC0000;]You can change all the CSS properties of this block.[/style]</td>
<td><div style="text-shadow: 0 0 4px #cc0000;;">You can change all the CSS properties of this block.</div></td>
</tr>
<tr>
<td>Custom inline styles<br>
<br>
[style=text-shadow: 0 0 4px #CC0000;]You can change all the CSS properties of this block.[/style]</td>
<td><span style="text-shadow: 0 0 4px #cc0000;;">You can change all the CSS properties of this block.</span></td>
<td>You can change all <span style="text-shadow: 0 0 4px #cc0000;;">the CSS properties of this inline text.</span></td>
</tr>
</table>