arusahni / ngtweet

Easily embed Twitter widgets into your Angular application! No more having to kludge together a Twitter script loader, or manage embed state on route/visibility change.
http://arusahni.github.io/ngtweet/
MIT License
34 stars 22 forks source link

textAngular and ngTweet #25

Closed mishazawa closed 8 years ago

mishazawa commented 8 years ago

Hello. I try to add <twitter-widget></twitter-widget> tag through WYSIWYG editor on page, but in html it not renders to tweet. I add twitter-widget descriptor to sanitizers options, because without that, sanitizer delete this tag and leave only <p></p>.

sanitizer

On a picture: first <p> and <blockquote> rendered if I add <twitter-widget><blockquo.... . Second <p> not renders to tweet if I use directive with id.

What is wrong? Thanks for reply.

arusahni commented 8 years ago

This appears to be a textAngular issue: fraywing/textAngular#1204

mishazawa commented 8 years ago

Thank @arusahni for link. I try to add pure embed tweet and Angular stripes <script> tags and twitter's dev widget not compile it to pretty tweet. I read https://github.com/fraywing/textAngular/issues/1204 thread, and use $compile to execute that widget manually.

arusahni commented 8 years ago

Glad it worked! Is your issue resolved? If so, I'll close this.

mishazawa commented 8 years ago

Yes. Thank you!