Is it possible to add multiple CSS classes to a tag in the markdown rules? (This is via a plugin) It seems that whenever I try this, any class after the first is removed. If this is possible, what is the proper syntax both for the attrs variable on the token, and for the sanitizer to allow this?
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| Whitelisting elements in Discourse Plugin | 5 | 1064 | 2022 年12 月 9 日 | |
| Post HTML Element Class Being Removed | 11 | 2602 | 2022 年8 月 30 日 | |
| CSS classes for tags | 6 | 1817 | 2019 年6 月 6 日 | |
| HTML Whitelisting | 0 | 496 | 2020 年5 月 3 日 | |
| How to add a class attribute to a table created using markdown | 14 | 5619 | 2024 年6 月 8 日 |