How tocheck if emojioneArea is loaded?

202 Views Asked by At

How can check if emojioneArea is loaded and converted the textarea into the contenteditable div?

I want to load jQuery autocomplete for the contenteditable div of the emojioneArea but the problem that I getting an error

TypeError: $(...).autocomplete(...).data(...) is undefined

I solve this by adding a setTimeout (1 second) until emojioneArea loaded and then loaded the jQuery autocomplete but this is not a professional solution.

0

There are 0 best solutions below