StevenDevooght / tinyMCE-mention

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

Does not seem to work when multiple editors on same page #75

Open schaffer1969 opened 5 years ago

schaffer1969 commented 5 years ago

Hi,

I'm having issues getting two instances working on the same page. The first instance displays the dropdown but the second does not.

I saw the previous issue from 2015 and can't get that working even if I update the JS and css file locations. https://github.com/StevenDevooght/tinyMCE-mention/issues/26

I've included my code below. I'd appreciate your thoughts on this.

`

` Thanks

Mark

StevenDevooght commented 5 years ago

Hi,

Can you create a fiddle reproducing the problem?

StevenDevooght commented 5 years ago

The updated fiddle seems to work.

schaffer1969 commented 5 years ago

Thanks Steven. There seems to be a compatibility issue with TinyMCE 5.0+. Works with 4.x but not 5. See example fiddle