StevenDevooght / tinyMCE-mention

Mention/Autocomplete plugin for tinyMCE WYSIWYG editor.
http://stevendevooght.github.io/tinyMCE-mention/
220 stars 95 forks source link

Mouse selection on result item does not paste it to tinymce #14

Closed Flatlinezor closed 9 years ago

Flatlinezor commented 9 years ago

Hello!

This is quite strange, if I use the keyboard and enter to select a result entry after the results, it pastes it in the editor properly, but if I use the mouse to select it, no, it doesn't get added in. What is funny is that here in the issue description field, mouse click after @ or # works properly. What am I missing?

http://cognistreamer.github.io/tinyMCE-mention/ here, you can test it, it misbehaves exactly like on your own link.

Any ideas? :) I believe I am the one who screws up, my data is coming from an ajax request if that is of any importance, although I doubt it.

(Chrome latest)

StevenDevooght commented 9 years ago

There is indeed a bug when clicking a dropdown entry. I'll see if I can come up with a fix...

Flatlinezor commented 9 years ago

Awesome pawsome :) :+1:

Flatlinezor commented 9 years ago

Wooot! :dancer:

hnaylor4 commented 9 years ago

Hi Steven, how do I get this fix?

Flatlinezor commented 9 years ago

You download the updated version.... -_-

hnaylor4 commented 9 years ago

Thanks!