rrweb
rrweb copied to clipboard
[Feature Request]: Addition of flag maskAllText
Preflight Checklist
- [X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
What package is this feature request for?
rrweb
Problem Description
If I want to mask all text on the DOM it takes me to implement a function and do additional efforts. The addition of maskAllText
flag with make it as is as it does for maskAllInputs
Proposed Solution
Solution is I should be able to pass a option maskAllText
while initializing rrweb, and it shoud replace all text from DOM with *
Alternatives Considered
The alternative feature is implementing maskInputFn
Additional Information
This feature would be really helpful as to mask the DOM data is sometimes need for financial or security businesses.