I have tried to get up to speed with the [wrap]-issue in the new editor in 3.5.0. I understand the workaround to use markup-mode as stated e.g. in
- Generic [wrap]/Markdown-it Custom Token Types causing errors in RTE
- Introducing our new composer, making writing on Discourse easier than ever - #16 by Ethsim2
But I still don’t understand how I should replace it / what to do instead?
E.g. we use it extensively for thing such as:
[wrap=lead]
Lead paragraph in article with different styling.
[/wrap]
or
[wrap=alert]
Alert in a form of banner.
[/wrap]
As said, it works in markdown-mode. But in the new rich editor mode it does not (gives the Token-error described in other posts) and nothing is shown at all.
Is there an other way to solve our use case now in 3.5.0?