Open kekland opened 1 year ago
In general, we probably should make it possible to use different triggers for stable tags.
With regard to your specific use-case, are your hash tags truly stable tags? We also have a pattern tag plugin, which was designed around typical hash tag usage. Let me know if you're able to use a single stable tag plugin with a single pattern tag plugin to meet your needs.
@kekland did you get a chance to try my comment above?
Hi!
I wanted to try to use the new
StableTagPlugin
to replace my somewhat messy plugin for handling mentions in the editor. However, it seems like it doesn't support using two different tag/mention types. In our app, we allow the users to mention other users (via the @ symbol), and hashtags (via the # symbol). Trying to use two instances ofStableTagPlugin
breaks everything.I tried to retrofit a solution that would allow two instances of
StableTagPlugin
to co-exist with eachother, but I couldn't really get it to work.This will probably require a large rewrite of some of the functions that act upon tags, so I'm not sure about this idea's feasibility. But currently we're still sticking to my messy plugin to handle stable tags :P