We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! Wanted to cross-reference a bug I'm investigating in Tiptap: ueberdosis/tiptap#4089
Currently when parsing the following HTML:
<div data-youtube-video> <iframe src="https://www.youtube.com/watch?v=cqHqLQgVCgY"></iframe> </div>
It results in:
Unknown CSS selector type descendant div[data-youtube-video] iframe [ { type: 'tag', name: 'div', namespace: null }, { type: 'attribute', name: 'data-youtube-video', action: 'exists', value: '', namespace: null, ignoreCase: null }, { type: 'descendant' }, { type: 'tag', name: 'iframe', namespace: null } ]
Looks like descendant support is in the code but commented out, either:
zeed-dom/src/vcss.ts
Line 103 in 6a2d669
Line 106 in 6a2d669
I'll keep digging and hopefully open a PR if I can manage to fix it.
The text was updated successfully, but these errors were encountered:
It's true, descendants are currently not supported. It would indeed be nice to have such a feature.
It might require some recursive calls. The code is already prepared quite well for such an extension.
If you could contribute a PR, I would be more than happy to merge it. Thanks.
Sorry, something went wrong.
holtwick
No branches or pull requests
Hi! Wanted to cross-reference a bug I'm investigating in Tiptap: ueberdosis/tiptap#4089
Currently when parsing the following HTML:
It results in:
Looks like descendant support is in the code but commented out, either:
zeed-dom/src/vcss.ts
Line 103 in 6a2d669
zeed-dom/src/vcss.ts
Line 106 in 6a2d669
I'll keep digging and hopefully open a PR if I can manage to fix it.
The text was updated successfully, but these errors were encountered: