getsentry / rrweb

record and replay the web
https://www.rrweb.io/
Other
9 stars 5 forks source link

`maskAllText` should mask button `value` #68

Closed mydea closed 1 year ago

mydea commented 1 year ago

E.g. the following HTML:

<input type="submit" name="tsubmit" id="submit-save_button" value="Continue" class="replaceable">

renders like this:

image

We should mask the value of such elements when maskAllText === true