We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69c98b4 commit f83652aCopy full SHA for f83652a
packages/rrweb-snapshot/src/snapshot.ts
@@ -272,6 +272,7 @@ export function needMaskingText(
272
let el: Element;
273
if (isElement(node)) {
274
el = node;
275
+ if (maskTextSelector === '*') return true;
276
if (!dom.childNodes(el).length) {
277
// optimisation: we can avoid any of the below checks on leaf elements
278
// as masking is applied to child text nodes only
0 commit comments