Closed antonioaltamura closed 8 years ago
I think the plugin should be compatible with angular.js. Can you post a fiddle or codepen with the issue?
please ignore that a.indexOf is not a function
(not sure where it comes from)
http://jsfiddle.net/alfredopacino/uLx361tp/1/
You can type "@" and you will see Cannot read property 'top' of undefined
Since the plugin internally uses a span
element the valid_elements
setting has to allow it. Updating the setting to a[href|target=_blank],strong/b,div[align],br,li,ol,ul,i,span[id=autocomplete]
fixes the issue.
I also updated the fiddle.
thanks
Is this plugin compatible with angular.js? as in docs, this is my setting
I get an error
plugin.min.js:1 Uncaught TypeError: Cannot read property 'top' of undefined
from mention script (plugin.js)