fix #452 check isBlocked on add mutation's target

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent efa806a81b
commit 175c98d1ae

View File

@@ -436,6 +436,9 @@ export default class MutationBuffer {
if (isBlocked(n, this.blockClass)) {
return;
}
if (target && isBlocked(target, this.blockClass)) {
return;
}
if (isINode(n)) {
if (isIgnored(n)) {
return;