StevenDevooght / tinyMCE-mention

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

Problem using function example #40

Closed ctietgen closed 8 years ago

ctietgen commented 8 years ago

I tried out your extension and it works well if I hard-code the source like in your example. However, if I try to use your function example (by copy/pasting it), the list never populates and closed almost as soon as it opens.

When I debugged it I got the error shown in the screenshot.

mentions-error

Also, I am not sure how my JSON file should be formatted. It looks like the following:

mentions-json

Any thoughts on what I'm doing wrong and how to fix it?

ctietgen commented 8 years ago

I got it figured out. :)

StevenDevooght commented 8 years ago

+1