You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I recently ran into this plugin and started using it.
I'm trying to find a way to detect and linkify custom prefixes ... e.g. UID-123123.
Also, I did look into plugins such as mention and hashtag but it still wasn't completely clear to me as there didn't seem to be a way to add a custom prefix, be it a single or multiple prefix check, in a plugin.
What would be the best way to detect if the string contains the UID- prefix if so, because, either I am missing something in documentation or there's really no way (currently) to do such a thing.
I'd appreciate any suggestion regarding this if so, please and thank you.
The text was updated successfully, but these errors were encountered:
I'm also looking for the exact same thing. An easy to way to customize prefixes or more documentation around writing custom plugins would be really helpful for this use case.
@WIStudent I think the problem is that linkify is not implemented with the case sensitivity, which makes plug-in registration finicky sometimes. Try replacing the registerTokenPlugin call with this:
Hey, I recently ran into this plugin and started using it.
I'm trying to find a way to detect and linkify custom prefixes ... e.g.
UID-123123
.Also, I did look into plugins such as
mention
andhashtag
but it still wasn't completely clear to me as there didn't seem to be a way to add a custom prefix, be it a single or multiple prefix check, in a plugin.What would be the best way to detect if the string contains the
UID-
prefix if so, because, either I am missing something in documentation or there's really no way (currently) to do such a thing.I'd appreciate any suggestion regarding this if so, please and thank you.
The text was updated successfully, but these errors were encountered: