kazzkiq / CodeFlask

A micro code-editor for awesome web pages.
https://kazzkiq.github.io/CodeFlask/
MIT License
1.07k stars 120 forks source link

Update docs with shadow dom guide and element passing #101

Closed aziz512 closed 4 years ago

aziz512 commented 5 years ago

Hey maintainers! I recently found your library and I've liked it a lot. When first reading the docs it was very unclear as to whether I can use it with Shadow DOM without doing too much hackery. Upon inspection of the source I noticed that it's written very elegantly and does indeed permit my use case.

That being said, this PR adds docs as to how to use it with Shadow DOM or by passing a DOM element.

kazzkiq commented 4 years ago

Thanks for the addition to documentation!