Khushi L. In your mixpanel.init call, add the below line. It'll be all sorted.
record_mask_text_selector: '',
So, your init call would look like
mixpanel.init('project_token', {
autocapture: {
pageview: "full-url",
click: true,
input: true,
scroll: true,
submit: true,
capture_text_content: true,
},
'cross_subdomain_cookie': true,
record_sessions_percent: 100,
record_mask_text_selector: '',
record_heatmap_data: true,
});