JSFiddle - React, Tailwind, and code Playground
JavaScript
console.log('<p>You are trying to edit a protected cell or range. Please contact the spreadsheet owner to remove protection if you need to edit it.</p>'.replace(/<[^>]*>?/gm, ''));
console.log('<p>You are trying to edit a protected cell or range. Please contact the spreadsheet owner to remove protection if you need to edit it.</p>'.replace(/<[^>]*>?/gm, ''));