I wrote a few marks, maybe because I copied and pasted the span labels in other nodes, I would jump into the marks I wrote when pasting, but I thought that this part would skip the marks, so that the original nodes would not be affected if I did not let it enter. But whether I return false or null or undefined in parseDom, I won’t skip it. I tried to use skip, but I won’t enter it. There should be no such judgment! Is there currently a way to judge without entering toDom?
I don’t really understand what you are asking, but returning false
from getAttrs
will prevent the parse rule from applying (allowing other parse rules with lower precedence to look at a given DOM node).