Ju99ernaut / grapesjs-tailwind

Tailwind integration for grapesjs
MIT License
116 stars 61 forks source link

Remove img.object-cover class #7

Open chrissam opened 1 year ago

chrissam commented 1 year ago

Hi there, I was using this plugin as part of grapesjs setup. I could notice that the class img.object-cover which basically adds value to grayscale is included by default for all the images. Can you remove this as part of the default setup? I find it difficult to override as it works for some blocks and doesnt work for others.

Ju99ernaut commented 1 year ago

In the plugin configuration set cover: '', I'll consider removing it by default.

chrissam commented 1 year ago

Setting as below doesn't seem to work,

pluginOptions: { 'grapesjs-tailwind': { cover: '', } },