fix #452 check isBlocked on add mutation's target
This commit is contained in:
@@ -436,6 +436,9 @@ export default class MutationBuffer {
|
|||||||
if (isBlocked(n, this.blockClass)) {
|
if (isBlocked(n, this.blockClass)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (target && isBlocked(target, this.blockClass)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (isINode(n)) {
|
if (isINode(n)) {
|
||||||
if (isIgnored(n)) {
|
if (isIgnored(n)) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user