Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: element.trumbowyg is not a function #4

Open
miestr opened this issue Feb 26, 2019 · 1 comment
Open

TypeError: element.trumbowyg is not a function #4

miestr opened this issue Feb 26, 2019 · 1 comment

Comments

@miestr
Copy link

miestr commented Feb 26, 2019

I try to integrate the lib in angularJS, The line 32 of the angular-trumbowyg.js returs an empty object:
return angular.element($element.find('> div'));
The $element when debugging looks like the correct trumbowyg object. it also has a property outerHtml, which has as parent element, and then 1 <style> and 1

tag as children. So I guess this child
is returned, but it has no trumbowyg function in its scope.

Included the script and the app dependency as described. What do i do wrong?

@john007abhilash
Copy link

Even i got the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants