Skip to content
This repository was archived by the owner on May 8, 2024. It is now read-only.

Multiple mention decorators #6

Open
Revln9 opened this issue Apr 12, 2017 · 2 comments
Open

Multiple mention decorators #6

Revln9 opened this issue Apr 12, 2017 · 2 comments

Comments

@Revln9
Copy link

Revln9 commented Apr 12, 2017

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.

@jvaill
Copy link
Contributor

jvaill commented Apr 12, 2017

Thanks, glad you like it. That sounds neat, definitely interested in that - feel free to open a PR once you're done!

@Revln9
Copy link
Author

Revln9 commented Apr 13, 2017

Working example

http://jsfiddle.net/kcaewmw0/4/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants