Thanks for the tip I changed this with modifyClass but I think it would be a reasonable change to make this dialog htmlSafe in core since the category banner also handle HTML.
The setting below I would like to request the option to be able to use a link. In my case a Category can be viewed by everyone; however you need to belong to a Group in order to Create and reply to topics.
"Banner text when a user cannot create a topic in this category: "
So I had tried using Text like:
To participate you need to “Apply link to group”.
Unfortunately this setting only supports plain text no links. Could the team consider changing this?
Sometimes it can be difficult to realize where best to post things. Discourse is massive and that is not necessarily a bad thing; however can make it at times intimidating for us whom are still relatively new.
However that is where your fantastic team & community more often than now is instrumental in assisting all!
cool so all I have to do is use html instead of markdown.
So the banner will work if someone tries to reply &/or create new topic within category? Where if I understand correctly your request is relate say to new topic button theme-component?
With your js would you just create a new theme-component & upload the *.js file? Is there any thing else needed in the css etc parts? or will it just work?
And if ibwant dialog prior to link button what eould I be required to do code wise. my apologises still learning
Just create a new component in admin and paste the code above in the Common > Header section. It will allow to handle HTML in the modal when you click the New Topic button.
Demo
Without code
As you can see the banner is support HTML but when I click the New Topic button the modal (dialog) is not support it.
Thanks for explaining where to add the code for the hmtl fix.
Actually your 1st video answers my question perfectly and gives me clarity. The pre dialog text prior to the link button is the same as markdown procedure. ( The first video shows it when it fails without the code in place) I missed it as well in your code example