ritz078 / embed-js

🌻 A lightweight plugin to embed emojis, media, maps, tweets, code and more. ✨
https://codesandbox.io/s/Wp5OlNMn
MIT License
1.27k stars 88 forks source link

Github / Twitter redrawings #198

Closed vladimir-barsuchenko closed 6 years ago

vladimir-barsuchenko commented 7 years ago

There are some cases when user might want to do some html postprocessing.

For example, regarding to the issue #197 I've written my own emoji parser. But it comes that Github and Twitter don't render back their content after changing html.

http://codepen.io/anon/pen/aBgjxj

Other plugins work fine. So I can get innerHTML, do some stuff with it and paste it back to the element.

Codepen shows that after doing elem.innerHTML += "qweqe" SoundCloud renders back instead of Github

Thanks!

ritz078 commented 7 years ago

So do you want to say that you want to define a custom template for just emojis ?

ritz078 commented 6 years ago

closing due to inactivity.