nfrasser/linkifyjs

Question: use registerCustomProtocol to create a separate plugin

Opened this issue · 0 comments

Hello! registerCustomProtocol has the exact functionality I need, but I don't want it to become a url type. I want to use a custom type so I can linkify.find them separately as well as render differently.

I feel like it should be possible to do this with minimal code, but I haven't figured out exactly how. registerCustomProtocol wants to change linkify globally, so I'm not sure I can call it from a custom plugin.

Any tips on what functions I can use to replicate the functionality in a custom plugin?