reddit-moderator-toolbox
reddit-moderator-toolbox copied to clipboard
Expand support for making links clickable in ban notes
In new modmail, it would be great if more stuff was "linkified". In particular:
- "http" links - example:
http://redd.it/l9b4wi - /r/subreddit links - examples:
/r/toolbox/comments/l9b4wi/,/r/toolbox/comments/l9b4wi,/r/toolbox/comments/l9b4wi/release_v550_witty_wildebeest/glh1yh5/, and/r/toolbox/wiki/index - Links missing the "https://" part, especially for Reddit links - examples:
redd.it/l9b4wi,example.com,www.example.com,example.com/stuff. - /u/ mentions - example:
u/usernameor/u/username
Thanks!
Looks like this is (mostly) handled by modmail itself now, except for links with neither http(s):// nor www. at the beginning of the link, which I think is about as much as we'd want to implement anyway. Closing.

Reopend the issue as it is about in ban notes in the sidebar ;)
Ban notes in the sidebar work fine for me, unless I'm looking at something different. https://github.com/toolbox-team/reddit-moderator-toolbox/blob/4d8d2a497347d2cd4c56f571175b91e4478dcb86/extension/data/modules/newmodmailpro.js#L75-L91
The word more is what you are missing ;)