Is there a way to only allow selection for the text nodes in my nodeArray?

前端 未结 0 1754
孤街浪徒
孤街浪徒 2021-02-11 08:45

I am trying to create an annotation container that wraps around a node, which uses createTreeWalker to find all the text nodes. I then push those into an array and

相关标签:
回答
  • 消灭零回复
提交回复
热议问题