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

support multiple top-level elements #9

Open
o0101 opened this issue Jun 26, 2020 · 0 comments
Open

support multiple top-level elements #9

o0101 opened this issue Jun 26, 2020 · 0 comments

Comments

@o0101
Copy link
Owner

o0101 commented Jun 26, 2020

https://github.com/dosyago/bepis/blob/21058c2932fc7ed0450f47f33662d81db5707b8f/index.js#L182

voice typing

tree to Dom supports single top-level element and even though it doesn't discard any top level siblings it incorporates them as descendants of the first top-level element

in order to better create a more diverse and versatile set of dome from this we need to support multiple top-level elements one way to do that would be to use a document fragment at the top level another way would be to use some sort of them special top-level array structure to hold the multiple top-level roots

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

1 participant