Assignment to read-only properties is not allowed in strict mode
joshrobertson92 opened this issue · comments
Hi,
Im getting this error in IE11 "Assignment to read-only properties is not allowed in strict mode", looks like it could be this line..
const textarea = document.createElement("textarea");
Then when you go onto..
textarea.style = cssText;
I think this should be..
textarea.style.cssText = cssText;
Thanks,
Josh