fix: no copy and delete for shadow root
This commit is contained in:
@@ -99,7 +99,7 @@ export default class Elements extends Tool {
|
||||
|
||||
const node = this._curNode
|
||||
|
||||
if (!node) {
|
||||
if (!node || isShadowRoot(node)) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user