Hashtags
010101 The arguments to oncreate are different than those to config. Replace the second argument with vnode
. Then, where you need to access the DOM element, use vnode.dom
Thanks to @clarkwinkelmann and @askvortsov this little extension will become compatible with beta 14 soon (as soon as I have a break where I can sit down at my computer).
Version 3.7 released
- Updated version constraints in composer.json
- Updated Mithril Lifecyle hook which means - now compatible with beta 14
Beta 15 ready.
- Edited
- Beta 16 ready
- Now updates both on full page refresh and after editing a post
Update with:
composer require zerosonesfun/hashtags
The time has come to mark this extension as incompatible. Please do so moderators.
It’s a little sad since this extension was downloaded pushing 2,500 times. People like hashtags. Hashtagging should be a core extension like Mentions. They go together like peas and carrots.
Or, I mentioned in the rich text editor's thread that prose mirror, which it’s built upon, may have a hashtag plugin. Maybe hashtags can at least be added to that extension. And, although it would be amazing, any hashtag extension doesn’t have to track hashtags. Just turn them into a link like this extension does. It helps tie threads together in an additional way.
Now, anyone who does not use the rich text editor, you could continue using this extension despite the fact that it will be marked incompatible. The main reason I’m having this marked incompatible is due to a major conflict with the rich text extension. Just know, this extension could conflict with certain other extensions too. Use at your own risk.
- Edited
@jordanjay29 Please tag this incompatible. Really, it’s just incompatible with a few extensions. Depending on what someone is using Flarum for this still works. But, I don’t want people to use it and wonder why certain things stop working. Thank you!
- Edited
MohdKhan Anything is possible. But, not easily with the way this extension is coded.
This extension works great if you want a minimal Twitter experience. If you only use the default editor, or even better, if you even disable BBCode AND Markdown, this extension shines. I did that for a while at a Flarum installation I had. No BBCode. No markdown. Just minimal posting like Twitter. This extension thrives in that environment. Just FYI for anyone who stumbles upon this and actually wants that type of environment. You can, right now, have a minimal Twitter posting experience with Flarum and only core extensions, and this extension.
But, most people want more. And, now that the amazing rich text editor is here and will hopefully continue to improve and stick around, this means more and more this extension will cause conflicts. It’s not worth keeping it maintained.
Last note - it’s still a cool minimal JavaScript plugin for any website. If you have a simple blog, or static site, check out the code on codepen.io.
this tag don,t work in my site: have a look https://urgedu.freeflarum.com/d/62-chemistry-part-i-ncert/4
educatedheker this is not compatible. There’s a new hashtag extension. Please search the extensions for it.