tabalinas / jsgrid

Lightweight Grid jQuery Plugin
http://js-grid.com
MIT License
1.53k stars 353 forks source link

Use CSSOM to set styles to avoid Content Security Policy warnings #1411

Open claweyenuk opened 2 years ago

claweyenuk commented 2 years ago

A fix to help #1249

I cannot say if this is a complete solution, but it avoids the issues we see for our use cases. If the use of css() triggers errors, that will also need to be addressed. If not, I believe this is all that is needed.