draft-js-typeahead
draft-js-typeahead copied to clipboard
Multiple mention decorators
hi , Great plugin you have there , simple lightweight , i've used before the mention plugin from draft-js-plugins , and this feels like a 100 times lighter , fast and simple .
while i was changing my code to use your plugin , i've noticed that a couple of things are missing when you compare it to the mention plugin , some features needs to be added in order to make it more flexible , mention key should be configurable via props . Also it lacks the ability to load multiple decorators , example : a list for '@' , another one for '#'...
I'm working on it right now , if you are interested in these features , i'll make a PR for it once it is done. feeback is wellcome.
Thanks, glad you like it. That sounds neat, definitely interested in that - feel free to open a PR once you're done!
Working example
http://jsfiddle.net/kcaewmw0/4/