What is the expected behaviour for querySelectorAll
with inline nodes
#5119
Unanswered
jamiedavenport
asked this question in
Questions & Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
does anyone know what the expected behaviour of querySelectorAll is when working with inline nodes?
when i try to call
editor.$nodes('mention')
oreditor.$nodes('text')
i always get an empty arrayi'm wondering if this is expected or a bug?
looking at the code it seems as though the paragraph node positions have empty
.children
because of this early return inpackages/core/src/NodePos.ts
Beta Was this translation helpful? Give feedback.
All reactions